1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.69.
4#
5#
6# Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
7#
8#
9# This configure script is free software; the Free Software Foundation
10# gives unlimited permission to copy, distribute and modify it.
11## -------------------- ##
12## M4sh Initialization. ##
13## -------------------- ##
14
15# Be more Bourne compatible
16DUALCASE=1; export DUALCASE # for MKS sh
17if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18  emulate sh
19  NULLCMD=:
20  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21  # is contrary to our usage.  Disable this feature.
22  alias -g '${1+"$@"}'='"$@"'
23  setopt NO_GLOB_SUBST
24else
25  case `(set -o) 2>/dev/null` in #(
26  *posix*) :
27    set -o posix ;; #(
28  *) :
29     ;;
30esac
31fi
32
33
34as_nl='
35'
36export as_nl
37# Printing a long string crashes Solaris 7 /usr/bin/printf.
38as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41# Prefer a ksh shell builtin over an external printf program on Solaris,
42# but without wasting forks for bash or zsh.
43if test -z "$BASH_VERSION$ZSH_VERSION" \
44    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45  as_echo='print -r --'
46  as_echo_n='print -rn --'
47elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48  as_echo='printf %s\n'
49  as_echo_n='printf %s'
50else
51  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53    as_echo_n='/usr/ucb/echo -n'
54  else
55    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56    as_echo_n_body='eval
57      arg=$1;
58      case $arg in #(
59      *"$as_nl"*)
60	expr "X$arg" : "X\\(.*\\)$as_nl";
61	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62      esac;
63      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
64    '
65    export as_echo_n_body
66    as_echo_n='sh -c $as_echo_n_body as_echo'
67  fi
68  export as_echo_body
69  as_echo='sh -c $as_echo_body as_echo'
70fi
71
72# The user is always right.
73if test "${PATH_SEPARATOR+set}" != set; then
74  PATH_SEPARATOR=:
75  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77      PATH_SEPARATOR=';'
78  }
79fi
80
81
82# IFS
83# We need space, tab and new line, in precisely that order.  Quoting is
84# there to prevent editors from complaining about space-tab.
85# (If _AS_PATH_WALK were called with IFS unset, it would disable word
86# splitting by setting IFS to empty value.)
87IFS=" ""	$as_nl"
88
89# Find who we are.  Look in the path if we contain no directory separator.
90as_myself=
91case $0 in #((
92  *[\\/]* ) as_myself=$0 ;;
93  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94for as_dir in $PATH
95do
96  IFS=$as_save_IFS
97  test -z "$as_dir" && as_dir=.
98    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99  done
100IFS=$as_save_IFS
101
102     ;;
103esac
104# We did not find ourselves, most probably we were run as `sh COMMAND'
105# in which case we are not to be found in the path.
106if test "x$as_myself" = x; then
107  as_myself=$0
108fi
109if test ! -f "$as_myself"; then
110  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111  exit 1
112fi
113
114# Unset variables that we do not need and which cause bugs (e.g. in
115# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
116# suppresses any "Segmentation fault" message there.  '((' could
117# trigger a bug in pdksh 5.2.14.
118for as_var in BASH_ENV ENV MAIL MAILPATH
119do eval test x\${$as_var+set} = xset \
120  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121done
122PS1='$ '
123PS2='> '
124PS4='+ '
125
126# NLS nuisances.
127LC_ALL=C
128export LC_ALL
129LANGUAGE=C
130export LANGUAGE
131
132# CDPATH.
133(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134
135# Use a proper internal environment variable to ensure we don't fall
136  # into an infinite loop, continuously re-executing ourselves.
137  if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138    _as_can_reexec=no; export _as_can_reexec;
139    # We cannot yet assume a decent shell, so we have to provide a
140# neutralization value for shells without unset; and this also
141# works around shells that cannot unset nonexistent variables.
142# Preserve -v and -x to the replacement shell.
143BASH_ENV=/dev/null
144ENV=/dev/null
145(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146case $- in # ((((
147  *v*x* | *x*v* ) as_opts=-vx ;;
148  *v* ) as_opts=-v ;;
149  *x* ) as_opts=-x ;;
150  * ) as_opts= ;;
151esac
152exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153# Admittedly, this is quite paranoid, since all the known shells bail
154# out after a failed `exec'.
155$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156as_fn_exit 255
157  fi
158  # We don't want this to propagate to other subprocesses.
159          { _as_can_reexec=; unset _as_can_reexec;}
160if test "x$CONFIG_SHELL" = x; then
161  as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162  emulate sh
163  NULLCMD=:
164  # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165  # is contrary to our usage.  Disable this feature.
166  alias -g '\${1+\"\$@\"}'='\"\$@\"'
167  setopt NO_GLOB_SUBST
168else
169  case \`(set -o) 2>/dev/null\` in #(
170  *posix*) :
171    set -o posix ;; #(
172  *) :
173     ;;
174esac
175fi
176"
177  as_required="as_fn_return () { (exit \$1); }
178as_fn_success () { as_fn_return 0; }
179as_fn_failure () { as_fn_return 1; }
180as_fn_ret_success () { return 0; }
181as_fn_ret_failure () { return 1; }
182
183exitcode=0
184as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
189
190else
191  exitcode=1; echo positional parameters were not saved.
192fi
193test x\$exitcode = x0 || exit 1
194test -x / || exit 1"
195  as_suggested="  as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196  as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197  eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198  test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199test \$(( 1 + 1 )) = 2 || exit 1"
200  if (eval "$as_required") 2>/dev/null; then :
201  as_have_required=yes
202else
203  as_have_required=no
204fi
205  if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
206
207else
208  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
209as_found=false
210for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
211do
212  IFS=$as_save_IFS
213  test -z "$as_dir" && as_dir=.
214  as_found=:
215  case $as_dir in #(
216	 /*)
217	   for as_base in sh bash ksh sh5; do
218	     # Try only shells that exist, to save several forks.
219	     as_shell=$as_dir/$as_base
220	     if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
221		    { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
222  CONFIG_SHELL=$as_shell as_have_required=yes
223		   if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
224  break 2
225fi
226fi
227	   done;;
228       esac
229  as_found=false
230done
231$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
232	      { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
233  CONFIG_SHELL=$SHELL as_have_required=yes
234fi; }
235IFS=$as_save_IFS
236
237
238      if test "x$CONFIG_SHELL" != x; then :
239  export CONFIG_SHELL
240             # We cannot yet assume a decent shell, so we have to provide a
241# neutralization value for shells without unset; and this also
242# works around shells that cannot unset nonexistent variables.
243# Preserve -v and -x to the replacement shell.
244BASH_ENV=/dev/null
245ENV=/dev/null
246(unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
247case $- in # ((((
248  *v*x* | *x*v* ) as_opts=-vx ;;
249  *v* ) as_opts=-v ;;
250  *x* ) as_opts=-x ;;
251  * ) as_opts= ;;
252esac
253exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254# Admittedly, this is quite paranoid, since all the known shells bail
255# out after a failed `exec'.
256$as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
257exit 255
258fi
259
260    if test x$as_have_required = xno; then :
261  $as_echo "$0: This script requires a shell more modern than all"
262  $as_echo "$0: the shells that I found on your system."
263  if test x${ZSH_VERSION+set} = xset ; then
264    $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
265    $as_echo "$0: be upgraded to zsh 4.3.4 or later."
266  else
267    $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
268$0: including any error possibly output before this
269$0: message. Then install a modern shell, or manually run
270$0: the script under such a shell if you do have one."
271  fi
272  exit 1
273fi
274fi
275fi
276SHELL=${CONFIG_SHELL-/bin/sh}
277export SHELL
278# Unset more variables known to interfere with behavior of common tools.
279CLICOLOR_FORCE= GREP_OPTIONS=
280unset CLICOLOR_FORCE GREP_OPTIONS
281
282## --------------------- ##
283## M4sh Shell Functions. ##
284## --------------------- ##
285# as_fn_unset VAR
286# ---------------
287# Portably unset VAR.
288as_fn_unset ()
289{
290  { eval $1=; unset $1;}
291}
292as_unset=as_fn_unset
293
294# as_fn_set_status STATUS
295# -----------------------
296# Set $? to STATUS, without forking.
297as_fn_set_status ()
298{
299  return $1
300} # as_fn_set_status
301
302# as_fn_exit STATUS
303# -----------------
304# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
305as_fn_exit ()
306{
307  set +e
308  as_fn_set_status $1
309  exit $1
310} # as_fn_exit
311
312# as_fn_mkdir_p
313# -------------
314# Create "$as_dir" as a directory, including parents if necessary.
315as_fn_mkdir_p ()
316{
317
318  case $as_dir in #(
319  -*) as_dir=./$as_dir;;
320  esac
321  test -d "$as_dir" || eval $as_mkdir_p || {
322    as_dirs=
323    while :; do
324      case $as_dir in #(
325      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
326      *) as_qdir=$as_dir;;
327      esac
328      as_dirs="'$as_qdir' $as_dirs"
329      as_dir=`$as_dirname -- "$as_dir" ||
330$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
331	 X"$as_dir" : 'X\(//\)[^/]' \| \
332	 X"$as_dir" : 'X\(//\)$' \| \
333	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
334$as_echo X"$as_dir" |
335    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
336	    s//\1/
337	    q
338	  }
339	  /^X\(\/\/\)[^/].*/{
340	    s//\1/
341	    q
342	  }
343	  /^X\(\/\/\)$/{
344	    s//\1/
345	    q
346	  }
347	  /^X\(\/\).*/{
348	    s//\1/
349	    q
350	  }
351	  s/.*/./; q'`
352      test -d "$as_dir" && break
353    done
354    test -z "$as_dirs" || eval "mkdir $as_dirs"
355  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
356
357
358} # as_fn_mkdir_p
359
360# as_fn_executable_p FILE
361# -----------------------
362# Test if FILE is an executable regular file.
363as_fn_executable_p ()
364{
365  test -f "$1" && test -x "$1"
366} # as_fn_executable_p
367# as_fn_append VAR VALUE
368# ----------------------
369# Append the text in VALUE to the end of the definition contained in VAR. Take
370# advantage of any shell optimizations that allow amortized linear growth over
371# repeated appends, instead of the typical quadratic growth present in naive
372# implementations.
373if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
374  eval 'as_fn_append ()
375  {
376    eval $1+=\$2
377  }'
378else
379  as_fn_append ()
380  {
381    eval $1=\$$1\$2
382  }
383fi # as_fn_append
384
385# as_fn_arith ARG...
386# ------------------
387# Perform arithmetic evaluation on the ARGs, and store the result in the
388# global $as_val. Take advantage of shells that can avoid forks. The arguments
389# must be portable across $(()) and expr.
390if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
391  eval 'as_fn_arith ()
392  {
393    as_val=$(( $* ))
394  }'
395else
396  as_fn_arith ()
397  {
398    as_val=`expr "$@" || test $? -eq 1`
399  }
400fi # as_fn_arith
401
402
403# as_fn_error STATUS ERROR [LINENO LOG_FD]
404# ----------------------------------------
405# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
406# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
407# script with STATUS, using 1 if that was 0.
408as_fn_error ()
409{
410  as_status=$1; test $as_status -eq 0 && as_status=1
411  if test "$4"; then
412    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
413    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
414  fi
415  $as_echo "$as_me: error: $2" >&2
416  as_fn_exit $as_status
417} # as_fn_error
418
419if expr a : '\(a\)' >/dev/null 2>&1 &&
420   test "X`expr 00001 : '.*\(...\)'`" = X001; then
421  as_expr=expr
422else
423  as_expr=false
424fi
425
426if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
427  as_basename=basename
428else
429  as_basename=false
430fi
431
432if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
433  as_dirname=dirname
434else
435  as_dirname=false
436fi
437
438as_me=`$as_basename -- "$0" ||
439$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
440	 X"$0" : 'X\(//\)$' \| \
441	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
442$as_echo X/"$0" |
443    sed '/^.*\/\([^/][^/]*\)\/*$/{
444	    s//\1/
445	    q
446	  }
447	  /^X\/\(\/\/\)$/{
448	    s//\1/
449	    q
450	  }
451	  /^X\/\(\/\).*/{
452	    s//\1/
453	    q
454	  }
455	  s/.*/./; q'`
456
457# Avoid depending upon Character Ranges.
458as_cr_letters='abcdefghijklmnopqrstuvwxyz'
459as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
460as_cr_Letters=$as_cr_letters$as_cr_LETTERS
461as_cr_digits='0123456789'
462as_cr_alnum=$as_cr_Letters$as_cr_digits
463
464
465  as_lineno_1=$LINENO as_lineno_1a=$LINENO
466  as_lineno_2=$LINENO as_lineno_2a=$LINENO
467  eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
468  test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
469  # Blame Lee E. McMahon (1931-1989) for sed's syntax.  :-)
470  sed -n '
471    p
472    /[$]LINENO/=
473  ' <$as_myself |
474    sed '
475      s/[$]LINENO.*/&-/
476      t lineno
477      b
478      :lineno
479      N
480      :loop
481      s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
482      t loop
483      s/-\n.*//
484    ' >$as_me.lineno &&
485  chmod +x "$as_me.lineno" ||
486    { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
487
488  # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
489  # already done that, so ensure we don't try to do so again and fall
490  # in an infinite loop.  This has already happened in practice.
491  _as_can_reexec=no; export _as_can_reexec
492  # Don't try to exec as it changes $[0], causing all sort of problems
493  # (the dirname of $[0] is not the place where we might find the
494  # original and so on.  Autoconf is especially sensitive to this).
495  . "./$as_me.lineno"
496  # Exit status is that of the last command.
497  exit
498}
499
500ECHO_C= ECHO_N= ECHO_T=
501case `echo -n x` in #(((((
502-n*)
503  case `echo 'xy\c'` in
504  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
505  xy)  ECHO_C='\c';;
506  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
507       ECHO_T='	';;
508  esac;;
509*)
510  ECHO_N='-n';;
511esac
512
513rm -f conf$$ conf$$.exe conf$$.file
514if test -d conf$$.dir; then
515  rm -f conf$$.dir/conf$$.file
516else
517  rm -f conf$$.dir
518  mkdir conf$$.dir 2>/dev/null
519fi
520if (echo >conf$$.file) 2>/dev/null; then
521  if ln -s conf$$.file conf$$ 2>/dev/null; then
522    as_ln_s='ln -s'
523    # ... but there are two gotchas:
524    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
525    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
526    # In both cases, we have to default to `cp -pR'.
527    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
528      as_ln_s='cp -pR'
529  elif ln conf$$.file conf$$ 2>/dev/null; then
530    as_ln_s=ln
531  else
532    as_ln_s='cp -pR'
533  fi
534else
535  as_ln_s='cp -pR'
536fi
537rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
538rmdir conf$$.dir 2>/dev/null
539
540if mkdir -p . 2>/dev/null; then
541  as_mkdir_p='mkdir -p "$as_dir"'
542else
543  test -d ./-p && rmdir ./-p
544  as_mkdir_p=false
545fi
546
547as_test_x='test -x'
548as_executable_p=as_fn_executable_p
549
550# Sed expression to map a string onto a valid CPP name.
551as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
552
553# Sed expression to map a string onto a valid variable name.
554as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
555
556
557test -n "$DJDIR" || exec 7<&0 </dev/null
558exec 6>&1
559
560# Name of the host.
561# hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
562# so uname gets run too.
563ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
564
565#
566# Initializations.
567#
568ac_default_prefix=/usr/local
569ac_clean_files=
570ac_config_libobj_dir=.
571LIBOBJS=
572cross_compiling=no
573subdirs=
574MFLAGS=
575MAKEFLAGS=
576
577# Identity of this package.
578PACKAGE_NAME=
579PACKAGE_TARNAME=
580PACKAGE_VERSION=
581PACKAGE_STRING=
582PACKAGE_BUGREPORT=
583PACKAGE_URL=
584
585# Factoring default headers for most tests.
586ac_includes_default="\
587#include <stdio.h>
588#ifdef HAVE_SYS_TYPES_H
589# include <sys/types.h>
590#endif
591#ifdef HAVE_SYS_STAT_H
592# include <sys/stat.h>
593#endif
594#ifdef STDC_HEADERS
595# include <stdlib.h>
596# include <stddef.h>
597#else
598# ifdef HAVE_STDLIB_H
599#  include <stdlib.h>
600# endif
601#endif
602#ifdef HAVE_STRING_H
603# if !defined STDC_HEADERS && defined HAVE_MEMORY_H
604#  include <memory.h>
605# endif
606# include <string.h>
607#endif
608#ifdef HAVE_STRINGS_H
609# include <strings.h>
610#endif
611#ifdef HAVE_INTTYPES_H
612# include <inttypes.h>
613#endif
614#ifdef HAVE_STDINT_H
615# include <stdint.h>
616#endif
617#ifdef HAVE_UNISTD_H
618# include <unistd.h>
619#endif"
620
621ac_subst_vars='LTLIBOBJS
622LIBOBJS
623ANIM_LIBS
624PROF_LIBS
625ANIM_LIBNAME
626PROF_LIBNAME
627XGRAPH_LIBS
628X_LIB
629X_INC
630MPI_LIBS
631MPI_FFLAGS
632MPI_CFLAGS
633FLIB_PATH_LEADER
634FINC_PATH_LEADER
635MPE_FLINKER
636MPI_F77
637FFLAGS
638FLINKER
639F77
640MPE_CLINKER
641MPI_CC
642CLINKER
643MPE_BUILD_FORTRAN2C
644MPI_IMPL
645EGREP
646GREP
647XMKMF
648DEBUG_LIBS
649CPP
650CC_DOES_C_O
651RANLIB
652AR
653OBJEXT
654EXEEXT
655ac_ct_CC
656CPPFLAGS
657LDFLAGS
658CFLAGS
659CC
660etcbuild_dir
661sbinbuild_dir
662binbuild_dir
663libbuild_dir
664includebuild_dir
665MV
666RM
667CPRP
668MKDIR
669MAKE
670VPATH
671top_srcdir_abs
672target_alias
673host_alias
674build_alias
675LIBS
676ECHO_T
677ECHO_N
678ECHO_C
679DEFS
680mandir
681localedir
682libdir
683psdir
684pdfdir
685dvidir
686htmldir
687infodir
688docdir
689oldincludedir
690includedir
691localstatedir
692sharedstatedir
693sysconfdir
694datadir
695datarootdir
696libexecdir
697sbindir
698bindir
699program_transform_name
700prefix
701exec_prefix
702PACKAGE_URL
703PACKAGE_BUGREPORT
704PACKAGE_STRING
705PACKAGE_VERSION
706PACKAGE_TARNAME
707PACKAGE_NAME
708PATH_SEPARATOR
709SHELL'
710ac_subst_files=''
711ac_user_opts='
712enable_option_checking
713enable_echo
714enable_softerror
715enable_debugcheck
716with_x
717'
718      ac_precious_vars='build_alias
719host_alias
720target_alias
721CC
722CFLAGS
723LDFLAGS
724LIBS
725CPPFLAGS
726CPP
727XMKMF'
728
729
730# Initialize some variables set by options.
731ac_init_help=
732ac_init_version=false
733ac_unrecognized_opts=
734ac_unrecognized_sep=
735# The variables have the same names as the options, with
736# dashes changed to underlines.
737cache_file=/dev/null
738exec_prefix=NONE
739no_create=
740no_recursion=
741prefix=NONE
742program_prefix=NONE
743program_suffix=NONE
744program_transform_name=s,x,x,
745silent=
746site=
747srcdir=
748verbose=
749x_includes=NONE
750x_libraries=NONE
751
752# Installation directory options.
753# These are left unexpanded so users can "make install exec_prefix=/foo"
754# and all the variables that are supposed to be based on exec_prefix
755# by default will actually change.
756# Use braces instead of parens because sh, perl, etc. also accept them.
757# (The list follows the same order as the GNU Coding Standards.)
758bindir='${exec_prefix}/bin'
759sbindir='${exec_prefix}/sbin'
760libexecdir='${exec_prefix}/libexec'
761datarootdir='${prefix}/share'
762datadir='${datarootdir}'
763sysconfdir='${prefix}/etc'
764sharedstatedir='${prefix}/com'
765localstatedir='${prefix}/var'
766includedir='${prefix}/include'
767oldincludedir='/usr/include'
768docdir='${datarootdir}/doc/${PACKAGE}'
769infodir='${datarootdir}/info'
770htmldir='${docdir}'
771dvidir='${docdir}'
772pdfdir='${docdir}'
773psdir='${docdir}'
774libdir='${exec_prefix}/lib'
775localedir='${datarootdir}/locale'
776mandir='${datarootdir}/man'
777
778ac_prev=
779ac_dashdash=
780for ac_option
781do
782  # If the previous option needs an argument, assign it.
783  if test -n "$ac_prev"; then
784    eval $ac_prev=\$ac_option
785    ac_prev=
786    continue
787  fi
788
789  case $ac_option in
790  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
791  *=)   ac_optarg= ;;
792  *)    ac_optarg=yes ;;
793  esac
794
795  # Accept the important Cygnus configure options, so we can diagnose typos.
796
797  case $ac_dashdash$ac_option in
798  --)
799    ac_dashdash=yes ;;
800
801  -bindir | --bindir | --bindi | --bind | --bin | --bi)
802    ac_prev=bindir ;;
803  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
804    bindir=$ac_optarg ;;
805
806  -build | --build | --buil | --bui | --bu)
807    ac_prev=build_alias ;;
808  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
809    build_alias=$ac_optarg ;;
810
811  -cache-file | --cache-file | --cache-fil | --cache-fi \
812  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
813    ac_prev=cache_file ;;
814  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
815  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
816    cache_file=$ac_optarg ;;
817
818  --config-cache | -C)
819    cache_file=config.cache ;;
820
821  -datadir | --datadir | --datadi | --datad)
822    ac_prev=datadir ;;
823  -datadir=* | --datadir=* | --datadi=* | --datad=*)
824    datadir=$ac_optarg ;;
825
826  -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
827  | --dataroo | --dataro | --datar)
828    ac_prev=datarootdir ;;
829  -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
830  | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
831    datarootdir=$ac_optarg ;;
832
833  -disable-* | --disable-*)
834    ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
835    # Reject names that are not valid shell variable names.
836    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
837      as_fn_error $? "invalid feature name: $ac_useropt"
838    ac_useropt_orig=$ac_useropt
839    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
840    case $ac_user_opts in
841      *"
842"enable_$ac_useropt"
843"*) ;;
844      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
845	 ac_unrecognized_sep=', ';;
846    esac
847    eval enable_$ac_useropt=no ;;
848
849  -docdir | --docdir | --docdi | --doc | --do)
850    ac_prev=docdir ;;
851  -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
852    docdir=$ac_optarg ;;
853
854  -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
855    ac_prev=dvidir ;;
856  -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
857    dvidir=$ac_optarg ;;
858
859  -enable-* | --enable-*)
860    ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
861    # Reject names that are not valid shell variable names.
862    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
863      as_fn_error $? "invalid feature name: $ac_useropt"
864    ac_useropt_orig=$ac_useropt
865    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
866    case $ac_user_opts in
867      *"
868"enable_$ac_useropt"
869"*) ;;
870      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
871	 ac_unrecognized_sep=', ';;
872    esac
873    eval enable_$ac_useropt=\$ac_optarg ;;
874
875  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
876  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
877  | --exec | --exe | --ex)
878    ac_prev=exec_prefix ;;
879  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
880  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
881  | --exec=* | --exe=* | --ex=*)
882    exec_prefix=$ac_optarg ;;
883
884  -gas | --gas | --ga | --g)
885    # Obsolete; use --with-gas.
886    with_gas=yes ;;
887
888  -help | --help | --hel | --he | -h)
889    ac_init_help=long ;;
890  -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
891    ac_init_help=recursive ;;
892  -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
893    ac_init_help=short ;;
894
895  -host | --host | --hos | --ho)
896    ac_prev=host_alias ;;
897  -host=* | --host=* | --hos=* | --ho=*)
898    host_alias=$ac_optarg ;;
899
900  -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
901    ac_prev=htmldir ;;
902  -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
903  | --ht=*)
904    htmldir=$ac_optarg ;;
905
906  -includedir | --includedir | --includedi | --included | --include \
907  | --includ | --inclu | --incl | --inc)
908    ac_prev=includedir ;;
909  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
910  | --includ=* | --inclu=* | --incl=* | --inc=*)
911    includedir=$ac_optarg ;;
912
913  -infodir | --infodir | --infodi | --infod | --info | --inf)
914    ac_prev=infodir ;;
915  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
916    infodir=$ac_optarg ;;
917
918  -libdir | --libdir | --libdi | --libd)
919    ac_prev=libdir ;;
920  -libdir=* | --libdir=* | --libdi=* | --libd=*)
921    libdir=$ac_optarg ;;
922
923  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
924  | --libexe | --libex | --libe)
925    ac_prev=libexecdir ;;
926  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
927  | --libexe=* | --libex=* | --libe=*)
928    libexecdir=$ac_optarg ;;
929
930  -localedir | --localedir | --localedi | --localed | --locale)
931    ac_prev=localedir ;;
932  -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
933    localedir=$ac_optarg ;;
934
935  -localstatedir | --localstatedir | --localstatedi | --localstated \
936  | --localstate | --localstat | --localsta | --localst | --locals)
937    ac_prev=localstatedir ;;
938  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
939  | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
940    localstatedir=$ac_optarg ;;
941
942  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
943    ac_prev=mandir ;;
944  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
945    mandir=$ac_optarg ;;
946
947  -nfp | --nfp | --nf)
948    # Obsolete; use --without-fp.
949    with_fp=no ;;
950
951  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
952  | --no-cr | --no-c | -n)
953    no_create=yes ;;
954
955  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
956  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
957    no_recursion=yes ;;
958
959  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
960  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
961  | --oldin | --oldi | --old | --ol | --o)
962    ac_prev=oldincludedir ;;
963  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
964  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
965  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
966    oldincludedir=$ac_optarg ;;
967
968  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
969    ac_prev=prefix ;;
970  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
971    prefix=$ac_optarg ;;
972
973  -program-prefix | --program-prefix | --program-prefi | --program-pref \
974  | --program-pre | --program-pr | --program-p)
975    ac_prev=program_prefix ;;
976  -program-prefix=* | --program-prefix=* | --program-prefi=* \
977  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
978    program_prefix=$ac_optarg ;;
979
980  -program-suffix | --program-suffix | --program-suffi | --program-suff \
981  | --program-suf | --program-su | --program-s)
982    ac_prev=program_suffix ;;
983  -program-suffix=* | --program-suffix=* | --program-suffi=* \
984  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
985    program_suffix=$ac_optarg ;;
986
987  -program-transform-name | --program-transform-name \
988  | --program-transform-nam | --program-transform-na \
989  | --program-transform-n | --program-transform- \
990  | --program-transform | --program-transfor \
991  | --program-transfo | --program-transf \
992  | --program-trans | --program-tran \
993  | --progr-tra | --program-tr | --program-t)
994    ac_prev=program_transform_name ;;
995  -program-transform-name=* | --program-transform-name=* \
996  | --program-transform-nam=* | --program-transform-na=* \
997  | --program-transform-n=* | --program-transform-=* \
998  | --program-transform=* | --program-transfor=* \
999  | --program-transfo=* | --program-transf=* \
1000  | --program-trans=* | --program-tran=* \
1001  | --progr-tra=* | --program-tr=* | --program-t=*)
1002    program_transform_name=$ac_optarg ;;
1003
1004  -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1005    ac_prev=pdfdir ;;
1006  -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1007    pdfdir=$ac_optarg ;;
1008
1009  -psdir | --psdir | --psdi | --psd | --ps)
1010    ac_prev=psdir ;;
1011  -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1012    psdir=$ac_optarg ;;
1013
1014  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1015  | -silent | --silent | --silen | --sile | --sil)
1016    silent=yes ;;
1017
1018  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1019    ac_prev=sbindir ;;
1020  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1021  | --sbi=* | --sb=*)
1022    sbindir=$ac_optarg ;;
1023
1024  -sharedstatedir | --sharedstatedir | --sharedstatedi \
1025  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1026  | --sharedst | --shareds | --shared | --share | --shar \
1027  | --sha | --sh)
1028    ac_prev=sharedstatedir ;;
1029  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1030  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1031  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1032  | --sha=* | --sh=*)
1033    sharedstatedir=$ac_optarg ;;
1034
1035  -site | --site | --sit)
1036    ac_prev=site ;;
1037  -site=* | --site=* | --sit=*)
1038    site=$ac_optarg ;;
1039
1040  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1041    ac_prev=srcdir ;;
1042  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1043    srcdir=$ac_optarg ;;
1044
1045  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1046  | --syscon | --sysco | --sysc | --sys | --sy)
1047    ac_prev=sysconfdir ;;
1048  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1049  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1050    sysconfdir=$ac_optarg ;;
1051
1052  -target | --target | --targe | --targ | --tar | --ta | --t)
1053    ac_prev=target_alias ;;
1054  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1055    target_alias=$ac_optarg ;;
1056
1057  -v | -verbose | --verbose | --verbos | --verbo | --verb)
1058    verbose=yes ;;
1059
1060  -version | --version | --versio | --versi | --vers | -V)
1061    ac_init_version=: ;;
1062
1063  -with-* | --with-*)
1064    ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1065    # Reject names that are not valid shell variable names.
1066    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1067      as_fn_error $? "invalid package name: $ac_useropt"
1068    ac_useropt_orig=$ac_useropt
1069    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1070    case $ac_user_opts in
1071      *"
1072"with_$ac_useropt"
1073"*) ;;
1074      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1075	 ac_unrecognized_sep=', ';;
1076    esac
1077    eval with_$ac_useropt=\$ac_optarg ;;
1078
1079  -without-* | --without-*)
1080    ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1081    # Reject names that are not valid shell variable names.
1082    expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1083      as_fn_error $? "invalid package name: $ac_useropt"
1084    ac_useropt_orig=$ac_useropt
1085    ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1086    case $ac_user_opts in
1087      *"
1088"with_$ac_useropt"
1089"*) ;;
1090      *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1091	 ac_unrecognized_sep=', ';;
1092    esac
1093    eval with_$ac_useropt=no ;;
1094
1095  --x)
1096    # Obsolete; use --with-x.
1097    with_x=yes ;;
1098
1099  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1100  | --x-incl | --x-inc | --x-in | --x-i)
1101    ac_prev=x_includes ;;
1102  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1103  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1104    x_includes=$ac_optarg ;;
1105
1106  -x-libraries | --x-libraries | --x-librarie | --x-librari \
1107  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1108    ac_prev=x_libraries ;;
1109  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1110  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1111    x_libraries=$ac_optarg ;;
1112
1113  -*) as_fn_error $? "unrecognized option: \`$ac_option'
1114Try \`$0 --help' for more information"
1115    ;;
1116
1117  *=*)
1118    ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1119    # Reject names that are not valid shell variable names.
1120    case $ac_envvar in #(
1121      '' | [0-9]* | *[!_$as_cr_alnum]* )
1122      as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1123    esac
1124    eval $ac_envvar=\$ac_optarg
1125    export $ac_envvar ;;
1126
1127  *)
1128    # FIXME: should be removed in autoconf 3.0.
1129    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1130    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1131      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1132    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1133    ;;
1134
1135  esac
1136done
1137
1138if test -n "$ac_prev"; then
1139  ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1140  as_fn_error $? "missing argument to $ac_option"
1141fi
1142
1143if test -n "$ac_unrecognized_opts"; then
1144  case $enable_option_checking in
1145    no) ;;
1146    fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1147    *)     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1148  esac
1149fi
1150
1151# Check all directory arguments for consistency.
1152for ac_var in	exec_prefix prefix bindir sbindir libexecdir datarootdir \
1153		datadir sysconfdir sharedstatedir localstatedir includedir \
1154		oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1155		libdir localedir mandir
1156do
1157  eval ac_val=\$$ac_var
1158  # Remove trailing slashes.
1159  case $ac_val in
1160    */ )
1161      ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1162      eval $ac_var=\$ac_val;;
1163  esac
1164  # Be sure to have absolute directory names.
1165  case $ac_val in
1166    [\\/$]* | ?:[\\/]* )  continue;;
1167    NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1168  esac
1169  as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1170done
1171
1172# There might be people who depend on the old broken behavior: `$host'
1173# used to hold the argument of --host etc.
1174# FIXME: To remove some day.
1175build=$build_alias
1176host=$host_alias
1177target=$target_alias
1178
1179# FIXME: To remove some day.
1180if test "x$host_alias" != x; then
1181  if test "x$build_alias" = x; then
1182    cross_compiling=maybe
1183  elif test "x$build_alias" != "x$host_alias"; then
1184    cross_compiling=yes
1185  fi
1186fi
1187
1188ac_tool_prefix=
1189test -n "$host_alias" && ac_tool_prefix=$host_alias-
1190
1191test "$silent" = yes && exec 6>/dev/null
1192
1193
1194ac_pwd=`pwd` && test -n "$ac_pwd" &&
1195ac_ls_di=`ls -di .` &&
1196ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1197  as_fn_error $? "working directory cannot be determined"
1198test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1199  as_fn_error $? "pwd does not report name of working directory"
1200
1201
1202# Find the source files, if location was not specified.
1203if test -z "$srcdir"; then
1204  ac_srcdir_defaulted=yes
1205  # Try the directory containing this script, then the parent directory.
1206  ac_confdir=`$as_dirname -- "$as_myself" ||
1207$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1208	 X"$as_myself" : 'X\(//\)[^/]' \| \
1209	 X"$as_myself" : 'X\(//\)$' \| \
1210	 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1211$as_echo X"$as_myself" |
1212    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1213	    s//\1/
1214	    q
1215	  }
1216	  /^X\(\/\/\)[^/].*/{
1217	    s//\1/
1218	    q
1219	  }
1220	  /^X\(\/\/\)$/{
1221	    s//\1/
1222	    q
1223	  }
1224	  /^X\(\/\).*/{
1225	    s//\1/
1226	    q
1227	  }
1228	  s/.*/./; q'`
1229  srcdir=$ac_confdir
1230  if test ! -r "$srcdir/$ac_unique_file"; then
1231    srcdir=..
1232  fi
1233else
1234  ac_srcdir_defaulted=no
1235fi
1236if test ! -r "$srcdir/$ac_unique_file"; then
1237  test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1238  as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1239fi
1240ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1241ac_abs_confdir=`(
1242	cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1243	pwd)`
1244# When building in place, set srcdir=.
1245if test "$ac_abs_confdir" = "$ac_pwd"; then
1246  srcdir=.
1247fi
1248# Remove unnecessary trailing slashes from srcdir.
1249# Double slashes in file names in object file debugging info
1250# mess up M-x gdb in Emacs.
1251case $srcdir in
1252*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1253esac
1254for ac_var in $ac_precious_vars; do
1255  eval ac_env_${ac_var}_set=\${${ac_var}+set}
1256  eval ac_env_${ac_var}_value=\$${ac_var}
1257  eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1258  eval ac_cv_env_${ac_var}_value=\$${ac_var}
1259done
1260
1261#
1262# Report the --help message.
1263#
1264if test "$ac_init_help" = "long"; then
1265  # Omit some internal or obsolete options to make the list less imposing.
1266  # This message is too long to be a string in the A/UX 3.1 sh.
1267  cat <<_ACEOF
1268\`configure' configures this package to adapt to many kinds of systems.
1269
1270Usage: $0 [OPTION]... [VAR=VALUE]...
1271
1272To assign environment variables (e.g., CC, CFLAGS...), specify them as
1273VAR=VALUE.  See below for descriptions of some of the useful variables.
1274
1275Defaults for the options are specified in brackets.
1276
1277Configuration:
1278  -h, --help              display this help and exit
1279      --help=short        display options specific to this package
1280      --help=recursive    display the short help of all the included packages
1281  -V, --version           display version information and exit
1282  -q, --quiet, --silent   do not print \`checking ...' messages
1283      --cache-file=FILE   cache test results in FILE [disabled]
1284  -C, --config-cache      alias for \`--cache-file=config.cache'
1285  -n, --no-create         do not create output files
1286      --srcdir=DIR        find the sources in DIR [configure dir or \`..']
1287
1288Installation directories:
1289  --prefix=PREFIX         install architecture-independent files in PREFIX
1290                          [$ac_default_prefix]
1291  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
1292                          [PREFIX]
1293
1294By default, \`make install' will install all the files in
1295\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc.  You can specify
1296an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1297for instance \`--prefix=\$HOME'.
1298
1299For better control, use the options below.
1300
1301Fine tuning of the installation directories:
1302  --bindir=DIR            user executables [EPREFIX/bin]
1303  --sbindir=DIR           system admin executables [EPREFIX/sbin]
1304  --libexecdir=DIR        program executables [EPREFIX/libexec]
1305  --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
1306  --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
1307  --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
1308  --libdir=DIR            object code libraries [EPREFIX/lib]
1309  --includedir=DIR        C header files [PREFIX/include]
1310  --oldincludedir=DIR     C header files for non-gcc [/usr/include]
1311  --datarootdir=DIR       read-only arch.-independent data root [PREFIX/share]
1312  --datadir=DIR           read-only architecture-independent data [DATAROOTDIR]
1313  --infodir=DIR           info documentation [DATAROOTDIR/info]
1314  --localedir=DIR         locale-dependent data [DATAROOTDIR/locale]
1315  --mandir=DIR            man documentation [DATAROOTDIR/man]
1316  --docdir=DIR            documentation root [DATAROOTDIR/doc/PACKAGE]
1317  --htmldir=DIR           html documentation [DOCDIR]
1318  --dvidir=DIR            dvi documentation [DOCDIR]
1319  --pdfdir=DIR            pdf documentation [DOCDIR]
1320  --psdir=DIR             ps documentation [DOCDIR]
1321_ACEOF
1322
1323  cat <<\_ACEOF
1324
1325X features:
1326  --x-includes=DIR    X include files are in DIR
1327  --x-libraries=DIR   X library files are in DIR
1328_ACEOF
1329fi
1330
1331if test -n "$ac_init_help"; then
1332
1333  cat <<\_ACEOF
1334
1335Optional Features:
1336  --disable-option-checking  ignore unrecognized --enable/--with options
1337  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1338  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
1339--enable-echo                      - Turn on strong echoing.
1340                                     The default is enable=no.
1341--enable-softerror                 - Turn on soft error, i.e. instead of
1342                                     issuing MSG_ERROR, MSG_WARN + exit 0
1343                                     are used.  The default is enable=no.
1344--enable-debugcheck                - Turn on/off the debugging & diagnostic
1345                                     checking code in MPE code.
1346                                     The default is enable=no.
1347
1348Optional Packages:
1349  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1350  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
1351  --with-x                use the X Window System
1352
1353Some influential environment variables:
1354  CC          C compiler command
1355  CFLAGS      C compiler flags
1356  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1357              nonstandard directory <lib dir>
1358  LIBS        libraries to pass to the linker, e.g. -l<library>
1359  CPPFLAGS    (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1360              you have headers in a nonstandard directory <include dir>
1361  CPP         C preprocessor
1362  XMKMF       Path to xmkmf, Makefile generator for X Window System
1363
1364Use these variables to override the choices made by `configure' or to help
1365it to find libraries and programs with nonstandard names/locations.
1366
1367Report bugs to the package provider.
1368_ACEOF
1369ac_status=$?
1370fi
1371
1372if test "$ac_init_help" = "recursive"; then
1373  # If there are subdirs, report their specific --help.
1374  for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1375    test -d "$ac_dir" ||
1376      { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1377      continue
1378    ac_builddir=.
1379
1380case "$ac_dir" in
1381.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1382*)
1383  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1384  # A ".." for each directory in $ac_dir_suffix.
1385  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1386  case $ac_top_builddir_sub in
1387  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1388  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1389  esac ;;
1390esac
1391ac_abs_top_builddir=$ac_pwd
1392ac_abs_builddir=$ac_pwd$ac_dir_suffix
1393# for backward compatibility:
1394ac_top_builddir=$ac_top_build_prefix
1395
1396case $srcdir in
1397  .)  # We are building in place.
1398    ac_srcdir=.
1399    ac_top_srcdir=$ac_top_builddir_sub
1400    ac_abs_top_srcdir=$ac_pwd ;;
1401  [\\/]* | ?:[\\/]* )  # Absolute name.
1402    ac_srcdir=$srcdir$ac_dir_suffix;
1403    ac_top_srcdir=$srcdir
1404    ac_abs_top_srcdir=$srcdir ;;
1405  *) # Relative name.
1406    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1407    ac_top_srcdir=$ac_top_build_prefix$srcdir
1408    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1409esac
1410ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1411
1412    cd "$ac_dir" || { ac_status=$?; continue; }
1413    # Check for guested configure.
1414    if test -f "$ac_srcdir/configure.gnu"; then
1415      echo &&
1416      $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1417    elif test -f "$ac_srcdir/configure"; then
1418      echo &&
1419      $SHELL "$ac_srcdir/configure" --help=recursive
1420    else
1421      $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1422    fi || ac_status=$?
1423    cd "$ac_pwd" || { ac_status=$?; break; }
1424  done
1425fi
1426
1427test -n "$ac_init_help" && exit $ac_status
1428if $ac_init_version; then
1429  cat <<\_ACEOF
1430configure
1431generated by GNU Autoconf 2.69
1432
1433Copyright (C) 2012 Free Software Foundation, Inc.
1434This configure script is free software; the Free Software Foundation
1435gives unlimited permission to copy, distribute and modify it.
1436_ACEOF
1437  exit
1438fi
1439
1440## ------------------------ ##
1441## Autoconf initialization. ##
1442## ------------------------ ##
1443
1444# ac_fn_c_try_compile LINENO
1445# --------------------------
1446# Try to compile conftest.$ac_ext, and return whether this succeeded.
1447ac_fn_c_try_compile ()
1448{
1449  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1450  rm -f conftest.$ac_objext
1451  if { { ac_try="$ac_compile"
1452case "(($ac_try" in
1453  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1454  *) ac_try_echo=$ac_try;;
1455esac
1456eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1457$as_echo "$ac_try_echo"; } >&5
1458  (eval "$ac_compile") 2>conftest.err
1459  ac_status=$?
1460  if test -s conftest.err; then
1461    grep -v '^ *+' conftest.err >conftest.er1
1462    cat conftest.er1 >&5
1463    mv -f conftest.er1 conftest.err
1464  fi
1465  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1466  test $ac_status = 0; } && {
1467	 test -z "$ac_c_werror_flag" ||
1468	 test ! -s conftest.err
1469       } && test -s conftest.$ac_objext; then :
1470  ac_retval=0
1471else
1472  $as_echo "$as_me: failed program was:" >&5
1473sed 's/^/| /' conftest.$ac_ext >&5
1474
1475	ac_retval=1
1476fi
1477  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1478  as_fn_set_status $ac_retval
1479
1480} # ac_fn_c_try_compile
1481
1482# ac_fn_c_try_cpp LINENO
1483# ----------------------
1484# Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1485ac_fn_c_try_cpp ()
1486{
1487  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1488  if { { ac_try="$ac_cpp conftest.$ac_ext"
1489case "(($ac_try" in
1490  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1491  *) ac_try_echo=$ac_try;;
1492esac
1493eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1494$as_echo "$ac_try_echo"; } >&5
1495  (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1496  ac_status=$?
1497  if test -s conftest.err; then
1498    grep -v '^ *+' conftest.err >conftest.er1
1499    cat conftest.er1 >&5
1500    mv -f conftest.er1 conftest.err
1501  fi
1502  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1503  test $ac_status = 0; } > conftest.i && {
1504	 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1505	 test ! -s conftest.err
1506       }; then :
1507  ac_retval=0
1508else
1509  $as_echo "$as_me: failed program was:" >&5
1510sed 's/^/| /' conftest.$ac_ext >&5
1511
1512    ac_retval=1
1513fi
1514  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1515  as_fn_set_status $ac_retval
1516
1517} # ac_fn_c_try_cpp
1518
1519# ac_fn_c_try_link LINENO
1520# -----------------------
1521# Try to link conftest.$ac_ext, and return whether this succeeded.
1522ac_fn_c_try_link ()
1523{
1524  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1525  rm -f conftest.$ac_objext conftest$ac_exeext
1526  if { { ac_try="$ac_link"
1527case "(($ac_try" in
1528  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1529  *) ac_try_echo=$ac_try;;
1530esac
1531eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1532$as_echo "$ac_try_echo"; } >&5
1533  (eval "$ac_link") 2>conftest.err
1534  ac_status=$?
1535  if test -s conftest.err; then
1536    grep -v '^ *+' conftest.err >conftest.er1
1537    cat conftest.er1 >&5
1538    mv -f conftest.er1 conftest.err
1539  fi
1540  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1541  test $ac_status = 0; } && {
1542	 test -z "$ac_c_werror_flag" ||
1543	 test ! -s conftest.err
1544       } && test -s conftest$ac_exeext && {
1545	 test "$cross_compiling" = yes ||
1546	 test -x conftest$ac_exeext
1547       }; then :
1548  ac_retval=0
1549else
1550  $as_echo "$as_me: failed program was:" >&5
1551sed 's/^/| /' conftest.$ac_ext >&5
1552
1553	ac_retval=1
1554fi
1555  # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1556  # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1557  # interfere with the next link command; also delete a directory that is
1558  # left behind by Apple's compiler.  We do this before executing the actions.
1559  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1560  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1561  as_fn_set_status $ac_retval
1562
1563} # ac_fn_c_try_link
1564
1565# ac_fn_c_try_run LINENO
1566# ----------------------
1567# Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1568# that executables *can* be run.
1569ac_fn_c_try_run ()
1570{
1571  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1572  if { { ac_try="$ac_link"
1573case "(($ac_try" in
1574  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1575  *) ac_try_echo=$ac_try;;
1576esac
1577eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1578$as_echo "$ac_try_echo"; } >&5
1579  (eval "$ac_link") 2>&5
1580  ac_status=$?
1581  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1582  test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1583  { { case "(($ac_try" in
1584  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1585  *) ac_try_echo=$ac_try;;
1586esac
1587eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1588$as_echo "$ac_try_echo"; } >&5
1589  (eval "$ac_try") 2>&5
1590  ac_status=$?
1591  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1592  test $ac_status = 0; }; }; then :
1593  ac_retval=0
1594else
1595  $as_echo "$as_me: program exited with status $ac_status" >&5
1596       $as_echo "$as_me: failed program was:" >&5
1597sed 's/^/| /' conftest.$ac_ext >&5
1598
1599       ac_retval=$ac_status
1600fi
1601  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1602  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1603  as_fn_set_status $ac_retval
1604
1605} # ac_fn_c_try_run
1606
1607# ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1608# --------------------------------------------
1609# Tries to find the compile-time value of EXPR in a program that includes
1610# INCLUDES, setting VAR accordingly. Returns whether the value could be
1611# computed
1612ac_fn_c_compute_int ()
1613{
1614  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1615  if test "$cross_compiling" = yes; then
1616    # Depending upon the size, compute the lo and hi bounds.
1617cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1618/* end confdefs.h.  */
1619$4
1620int
1621main ()
1622{
1623static int test_array [1 - 2 * !(($2) >= 0)];
1624test_array [0] = 0;
1625return test_array [0];
1626
1627  ;
1628  return 0;
1629}
1630_ACEOF
1631if ac_fn_c_try_compile "$LINENO"; then :
1632  ac_lo=0 ac_mid=0
1633  while :; do
1634    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1635/* end confdefs.h.  */
1636$4
1637int
1638main ()
1639{
1640static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1641test_array [0] = 0;
1642return test_array [0];
1643
1644  ;
1645  return 0;
1646}
1647_ACEOF
1648if ac_fn_c_try_compile "$LINENO"; then :
1649  ac_hi=$ac_mid; break
1650else
1651  as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1652			if test $ac_lo -le $ac_mid; then
1653			  ac_lo= ac_hi=
1654			  break
1655			fi
1656			as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1657fi
1658rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1659  done
1660else
1661  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1662/* end confdefs.h.  */
1663$4
1664int
1665main ()
1666{
1667static int test_array [1 - 2 * !(($2) < 0)];
1668test_array [0] = 0;
1669return test_array [0];
1670
1671  ;
1672  return 0;
1673}
1674_ACEOF
1675if ac_fn_c_try_compile "$LINENO"; then :
1676  ac_hi=-1 ac_mid=-1
1677  while :; do
1678    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1679/* end confdefs.h.  */
1680$4
1681int
1682main ()
1683{
1684static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1685test_array [0] = 0;
1686return test_array [0];
1687
1688  ;
1689  return 0;
1690}
1691_ACEOF
1692if ac_fn_c_try_compile "$LINENO"; then :
1693  ac_lo=$ac_mid; break
1694else
1695  as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
1696			if test $ac_mid -le $ac_hi; then
1697			  ac_lo= ac_hi=
1698			  break
1699			fi
1700			as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
1701fi
1702rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1703  done
1704else
1705  ac_lo= ac_hi=
1706fi
1707rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1708fi
1709rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1710# Binary search between lo and hi bounds.
1711while test "x$ac_lo" != "x$ac_hi"; do
1712  as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
1713  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1714/* end confdefs.h.  */
1715$4
1716int
1717main ()
1718{
1719static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1720test_array [0] = 0;
1721return test_array [0];
1722
1723  ;
1724  return 0;
1725}
1726_ACEOF
1727if ac_fn_c_try_compile "$LINENO"; then :
1728  ac_hi=$ac_mid
1729else
1730  as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
1731fi
1732rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1733done
1734case $ac_lo in #((
1735?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
1736'') ac_retval=1 ;;
1737esac
1738  else
1739    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1740/* end confdefs.h.  */
1741$4
1742static long int longval () { return $2; }
1743static unsigned long int ulongval () { return $2; }
1744#include <stdio.h>
1745#include <stdlib.h>
1746int
1747main ()
1748{
1749
1750  FILE *f = fopen ("conftest.val", "w");
1751  if (! f)
1752    return 1;
1753  if (($2) < 0)
1754    {
1755      long int i = longval ();
1756      if (i != ($2))
1757	return 1;
1758      fprintf (f, "%ld", i);
1759    }
1760  else
1761    {
1762      unsigned long int i = ulongval ();
1763      if (i != ($2))
1764	return 1;
1765      fprintf (f, "%lu", i);
1766    }
1767  /* Do not output a trailing newline, as this causes \r\n confusion
1768     on some platforms.  */
1769  return ferror (f) || fclose (f) != 0;
1770
1771  ;
1772  return 0;
1773}
1774_ACEOF
1775if ac_fn_c_try_run "$LINENO"; then :
1776  echo >>conftest.val; read $3 <conftest.val; ac_retval=0
1777else
1778  ac_retval=1
1779fi
1780rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
1781  conftest.$ac_objext conftest.beam conftest.$ac_ext
1782rm -f conftest.val
1783
1784  fi
1785  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1786  as_fn_set_status $ac_retval
1787
1788} # ac_fn_c_compute_int
1789
1790# ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1791# -------------------------------------------------------
1792# Tests whether HEADER exists and can be compiled using the include files in
1793# INCLUDES, setting the cache variable VAR accordingly.
1794ac_fn_c_check_header_compile ()
1795{
1796  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1797  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1798$as_echo_n "checking for $2... " >&6; }
1799if eval \${$3+:} false; then :
1800  $as_echo_n "(cached) " >&6
1801else
1802  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1803/* end confdefs.h.  */
1804$4
1805#include <$2>
1806_ACEOF
1807if ac_fn_c_try_compile "$LINENO"; then :
1808  eval "$3=yes"
1809else
1810  eval "$3=no"
1811fi
1812rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1813fi
1814eval ac_res=\$$3
1815	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1816$as_echo "$ac_res" >&6; }
1817  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1818
1819} # ac_fn_c_check_header_compile
1820
1821# ac_fn_c_check_func LINENO FUNC VAR
1822# ----------------------------------
1823# Tests whether FUNC exists, setting the cache variable VAR accordingly
1824ac_fn_c_check_func ()
1825{
1826  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1827  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1828$as_echo_n "checking for $2... " >&6; }
1829if eval \${$3+:} false; then :
1830  $as_echo_n "(cached) " >&6
1831else
1832  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1833/* end confdefs.h.  */
1834/* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1835   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
1836#define $2 innocuous_$2
1837
1838/* System header to define __stub macros and hopefully few prototypes,
1839    which can conflict with char $2 (); below.
1840    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1841    <limits.h> exists even on freestanding compilers.  */
1842
1843#ifdef __STDC__
1844# include <limits.h>
1845#else
1846# include <assert.h>
1847#endif
1848
1849#undef $2
1850
1851/* Override any GCC internal prototype to avoid an error.
1852   Use char because int might match the return type of a GCC
1853   builtin and then its argument prototype would still apply.  */
1854#ifdef __cplusplus
1855extern "C"
1856#endif
1857char $2 ();
1858/* The GNU C library defines this for functions which it implements
1859    to always fail with ENOSYS.  Some functions are actually named
1860    something starting with __ and the normal name is an alias.  */
1861#if defined __stub_$2 || defined __stub___$2
1862choke me
1863#endif
1864
1865int
1866main ()
1867{
1868return $2 ();
1869  ;
1870  return 0;
1871}
1872_ACEOF
1873if ac_fn_c_try_link "$LINENO"; then :
1874  eval "$3=yes"
1875else
1876  eval "$3=no"
1877fi
1878rm -f core conftest.err conftest.$ac_objext \
1879    conftest$ac_exeext conftest.$ac_ext
1880fi
1881eval ac_res=\$$3
1882	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1883$as_echo "$ac_res" >&6; }
1884  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1885
1886} # ac_fn_c_check_func
1887
1888# ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1889# -------------------------------------------------------
1890# Tests whether HEADER exists, giving a warning if it cannot be compiled using
1891# the include files in INCLUDES and setting the cache variable VAR
1892# accordingly.
1893ac_fn_c_check_header_mongrel ()
1894{
1895  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1896  if eval \${$3+:} false; then :
1897  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1898$as_echo_n "checking for $2... " >&6; }
1899if eval \${$3+:} false; then :
1900  $as_echo_n "(cached) " >&6
1901fi
1902eval ac_res=\$$3
1903	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1904$as_echo "$ac_res" >&6; }
1905else
1906  # Is the header compilable?
1907{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1908$as_echo_n "checking $2 usability... " >&6; }
1909cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1910/* end confdefs.h.  */
1911$4
1912#include <$2>
1913_ACEOF
1914if ac_fn_c_try_compile "$LINENO"; then :
1915  ac_header_compiler=yes
1916else
1917  ac_header_compiler=no
1918fi
1919rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1920{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1921$as_echo "$ac_header_compiler" >&6; }
1922
1923# Is the header present?
1924{ $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1925$as_echo_n "checking $2 presence... " >&6; }
1926cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1927/* end confdefs.h.  */
1928#include <$2>
1929_ACEOF
1930if ac_fn_c_try_cpp "$LINENO"; then :
1931  ac_header_preproc=yes
1932else
1933  ac_header_preproc=no
1934fi
1935rm -f conftest.err conftest.i conftest.$ac_ext
1936{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1937$as_echo "$ac_header_preproc" >&6; }
1938
1939# So?  What about this header?
1940case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1941  yes:no: )
1942    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1943$as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1944    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1945$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1946    ;;
1947  no:yes:* )
1948    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1949$as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1950    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     check for missing prerequisite headers?" >&5
1951$as_echo "$as_me: WARNING: $2:     check for missing prerequisite headers?" >&2;}
1952    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1953$as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1954    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&5
1955$as_echo "$as_me: WARNING: $2:     section \"Present But Cannot Be Compiled\"" >&2;}
1956    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1957$as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1958    ;;
1959esac
1960  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1961$as_echo_n "checking for $2... " >&6; }
1962if eval \${$3+:} false; then :
1963  $as_echo_n "(cached) " >&6
1964else
1965  eval "$3=\$ac_header_compiler"
1966fi
1967eval ac_res=\$$3
1968	       { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1969$as_echo "$ac_res" >&6; }
1970fi
1971  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1972
1973} # ac_fn_c_check_header_mongrel
1974cat >config.log <<_ACEOF
1975This file contains any messages produced by compilers while
1976running configure, to aid debugging if configure makes a mistake.
1977
1978It was created by $as_me, which was
1979generated by GNU Autoconf 2.69.  Invocation command line was
1980
1981  $ $0 $@
1982
1983_ACEOF
1984exec 5>>config.log
1985{
1986cat <<_ASUNAME
1987## --------- ##
1988## Platform. ##
1989## --------- ##
1990
1991hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1992uname -m = `(uname -m) 2>/dev/null || echo unknown`
1993uname -r = `(uname -r) 2>/dev/null || echo unknown`
1994uname -s = `(uname -s) 2>/dev/null || echo unknown`
1995uname -v = `(uname -v) 2>/dev/null || echo unknown`
1996
1997/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1998/bin/uname -X     = `(/bin/uname -X) 2>/dev/null     || echo unknown`
1999
2000/bin/arch              = `(/bin/arch) 2>/dev/null              || echo unknown`
2001/usr/bin/arch -k       = `(/usr/bin/arch -k) 2>/dev/null       || echo unknown`
2002/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2003/usr/bin/hostinfo      = `(/usr/bin/hostinfo) 2>/dev/null      || echo unknown`
2004/bin/machine           = `(/bin/machine) 2>/dev/null           || echo unknown`
2005/usr/bin/oslevel       = `(/usr/bin/oslevel) 2>/dev/null       || echo unknown`
2006/bin/universe          = `(/bin/universe) 2>/dev/null          || echo unknown`
2007
2008_ASUNAME
2009
2010as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2011for as_dir in $PATH
2012do
2013  IFS=$as_save_IFS
2014  test -z "$as_dir" && as_dir=.
2015    $as_echo "PATH: $as_dir"
2016  done
2017IFS=$as_save_IFS
2018
2019} >&5
2020
2021cat >&5 <<_ACEOF
2022
2023
2024## ----------- ##
2025## Core tests. ##
2026## ----------- ##
2027
2028_ACEOF
2029
2030
2031# Keep a trace of the command line.
2032# Strip out --no-create and --no-recursion so they do not pile up.
2033# Strip out --silent because we don't want to record it for future runs.
2034# Also quote any args containing shell meta-characters.
2035# Make two passes to allow for proper duplicate-argument suppression.
2036ac_configure_args=
2037ac_configure_args0=
2038ac_configure_args1=
2039ac_must_keep_next=false
2040for ac_pass in 1 2
2041do
2042  for ac_arg
2043  do
2044    case $ac_arg in
2045    -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2046    -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2047    | -silent | --silent | --silen | --sile | --sil)
2048      continue ;;
2049    *\'*)
2050      ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2051    esac
2052    case $ac_pass in
2053    1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2054    2)
2055      as_fn_append ac_configure_args1 " '$ac_arg'"
2056      if test $ac_must_keep_next = true; then
2057	ac_must_keep_next=false # Got value, back to normal.
2058      else
2059	case $ac_arg in
2060	  *=* | --config-cache | -C | -disable-* | --disable-* \
2061	  | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2062	  | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2063	  | -with-* | --with-* | -without-* | --without-* | --x)
2064	    case "$ac_configure_args0 " in
2065	      "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2066	    esac
2067	    ;;
2068	  -* ) ac_must_keep_next=true ;;
2069	esac
2070      fi
2071      as_fn_append ac_configure_args " '$ac_arg'"
2072      ;;
2073    esac
2074  done
2075done
2076{ ac_configure_args0=; unset ac_configure_args0;}
2077{ ac_configure_args1=; unset ac_configure_args1;}
2078
2079# When interrupted or exit'd, cleanup temporary files, and complete
2080# config.log.  We remove comments because anyway the quotes in there
2081# would cause problems or look ugly.
2082# WARNING: Use '\'' to represent an apostrophe within the trap.
2083# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2084trap 'exit_status=$?
2085  # Save into config.log some information that might help in debugging.
2086  {
2087    echo
2088
2089    $as_echo "## ---------------- ##
2090## Cache variables. ##
2091## ---------------- ##"
2092    echo
2093    # The following way of writing the cache mishandles newlines in values,
2094(
2095  for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2096    eval ac_val=\$$ac_var
2097    case $ac_val in #(
2098    *${as_nl}*)
2099      case $ac_var in #(
2100      *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2101$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2102      esac
2103      case $ac_var in #(
2104      _ | IFS | as_nl) ;; #(
2105      BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2106      *) { eval $ac_var=; unset $ac_var;} ;;
2107      esac ;;
2108    esac
2109  done
2110  (set) 2>&1 |
2111    case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2112    *${as_nl}ac_space=\ *)
2113      sed -n \
2114	"s/'\''/'\''\\\\'\'''\''/g;
2115	  s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2116      ;; #(
2117    *)
2118      sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2119      ;;
2120    esac |
2121    sort
2122)
2123    echo
2124
2125    $as_echo "## ----------------- ##
2126## Output variables. ##
2127## ----------------- ##"
2128    echo
2129    for ac_var in $ac_subst_vars
2130    do
2131      eval ac_val=\$$ac_var
2132      case $ac_val in
2133      *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2134      esac
2135      $as_echo "$ac_var='\''$ac_val'\''"
2136    done | sort
2137    echo
2138
2139    if test -n "$ac_subst_files"; then
2140      $as_echo "## ------------------- ##
2141## File substitutions. ##
2142## ------------------- ##"
2143      echo
2144      for ac_var in $ac_subst_files
2145      do
2146	eval ac_val=\$$ac_var
2147	case $ac_val in
2148	*\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2149	esac
2150	$as_echo "$ac_var='\''$ac_val'\''"
2151      done | sort
2152      echo
2153    fi
2154
2155    if test -s confdefs.h; then
2156      $as_echo "## ----------- ##
2157## confdefs.h. ##
2158## ----------- ##"
2159      echo
2160      cat confdefs.h
2161      echo
2162    fi
2163    test "$ac_signal" != 0 &&
2164      $as_echo "$as_me: caught signal $ac_signal"
2165    $as_echo "$as_me: exit $exit_status"
2166  } >&5
2167  rm -f core *.core core.conftest.* &&
2168    rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2169    exit $exit_status
2170' 0
2171for ac_signal in 1 2 13 15; do
2172  trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2173done
2174ac_signal=0
2175
2176# confdefs.h avoids OS command line length limits that DEFS can exceed.
2177rm -f -r conftest* confdefs.h
2178
2179$as_echo "/* confdefs.h */" > confdefs.h
2180
2181# Predefined preprocessor variables.
2182
2183cat >>confdefs.h <<_ACEOF
2184#define PACKAGE_NAME "$PACKAGE_NAME"
2185_ACEOF
2186
2187cat >>confdefs.h <<_ACEOF
2188#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2189_ACEOF
2190
2191cat >>confdefs.h <<_ACEOF
2192#define PACKAGE_VERSION "$PACKAGE_VERSION"
2193_ACEOF
2194
2195cat >>confdefs.h <<_ACEOF
2196#define PACKAGE_STRING "$PACKAGE_STRING"
2197_ACEOF
2198
2199cat >>confdefs.h <<_ACEOF
2200#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2201_ACEOF
2202
2203cat >>confdefs.h <<_ACEOF
2204#define PACKAGE_URL "$PACKAGE_URL"
2205_ACEOF
2206
2207
2208# Let the site file select an alternate cache file if it wants to.
2209# Prefer an explicitly selected file to automatically selected ones.
2210ac_site_file1=NONE
2211ac_site_file2=NONE
2212if test -n "$CONFIG_SITE"; then
2213  # We do not want a PATH search for config.site.
2214  case $CONFIG_SITE in #((
2215    -*)  ac_site_file1=./$CONFIG_SITE;;
2216    */*) ac_site_file1=$CONFIG_SITE;;
2217    *)   ac_site_file1=./$CONFIG_SITE;;
2218  esac
2219elif test "x$prefix" != xNONE; then
2220  ac_site_file1=$prefix/share/config.site
2221  ac_site_file2=$prefix/etc/config.site
2222else
2223  ac_site_file1=$ac_default_prefix/share/config.site
2224  ac_site_file2=$ac_default_prefix/etc/config.site
2225fi
2226for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2227do
2228  test "x$ac_site_file" = xNONE && continue
2229  if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2230    { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2231$as_echo "$as_me: loading site script $ac_site_file" >&6;}
2232    sed 's/^/| /' "$ac_site_file" >&5
2233    . "$ac_site_file" \
2234      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2235$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2236as_fn_error $? "failed to load site script $ac_site_file
2237See \`config.log' for more details" "$LINENO" 5; }
2238  fi
2239done
2240
2241
2242# Check that the precious variables saved in the cache have kept the same
2243# value.
2244ac_cache_corrupted=false
2245for ac_var in $ac_precious_vars; do
2246  eval ac_old_set=\$ac_cv_env_${ac_var}_set
2247  eval ac_new_set=\$ac_env_${ac_var}_set
2248  eval ac_old_val=\$ac_cv_env_${ac_var}_value
2249  eval ac_new_val=\$ac_env_${ac_var}_value
2250  case $ac_old_set,$ac_new_set in
2251    set,)
2252      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2253$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2254      ac_cache_corrupted=: ;;
2255    ,set)
2256      { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2257$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2258      ac_cache_corrupted=: ;;
2259    ,);;
2260    *)
2261      if test "x$ac_old_val" != "x$ac_new_val"; then
2262	# differences in whitespace do not lead to failure.
2263	ac_old_val_w=`echo x $ac_old_val`
2264	ac_new_val_w=`echo x $ac_new_val`
2265	if test "$ac_old_val_w" != "$ac_new_val_w"; then
2266	  { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2267$as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2268	  ac_cache_corrupted=:
2269	else
2270	  { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2271$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2272	  eval $ac_var=\$ac_old_val
2273	fi
2274	{ $as_echo "$as_me:${as_lineno-$LINENO}:   former value:  \`$ac_old_val'" >&5
2275$as_echo "$as_me:   former value:  \`$ac_old_val'" >&2;}
2276	{ $as_echo "$as_me:${as_lineno-$LINENO}:   current value: \`$ac_new_val'" >&5
2277$as_echo "$as_me:   current value: \`$ac_new_val'" >&2;}
2278      fi;;
2279  esac
2280  # Pass precious variables to config.status.
2281  if test "$ac_new_set" = set; then
2282    case $ac_new_val in
2283    *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2284    *) ac_arg=$ac_var=$ac_new_val ;;
2285    esac
2286    case " $ac_configure_args " in
2287      *" '$ac_arg' "*) ;; # Avoid dups.  Use of quotes ensures accuracy.
2288      *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2289    esac
2290  fi
2291done
2292if $ac_cache_corrupted; then
2293  { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2294$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2295  { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2296$as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2297  as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2298fi
2299## -------------------- ##
2300## Main body of script. ##
2301## -------------------- ##
2302
2303ac_ext=c
2304ac_cpp='$CPP $CPPFLAGS'
2305ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2306ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2307ac_compiler_gnu=$ac_cv_c_compiler_gnu
2308
2309
2310
2311ac_config_headers="$ac_config_headers mpe_graphics_conf.h"
2312
2313echo "Configuring MPE X Graphics Library with $ac_configure_args"
2314if test "X$srcdir" != "X." -a -s $srcdir/include/mpe_graphics.h ; then
2315    top_srcdir_abs=$srcdir
2316else
2317
2318{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for current directory name" >&5
2319$as_echo_n "checking for current directory name... " >&6; }
2320top_srcdir_abs=$PWD
2321if test "${top_srcdir_abs}" != "" -a -d "${top_srcdir_abs}" ; then
2322    if test -r ${top_srcdir_abs}/.foo$$ ; then
2323        rm -f ${top_srcdir_abs}/.foo$$
2324        rm -f .foo$$
2325    fi
2326    if test -r ${top_srcdir_abs}/.foo$$ -o -r .foo$$ ; then
2327        top_srcdir_abs=
2328    else
2329        echo "test" > ${top_srcdir_abs}/.foo$$
2330        if test ! -r .foo$$ ; then
2331            rm -f ${top_srcdir_abs}/.foo$$
2332            top_srcdir_abs=
2333        else
2334            rm -f ${top_srcdir_abs}/.foo$$
2335        fi
2336    fi
2337fi
2338if test "${top_srcdir_abs}" = "" ; then
2339    top_srcdir_abs=`pwd | sed -e 's%/tmp_mnt/%/%g'`
2340fi
2341if test ! -r ${top_srcdir_abs}/include/mpe_graphics.h  ; then
2342        top_srcdir_abs=`pwd`
2343    if test ! -r ${top_srcdir_abs}/include/mpe_graphics.h  ; then
2344        as_fn_error $? "Cannot determine the root directory!" "$LINENO" 5
2345    fi
2346    top_srcdir_abs=`pwd | sed -e 's%/tmp_mnt/%/%g'`
2347    if test ! -d ${top_srcdir_abs} ; then
2348        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Warning: your default path uses the automounter; this may
2349cause some problems if you use other NFS-connected systems." >&5
2350$as_echo "$as_me: WARNING: Warning: your default path uses the automounter; this may
2351cause some problems if you use other NFS-connected systems." >&2;}
2352        top_srcdir_abs=`pwd`
2353    fi
2354fi
2355if test -z "${top_srcdir_abs}" ; then
2356    top_srcdir_abs=`pwd | sed -e 's%/tmp_mnt/%/%g'`
2357    if test ! -d ${top_srcdir_abs} ; then
2358        { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Warning: your default path uses the automounter; this may
2359cause some problems if you use other NFS-connected systems." >&5
2360$as_echo "$as_me: WARNING: Warning: your default path uses the automounter; this may
2361cause some problems if you use other NFS-connected systems." >&2;}
2362        top_srcdir_abs=`pwd`
2363    fi
2364fi
2365{ $as_echo "$as_me:${as_lineno-$LINENO}: result: ${top_srcdir_abs}" >&5
2366$as_echo "${top_srcdir_abs}" >&6; }
2367
2368fi
2369
2370
2371# Check whether --enable-echo was given.
2372if test "${enable_echo+set}" = set; then :
2373  enableval=$enable_echo; set -x
2374fi
2375
2376
2377# Check whether --enable-softerror was given.
2378if test "${enable_softerror+set}" = set; then :
2379  enableval=$enable_softerror;
2380else
2381  enable_softerror=${mpe_enable_softerror:-no}
2382fi
2383
2384
2385MAKE=${MAKE:-make}
2386MPI_IMPL=${MPI_IMPL:-UserSupplied}
2387MPE_BUILD_FORTRAN2C=${MPE_BUILD_FORTRAN2C:-no}
2388CC=${CC:-cc}
2389CLINKER=${CLINKER:-$CC}
2390CFLAGS=${MPE_CFLAGS}
2391MPI_CC=${MPI_CC:-${CC}}
2392MPE_CLINKER=${MPE_CLINKER}
2393F77=${F77:-f77}
2394FLINKER=${FLINKER:-$F77}
2395FFLAGS=${MPE_FFLAGS}
2396MPI_F77=${MPI_F77:-${F77}}
2397MPE_FLINKER=${MPE_FLINKER}
2398FINC_PATH_LEADER=${FINC_PATH_LEADER:-"-I"}
2399FLIB_PATH_LEADER=${FLIB_PATH_LEADER:-"-L"}
2400MPI_CFLAGS=${MPI_CFLAGS}
2401MPI_FFLAGS=${MPI_FFLAGS}
2402MPI_LIBS=${MPI_LIBS}
2403
2404MPE_LIBNAME=${MPE_LIBNAME:-mpe}
2405PROF_LIBNAME="$MPE_LIBNAME"
2406ANIM_LIBNAME="a$MPE_LIBNAME"
2407
2408PROF_LIBS="-l$PROF_LIBNAME"
2409ANIM_LIBS="-l$ANIM_LIBNAME $PROF_LIBS"
2410XGRAPH_LIBS="$PROF_LIBS"
2411
2412
2413
2414{ $as_echo "$as_me:${as_lineno-$LINENO}: checking gnumake" >&5
2415$as_echo_n "checking gnumake... " >&6; }
2416rm -f conftest
2417cat > conftest <<.
2418SHELL=/bin/sh
2419ALL:
2420	@(dir=`pwd` ; cd .. ; \$(MAKE) -f \$\$dir/conftest SUB)
2421SUB:
2422	@echo "success"
2423.
2424str=`$MAKE -f conftest 2>&1`
2425if test "$str" != "success" ; then
2426    str=`$MAKE --no-print-directory -f conftest 2>&1`
2427    if test "$str" = "success" ; then
2428        MAKE="$MAKE --no-print-directory"
2429	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes using --no-print-directory" >&5
2430$as_echo "yes using --no-print-directory" >&6; }
2431    else
2432	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2433$as_echo "no" >&6; }
2434    fi
2435else
2436    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2437$as_echo "no" >&6; }
2438fi
2439rm -f conftest
2440str=""
2441
2442
2443{ $as_echo "$as_me:${as_lineno-$LINENO}: checking BSD 4.4 make" >&5
2444$as_echo_n "checking BSD 4.4 make... " >&6; }
2445rm -f conftest
2446cat > conftest <<.
2447ALL:
2448	@echo "success"
2449.
2450cat > conftest1 <<.
2451include conftest
2452.
2453str=`$MAKE -f conftest1 2>&1`
2454rm -f conftest conftest1
2455if test "$str" != "success" ; then
2456    { $as_echo "$as_me:${as_lineno-$LINENO}: result: Found BSD 4.4 so-called make" >&5
2457$as_echo "Found BSD 4.4 so-called make" >&6; }
2458    echo "The BSD 4.4 make is INCOMPATIBLE with all other makes."
2459    echo "Using this so-called make may cause problems when building programs."
2460    echo "You should consider using gnumake instead."
2461
2462else
2463    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - whew" >&5
2464$as_echo "no - whew" >&6; }
2465fi
2466str=""
2467
2468
2469{ $as_echo "$as_me:${as_lineno-$LINENO}: checking OSF V3 make" >&5
2470$as_echo_n "checking OSF V3 make... " >&6; }
2471rm -f conftest
2472cat > conftest <<.
2473SHELL=/bin/sh
2474ALL:
2475	@# This is a valid comment!
2476	@echo "success"
2477.
2478str=`$MAKE -f conftest 2>&1`
2479rm -f conftest
2480if test "$str" != "success" ; then
2481    { $as_echo "$as_me:${as_lineno-$LINENO}: result: Found OSF V3 make" >&5
2482$as_echo "Found OSF V3 make" >&6; }
2483    echo "The OSF V3 make does not allow comments in target code."
2484    echo "Using this make may cause problems when building programs."
2485    echo "You should consider using gnumake instead."
2486
2487else
2488    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2489$as_echo "no" >&6; }
2490fi
2491str=""
2492
2493
2494
2495{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for virtual path format" >&5
2496$as_echo_n "checking for virtual path format... " >&6; }
2497rm -rf conftest*
2498mkdir conftestdir
2499cat >conftestdir/a.c <<EOF
2500A sample file
2501EOF
2502cat > conftest <<EOF
2503all: a.o
2504VPATH=.:conftestdir
2505.c.o:
2506	@echo \$<
2507EOF
2508ac_out=`$MAKE -f conftest 2>&1 | grep 'conftestdir/a.c'`
2509if test -n "$ac_out" ; then
2510    { $as_echo "$as_me:${as_lineno-$LINENO}: result: VPATH" >&5
2511$as_echo "VPATH" >&6; }
2512    VPATH='VPATH=.:$(srcdir)'
2513else
2514    rm -f conftest
2515    cat > conftest <<EOF
2516all: a.o
2517.PATH: . conftestdir
2518.c.o:
2519	@echo \$<
2520EOF
2521    ac_out=`$MAKE -f conftest 2>&1 | grep 'conftestdir/a.c'`
2522    if test -n "$ac_out" ; then
2523        { $as_echo "$as_me:${as_lineno-$LINENO}: result: .PATH" >&5
2524$as_echo ".PATH" >&6; }
2525        VPATH='.PATH: . $(srcdir)'
2526    else
2527	{ $as_echo "$as_me:${as_lineno-$LINENO}: result: neither VPATH nor .PATH works" >&5
2528$as_echo "neither VPATH nor .PATH works" >&6; }
2529    fi
2530fi
2531rm -rf conftest*
2532
2533
2534
2535if test ! -s include/mpe_graphics.h -a -z "$VPATH" ; then
2536    as_fn_error $? "No virtual MAKE path command found.
2537	You may need to set your make command
2538	The GNU make (sometimes available as gnumake) can be used. " "$LINENO" 5
2539fi
2540
2541MKDIR=mkdir
2542CPRP=cp
2543RM=rm
2544MV=mv
2545
2546
2547
2548
2549
2550# Check whether --enable-debugcheck was given.
2551if test "${enable_debugcheck+set}" = set; then :
2552  enableval=$enable_debugcheck;
2553fi
2554
2555
2556rootbuild_dir=`pwd`
2557for dir in include lib bin sbin etc ; do
2558    dirname=${dir}build_dir
2559    mpe_dirname=mpe_${dirname}
2560    eval dirvalue=\$"$dirname"
2561    eval $dirname=\$\{${mpe_dirname}\}
2562done
2563
2564for dir in include lib bin sbin etc ; do
2565    dirname=${dir}build_dir
2566    eval dirvalue=\$"$dirname"
2567    if test -n "$dirvalue" ; then
2568        if test ! -d $dirvalue ; then
2569            if mkdir -p $dirvalue ; then
2570                :
2571            else
2572
2573if test "$enable_softerror" = "yes" ; then
2574    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:  Could not create directory $dirvalue  " >&5
2575$as_echo "$as_me: WARNING:  Could not create directory $dirvalue  " >&2;}
2576    exit 0
2577else
2578    as_fn_error $? " Could not create directory $dirvalue  " "$LINENO" 5
2579fi
2580
2581            fi
2582        fi
2583    fi
2584done
2585
2586
2587
2588
2589
2590
2591
2592ac_ext=c
2593ac_cpp='$CPP $CPPFLAGS'
2594ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2595ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2596ac_compiler_gnu=$ac_cv_c_compiler_gnu
2597if test -n "$ac_tool_prefix"; then
2598  # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2599set dummy ${ac_tool_prefix}gcc; ac_word=$2
2600{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2601$as_echo_n "checking for $ac_word... " >&6; }
2602if ${ac_cv_prog_CC+:} false; then :
2603  $as_echo_n "(cached) " >&6
2604else
2605  if test -n "$CC"; then
2606  ac_cv_prog_CC="$CC" # Let the user override the test.
2607else
2608as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2609for as_dir in $PATH
2610do
2611  IFS=$as_save_IFS
2612  test -z "$as_dir" && as_dir=.
2613    for ac_exec_ext in '' $ac_executable_extensions; do
2614  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2615    ac_cv_prog_CC="${ac_tool_prefix}gcc"
2616    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2617    break 2
2618  fi
2619done
2620  done
2621IFS=$as_save_IFS
2622
2623fi
2624fi
2625CC=$ac_cv_prog_CC
2626if test -n "$CC"; then
2627  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2628$as_echo "$CC" >&6; }
2629else
2630  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2631$as_echo "no" >&6; }
2632fi
2633
2634
2635fi
2636if test -z "$ac_cv_prog_CC"; then
2637  ac_ct_CC=$CC
2638  # Extract the first word of "gcc", so it can be a program name with args.
2639set dummy gcc; ac_word=$2
2640{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2641$as_echo_n "checking for $ac_word... " >&6; }
2642if ${ac_cv_prog_ac_ct_CC+:} false; then :
2643  $as_echo_n "(cached) " >&6
2644else
2645  if test -n "$ac_ct_CC"; then
2646  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2647else
2648as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2649for as_dir in $PATH
2650do
2651  IFS=$as_save_IFS
2652  test -z "$as_dir" && as_dir=.
2653    for ac_exec_ext in '' $ac_executable_extensions; do
2654  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2655    ac_cv_prog_ac_ct_CC="gcc"
2656    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2657    break 2
2658  fi
2659done
2660  done
2661IFS=$as_save_IFS
2662
2663fi
2664fi
2665ac_ct_CC=$ac_cv_prog_ac_ct_CC
2666if test -n "$ac_ct_CC"; then
2667  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2668$as_echo "$ac_ct_CC" >&6; }
2669else
2670  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2671$as_echo "no" >&6; }
2672fi
2673
2674  if test "x$ac_ct_CC" = x; then
2675    CC=""
2676  else
2677    case $cross_compiling:$ac_tool_warned in
2678yes:)
2679{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2680$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2681ac_tool_warned=yes ;;
2682esac
2683    CC=$ac_ct_CC
2684  fi
2685else
2686  CC="$ac_cv_prog_CC"
2687fi
2688
2689if test -z "$CC"; then
2690          if test -n "$ac_tool_prefix"; then
2691    # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2692set dummy ${ac_tool_prefix}cc; ac_word=$2
2693{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2694$as_echo_n "checking for $ac_word... " >&6; }
2695if ${ac_cv_prog_CC+:} false; then :
2696  $as_echo_n "(cached) " >&6
2697else
2698  if test -n "$CC"; then
2699  ac_cv_prog_CC="$CC" # Let the user override the test.
2700else
2701as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2702for as_dir in $PATH
2703do
2704  IFS=$as_save_IFS
2705  test -z "$as_dir" && as_dir=.
2706    for ac_exec_ext in '' $ac_executable_extensions; do
2707  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2708    ac_cv_prog_CC="${ac_tool_prefix}cc"
2709    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2710    break 2
2711  fi
2712done
2713  done
2714IFS=$as_save_IFS
2715
2716fi
2717fi
2718CC=$ac_cv_prog_CC
2719if test -n "$CC"; then
2720  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2721$as_echo "$CC" >&6; }
2722else
2723  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2724$as_echo "no" >&6; }
2725fi
2726
2727
2728  fi
2729fi
2730if test -z "$CC"; then
2731  # Extract the first word of "cc", so it can be a program name with args.
2732set dummy cc; ac_word=$2
2733{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2734$as_echo_n "checking for $ac_word... " >&6; }
2735if ${ac_cv_prog_CC+:} false; then :
2736  $as_echo_n "(cached) " >&6
2737else
2738  if test -n "$CC"; then
2739  ac_cv_prog_CC="$CC" # Let the user override the test.
2740else
2741  ac_prog_rejected=no
2742as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2743for as_dir in $PATH
2744do
2745  IFS=$as_save_IFS
2746  test -z "$as_dir" && as_dir=.
2747    for ac_exec_ext in '' $ac_executable_extensions; do
2748  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2749    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2750       ac_prog_rejected=yes
2751       continue
2752     fi
2753    ac_cv_prog_CC="cc"
2754    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2755    break 2
2756  fi
2757done
2758  done
2759IFS=$as_save_IFS
2760
2761if test $ac_prog_rejected = yes; then
2762  # We found a bogon in the path, so make sure we never use it.
2763  set dummy $ac_cv_prog_CC
2764  shift
2765  if test $# != 0; then
2766    # We chose a different compiler from the bogus one.
2767    # However, it has the same basename, so the bogon will be chosen
2768    # first if we set CC to just the basename; use the full file name.
2769    shift
2770    ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2771  fi
2772fi
2773fi
2774fi
2775CC=$ac_cv_prog_CC
2776if test -n "$CC"; then
2777  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2778$as_echo "$CC" >&6; }
2779else
2780  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2781$as_echo "no" >&6; }
2782fi
2783
2784
2785fi
2786if test -z "$CC"; then
2787  if test -n "$ac_tool_prefix"; then
2788  for ac_prog in cl.exe
2789  do
2790    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2791set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2792{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2793$as_echo_n "checking for $ac_word... " >&6; }
2794if ${ac_cv_prog_CC+:} false; then :
2795  $as_echo_n "(cached) " >&6
2796else
2797  if test -n "$CC"; then
2798  ac_cv_prog_CC="$CC" # Let the user override the test.
2799else
2800as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2801for as_dir in $PATH
2802do
2803  IFS=$as_save_IFS
2804  test -z "$as_dir" && as_dir=.
2805    for ac_exec_ext in '' $ac_executable_extensions; do
2806  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2807    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2808    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2809    break 2
2810  fi
2811done
2812  done
2813IFS=$as_save_IFS
2814
2815fi
2816fi
2817CC=$ac_cv_prog_CC
2818if test -n "$CC"; then
2819  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2820$as_echo "$CC" >&6; }
2821else
2822  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2823$as_echo "no" >&6; }
2824fi
2825
2826
2827    test -n "$CC" && break
2828  done
2829fi
2830if test -z "$CC"; then
2831  ac_ct_CC=$CC
2832  for ac_prog in cl.exe
2833do
2834  # Extract the first word of "$ac_prog", so it can be a program name with args.
2835set dummy $ac_prog; ac_word=$2
2836{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2837$as_echo_n "checking for $ac_word... " >&6; }
2838if ${ac_cv_prog_ac_ct_CC+:} false; then :
2839  $as_echo_n "(cached) " >&6
2840else
2841  if test -n "$ac_ct_CC"; then
2842  ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2843else
2844as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2845for as_dir in $PATH
2846do
2847  IFS=$as_save_IFS
2848  test -z "$as_dir" && as_dir=.
2849    for ac_exec_ext in '' $ac_executable_extensions; do
2850  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2851    ac_cv_prog_ac_ct_CC="$ac_prog"
2852    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2853    break 2
2854  fi
2855done
2856  done
2857IFS=$as_save_IFS
2858
2859fi
2860fi
2861ac_ct_CC=$ac_cv_prog_ac_ct_CC
2862if test -n "$ac_ct_CC"; then
2863  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2864$as_echo "$ac_ct_CC" >&6; }
2865else
2866  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2867$as_echo "no" >&6; }
2868fi
2869
2870
2871  test -n "$ac_ct_CC" && break
2872done
2873
2874  if test "x$ac_ct_CC" = x; then
2875    CC=""
2876  else
2877    case $cross_compiling:$ac_tool_warned in
2878yes:)
2879{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2880$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2881ac_tool_warned=yes ;;
2882esac
2883    CC=$ac_ct_CC
2884  fi
2885fi
2886
2887fi
2888
2889
2890test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2891$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2892as_fn_error $? "no acceptable C compiler found in \$PATH
2893See \`config.log' for more details" "$LINENO" 5; }
2894
2895# Provide some information about the compiler.
2896$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2897set X $ac_compile
2898ac_compiler=$2
2899for ac_option in --version -v -V -qversion; do
2900  { { ac_try="$ac_compiler $ac_option >&5"
2901case "(($ac_try" in
2902  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2903  *) ac_try_echo=$ac_try;;
2904esac
2905eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2906$as_echo "$ac_try_echo"; } >&5
2907  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2908  ac_status=$?
2909  if test -s conftest.err; then
2910    sed '10a\
2911... rest of stderr output deleted ...
2912         10q' conftest.err >conftest.er1
2913    cat conftest.er1 >&5
2914  fi
2915  rm -f conftest.er1 conftest.err
2916  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2917  test $ac_status = 0; }
2918done
2919
2920cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2921/* end confdefs.h.  */
2922
2923int
2924main ()
2925{
2926
2927  ;
2928  return 0;
2929}
2930_ACEOF
2931ac_clean_files_save=$ac_clean_files
2932ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2933# Try to create an executable without -o first, disregard a.out.
2934# It will help us diagnose broken compilers, and finding out an intuition
2935# of exeext.
2936{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2937$as_echo_n "checking whether the C compiler works... " >&6; }
2938ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2939
2940# The possible output files:
2941ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2942
2943ac_rmfiles=
2944for ac_file in $ac_files
2945do
2946  case $ac_file in
2947    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2948    * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2949  esac
2950done
2951rm -f $ac_rmfiles
2952
2953if { { ac_try="$ac_link_default"
2954case "(($ac_try" in
2955  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2956  *) ac_try_echo=$ac_try;;
2957esac
2958eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2959$as_echo "$ac_try_echo"; } >&5
2960  (eval "$ac_link_default") 2>&5
2961  ac_status=$?
2962  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2963  test $ac_status = 0; }; then :
2964  # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2965# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2966# in a Makefile.  We should not override ac_cv_exeext if it was cached,
2967# so that the user can short-circuit this test for compilers unknown to
2968# Autoconf.
2969for ac_file in $ac_files ''
2970do
2971  test -f "$ac_file" || continue
2972  case $ac_file in
2973    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2974	;;
2975    [ab].out )
2976	# We found the default executable, but exeext='' is most
2977	# certainly right.
2978	break;;
2979    *.* )
2980	if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2981	then :; else
2982	   ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2983	fi
2984	# We set ac_cv_exeext here because the later test for it is not
2985	# safe: cross compilers may not add the suffix if given an `-o'
2986	# argument, so we may need to know it at that point already.
2987	# Even if this section looks crufty: it has the advantage of
2988	# actually working.
2989	break;;
2990    * )
2991	break;;
2992  esac
2993done
2994test "$ac_cv_exeext" = no && ac_cv_exeext=
2995
2996else
2997  ac_file=''
2998fi
2999if test -z "$ac_file"; then :
3000  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3001$as_echo "no" >&6; }
3002$as_echo "$as_me: failed program was:" >&5
3003sed 's/^/| /' conftest.$ac_ext >&5
3004
3005{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3006$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3007as_fn_error 77 "C compiler cannot create executables
3008See \`config.log' for more details" "$LINENO" 5; }
3009else
3010  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3011$as_echo "yes" >&6; }
3012fi
3013{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3014$as_echo_n "checking for C compiler default output file name... " >&6; }
3015{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3016$as_echo "$ac_file" >&6; }
3017ac_exeext=$ac_cv_exeext
3018
3019rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3020ac_clean_files=$ac_clean_files_save
3021{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3022$as_echo_n "checking for suffix of executables... " >&6; }
3023if { { ac_try="$ac_link"
3024case "(($ac_try" in
3025  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3026  *) ac_try_echo=$ac_try;;
3027esac
3028eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3029$as_echo "$ac_try_echo"; } >&5
3030  (eval "$ac_link") 2>&5
3031  ac_status=$?
3032  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3033  test $ac_status = 0; }; then :
3034  # If both `conftest.exe' and `conftest' are `present' (well, observable)
3035# catch `conftest.exe'.  For instance with Cygwin, `ls conftest' will
3036# work properly (i.e., refer to `conftest.exe'), while it won't with
3037# `rm'.
3038for ac_file in conftest.exe conftest conftest.*; do
3039  test -f "$ac_file" || continue
3040  case $ac_file in
3041    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3042    *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3043	  break;;
3044    * ) break;;
3045  esac
3046done
3047else
3048  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3049$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3050as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3051See \`config.log' for more details" "$LINENO" 5; }
3052fi
3053rm -f conftest conftest$ac_cv_exeext
3054{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3055$as_echo "$ac_cv_exeext" >&6; }
3056
3057rm -f conftest.$ac_ext
3058EXEEXT=$ac_cv_exeext
3059ac_exeext=$EXEEXT
3060cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3061/* end confdefs.h.  */
3062#include <stdio.h>
3063int
3064main ()
3065{
3066FILE *f = fopen ("conftest.out", "w");
3067 return ferror (f) || fclose (f) != 0;
3068
3069  ;
3070  return 0;
3071}
3072_ACEOF
3073ac_clean_files="$ac_clean_files conftest.out"
3074# Check that the compiler produces executables we can run.  If not, either
3075# the compiler is broken, or we cross compile.
3076{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3077$as_echo_n "checking whether we are cross compiling... " >&6; }
3078if test "$cross_compiling" != yes; then
3079  { { ac_try="$ac_link"
3080case "(($ac_try" in
3081  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3082  *) ac_try_echo=$ac_try;;
3083esac
3084eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3085$as_echo "$ac_try_echo"; } >&5
3086  (eval "$ac_link") 2>&5
3087  ac_status=$?
3088  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3089  test $ac_status = 0; }
3090  if { ac_try='./conftest$ac_cv_exeext'
3091  { { case "(($ac_try" in
3092  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3093  *) ac_try_echo=$ac_try;;
3094esac
3095eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3096$as_echo "$ac_try_echo"; } >&5
3097  (eval "$ac_try") 2>&5
3098  ac_status=$?
3099  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3100  test $ac_status = 0; }; }; then
3101    cross_compiling=no
3102  else
3103    if test "$cross_compiling" = maybe; then
3104	cross_compiling=yes
3105    else
3106	{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3107$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3108as_fn_error $? "cannot run C compiled programs.
3109If you meant to cross compile, use \`--host'.
3110See \`config.log' for more details" "$LINENO" 5; }
3111    fi
3112  fi
3113fi
3114{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3115$as_echo "$cross_compiling" >&6; }
3116
3117rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3118ac_clean_files=$ac_clean_files_save
3119{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3120$as_echo_n "checking for suffix of object files... " >&6; }
3121if ${ac_cv_objext+:} false; then :
3122  $as_echo_n "(cached) " >&6
3123else
3124  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3125/* end confdefs.h.  */
3126
3127int
3128main ()
3129{
3130
3131  ;
3132  return 0;
3133}
3134_ACEOF
3135rm -f conftest.o conftest.obj
3136if { { ac_try="$ac_compile"
3137case "(($ac_try" in
3138  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3139  *) ac_try_echo=$ac_try;;
3140esac
3141eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3142$as_echo "$ac_try_echo"; } >&5
3143  (eval "$ac_compile") 2>&5
3144  ac_status=$?
3145  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3146  test $ac_status = 0; }; then :
3147  for ac_file in conftest.o conftest.obj conftest.*; do
3148  test -f "$ac_file" || continue;
3149  case $ac_file in
3150    *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3151    *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3152       break;;
3153  esac
3154done
3155else
3156  $as_echo "$as_me: failed program was:" >&5
3157sed 's/^/| /' conftest.$ac_ext >&5
3158
3159{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3160$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3161as_fn_error $? "cannot compute suffix of object files: cannot compile
3162See \`config.log' for more details" "$LINENO" 5; }
3163fi
3164rm -f conftest.$ac_cv_objext conftest.$ac_ext
3165fi
3166{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3167$as_echo "$ac_cv_objext" >&6; }
3168OBJEXT=$ac_cv_objext
3169ac_objext=$OBJEXT
3170{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3171$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3172if ${ac_cv_c_compiler_gnu+:} false; then :
3173  $as_echo_n "(cached) " >&6
3174else
3175  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3176/* end confdefs.h.  */
3177
3178int
3179main ()
3180{
3181#ifndef __GNUC__
3182       choke me
3183#endif
3184
3185  ;
3186  return 0;
3187}
3188_ACEOF
3189if ac_fn_c_try_compile "$LINENO"; then :
3190  ac_compiler_gnu=yes
3191else
3192  ac_compiler_gnu=no
3193fi
3194rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3195ac_cv_c_compiler_gnu=$ac_compiler_gnu
3196
3197fi
3198{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3199$as_echo "$ac_cv_c_compiler_gnu" >&6; }
3200if test $ac_compiler_gnu = yes; then
3201  GCC=yes
3202else
3203  GCC=
3204fi
3205ac_test_CFLAGS=${CFLAGS+set}
3206ac_save_CFLAGS=$CFLAGS
3207{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3208$as_echo_n "checking whether $CC accepts -g... " >&6; }
3209if ${ac_cv_prog_cc_g+:} false; then :
3210  $as_echo_n "(cached) " >&6
3211else
3212  ac_save_c_werror_flag=$ac_c_werror_flag
3213   ac_c_werror_flag=yes
3214   ac_cv_prog_cc_g=no
3215   CFLAGS="-g"
3216   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3217/* end confdefs.h.  */
3218
3219int
3220main ()
3221{
3222
3223  ;
3224  return 0;
3225}
3226_ACEOF
3227if ac_fn_c_try_compile "$LINENO"; then :
3228  ac_cv_prog_cc_g=yes
3229else
3230  CFLAGS=""
3231      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3232/* end confdefs.h.  */
3233
3234int
3235main ()
3236{
3237
3238  ;
3239  return 0;
3240}
3241_ACEOF
3242if ac_fn_c_try_compile "$LINENO"; then :
3243
3244else
3245  ac_c_werror_flag=$ac_save_c_werror_flag
3246	 CFLAGS="-g"
3247	 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3248/* end confdefs.h.  */
3249
3250int
3251main ()
3252{
3253
3254  ;
3255  return 0;
3256}
3257_ACEOF
3258if ac_fn_c_try_compile "$LINENO"; then :
3259  ac_cv_prog_cc_g=yes
3260fi
3261rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3262fi
3263rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3264fi
3265rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3266   ac_c_werror_flag=$ac_save_c_werror_flag
3267fi
3268{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3269$as_echo "$ac_cv_prog_cc_g" >&6; }
3270if test "$ac_test_CFLAGS" = set; then
3271  CFLAGS=$ac_save_CFLAGS
3272elif test $ac_cv_prog_cc_g = yes; then
3273  if test "$GCC" = yes; then
3274    CFLAGS="-g -O2"
3275  else
3276    CFLAGS="-g"
3277  fi
3278else
3279  if test "$GCC" = yes; then
3280    CFLAGS="-O2"
3281  else
3282    CFLAGS=
3283  fi
3284fi
3285{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3286$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3287if ${ac_cv_prog_cc_c89+:} false; then :
3288  $as_echo_n "(cached) " >&6
3289else
3290  ac_cv_prog_cc_c89=no
3291ac_save_CC=$CC
3292cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3293/* end confdefs.h.  */
3294#include <stdarg.h>
3295#include <stdio.h>
3296struct stat;
3297/* Most of the following tests are stolen from RCS 5.7's src/conf.sh.  */
3298struct buf { int x; };
3299FILE * (*rcsopen) (struct buf *, struct stat *, int);
3300static char *e (p, i)
3301     char **p;
3302     int i;
3303{
3304  return p[i];
3305}
3306static char *f (char * (*g) (char **, int), char **p, ...)
3307{
3308  char *s;
3309  va_list v;
3310  va_start (v,p);
3311  s = g (p, va_arg (v,int));
3312  va_end (v);
3313  return s;
3314}
3315
3316/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default.  It has
3317   function prototypes and stuff, but not '\xHH' hex character constants.
3318   These don't provoke an error unfortunately, instead are silently treated
3319   as 'x'.  The following induces an error, until -std is added to get
3320   proper ANSI mode.  Curiously '\x00'!='x' always comes out true, for an
3321   array size at least.  It's necessary to write '\x00'==0 to get something
3322   that's true only with -std.  */
3323int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3324
3325/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3326   inside strings and character constants.  */
3327#define FOO(x) 'x'
3328int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3329
3330int test (int i, double x);
3331struct s1 {int (*f) (int a);};
3332struct s2 {int (*f) (double a);};
3333int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3334int argc;
3335char **argv;
3336int
3337main ()
3338{
3339return f (e, argv, 0) != argv[0]  ||  f (e, argv, 1) != argv[1];
3340  ;
3341  return 0;
3342}
3343_ACEOF
3344for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3345	-Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3346do
3347  CC="$ac_save_CC $ac_arg"
3348  if ac_fn_c_try_compile "$LINENO"; then :
3349  ac_cv_prog_cc_c89=$ac_arg
3350fi
3351rm -f core conftest.err conftest.$ac_objext
3352  test "x$ac_cv_prog_cc_c89" != "xno" && break
3353done
3354rm -f conftest.$ac_ext
3355CC=$ac_save_CC
3356
3357fi
3358# AC_CACHE_VAL
3359case "x$ac_cv_prog_cc_c89" in
3360  x)
3361    { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3362$as_echo "none needed" >&6; } ;;
3363  xno)
3364    { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3365$as_echo "unsupported" >&6; } ;;
3366  *)
3367    CC="$CC $ac_cv_prog_cc_c89"
3368    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3369$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3370esac
3371if test "x$ac_cv_prog_cc_c89" != xno; then :
3372
3373fi
3374
3375ac_ext=c
3376ac_cpp='$CPP $CPPFLAGS'
3377ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3378ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3379ac_compiler_gnu=$ac_cv_c_compiler_gnu
3380
3381
3382
3383# Extract the first word of "ar", so it can be a program name with args.
3384set dummy ar; ac_word=$2
3385{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3386$as_echo_n "checking for $ac_word... " >&6; }
3387if ${ac_cv_prog_AR+:} false; then :
3388  $as_echo_n "(cached) " >&6
3389else
3390  if test -n "$AR"; then
3391  ac_cv_prog_AR="$AR" # Let the user override the test.
3392else
3393as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3394for as_dir in $PATH
3395do
3396  IFS=$as_save_IFS
3397  test -z "$as_dir" && as_dir=.
3398    for ac_exec_ext in '' $ac_executable_extensions; do
3399  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3400    ac_cv_prog_AR="ar"
3401    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3402    break 2
3403  fi
3404done
3405  done
3406IFS=$as_save_IFS
3407
3408  test -z "$ac_cv_prog_AR" && ac_cv_prog_AR=";"
3409fi
3410fi
3411AR=$ac_cv_prog_AR
3412if test -n "$AR"; then
3413  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
3414$as_echo "$AR" >&6; }
3415else
3416  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3417$as_echo "no" >&6; }
3418fi
3419
3420
3421if test -n "$ac_tool_prefix"; then
3422  # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3423set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3424{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3425$as_echo_n "checking for $ac_word... " >&6; }
3426if ${ac_cv_prog_RANLIB+:} false; then :
3427  $as_echo_n "(cached) " >&6
3428else
3429  if test -n "$RANLIB"; then
3430  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3431else
3432as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3433for as_dir in $PATH
3434do
3435  IFS=$as_save_IFS
3436  test -z "$as_dir" && as_dir=.
3437    for ac_exec_ext in '' $ac_executable_extensions; do
3438  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3439    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3440    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3441    break 2
3442  fi
3443done
3444  done
3445IFS=$as_save_IFS
3446
3447fi
3448fi
3449RANLIB=$ac_cv_prog_RANLIB
3450if test -n "$RANLIB"; then
3451  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
3452$as_echo "$RANLIB" >&6; }
3453else
3454  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3455$as_echo "no" >&6; }
3456fi
3457
3458
3459fi
3460if test -z "$ac_cv_prog_RANLIB"; then
3461  ac_ct_RANLIB=$RANLIB
3462  # Extract the first word of "ranlib", so it can be a program name with args.
3463set dummy ranlib; ac_word=$2
3464{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3465$as_echo_n "checking for $ac_word... " >&6; }
3466if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
3467  $as_echo_n "(cached) " >&6
3468else
3469  if test -n "$ac_ct_RANLIB"; then
3470  ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3471else
3472as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3473for as_dir in $PATH
3474do
3475  IFS=$as_save_IFS
3476  test -z "$as_dir" && as_dir=.
3477    for ac_exec_ext in '' $ac_executable_extensions; do
3478  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3479    ac_cv_prog_ac_ct_RANLIB="ranlib"
3480    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3481    break 2
3482  fi
3483done
3484  done
3485IFS=$as_save_IFS
3486
3487fi
3488fi
3489ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3490if test -n "$ac_ct_RANLIB"; then
3491  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
3492$as_echo "$ac_ct_RANLIB" >&6; }
3493else
3494  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3495$as_echo "no" >&6; }
3496fi
3497
3498  if test "x$ac_ct_RANLIB" = x; then
3499    RANLIB=":"
3500  else
3501    case $cross_compiling:$ac_tool_warned in
3502yes:)
3503{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3504$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3505ac_tool_warned=yes ;;
3506esac
3507    RANLIB=$ac_ct_RANLIB
3508  fi
3509else
3510  RANLIB="$ac_cv_prog_RANLIB"
3511fi
3512
3513
3514if test "x$CC" != xcc; then
3515  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
3516$as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
3517else
3518  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
3519$as_echo_n "checking whether cc understands -c and -o together... " >&6; }
3520fi
3521set dummy $CC; ac_cc=`$as_echo "$2" |
3522		      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3523if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
3524  $as_echo_n "(cached) " >&6
3525else
3526  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3527/* end confdefs.h.  */
3528
3529int
3530main ()
3531{
3532
3533  ;
3534  return 0;
3535}
3536_ACEOF
3537# Make sure it works both with $CC and with simple cc.
3538# We do the test twice because some compilers refuse to overwrite an
3539# existing .o file with -o, though they will create one.
3540ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3541rm -f conftest2.*
3542if { { case "(($ac_try" in
3543  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3544  *) ac_try_echo=$ac_try;;
3545esac
3546eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3547$as_echo "$ac_try_echo"; } >&5
3548  (eval "$ac_try") 2>&5
3549  ac_status=$?
3550  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3551  test $ac_status = 0; } &&
3552   test -f conftest2.$ac_objext && { { case "(($ac_try" in
3553  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3554  *) ac_try_echo=$ac_try;;
3555esac
3556eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3557$as_echo "$ac_try_echo"; } >&5
3558  (eval "$ac_try") 2>&5
3559  ac_status=$?
3560  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3561  test $ac_status = 0; };
3562then
3563  eval ac_cv_prog_cc_${ac_cc}_c_o=yes
3564  if test "x$CC" != xcc; then
3565    # Test first that cc exists at all.
3566    if { ac_try='cc -c conftest.$ac_ext >&5'
3567  { { case "(($ac_try" in
3568  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3569  *) ac_try_echo=$ac_try;;
3570esac
3571eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3572$as_echo "$ac_try_echo"; } >&5
3573  (eval "$ac_try") 2>&5
3574  ac_status=$?
3575  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3576  test $ac_status = 0; }; }; then
3577      ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3578      rm -f conftest2.*
3579      if { { case "(($ac_try" in
3580  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3581  *) ac_try_echo=$ac_try;;
3582esac
3583eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3584$as_echo "$ac_try_echo"; } >&5
3585  (eval "$ac_try") 2>&5
3586  ac_status=$?
3587  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3588  test $ac_status = 0; } &&
3589	 test -f conftest2.$ac_objext && { { case "(($ac_try" in
3590  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3591  *) ac_try_echo=$ac_try;;
3592esac
3593eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3594$as_echo "$ac_try_echo"; } >&5
3595  (eval "$ac_try") 2>&5
3596  ac_status=$?
3597  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3598  test $ac_status = 0; };
3599      then
3600	# cc works too.
3601	:
3602      else
3603	# cc exists but doesn't like -o.
3604	eval ac_cv_prog_cc_${ac_cc}_c_o=no
3605      fi
3606    fi
3607  fi
3608else
3609  eval ac_cv_prog_cc_${ac_cc}_c_o=no
3610fi
3611rm -f core conftest*
3612
3613fi
3614if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
3615  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3616$as_echo "yes" >&6; }
3617else
3618  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3619$as_echo "no" >&6; }
3620
3621$as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
3622
3623fi
3624
3625# set CC_DOES_C_O to the value of \${ac_cv_prog_cc_${ac_cc}_c_o}
3626eval CC_DOES_C_O=\${ac_cv_prog_cc_${ac_cc}_c_o}
3627
3628
3629ac_ext=c
3630ac_cpp='$CPP $CPPFLAGS'
3631ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3632ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3633ac_compiler_gnu=$ac_cv_c_compiler_gnu
3634{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3635$as_echo_n "checking how to run the C preprocessor... " >&6; }
3636# On Suns, sometimes $CPP names a directory.
3637if test -n "$CPP" && test -d "$CPP"; then
3638  CPP=
3639fi
3640if test -z "$CPP"; then
3641  if ${ac_cv_prog_CPP+:} false; then :
3642  $as_echo_n "(cached) " >&6
3643else
3644      # Double quotes because CPP needs to be expanded
3645    for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3646    do
3647      ac_preproc_ok=false
3648for ac_c_preproc_warn_flag in '' yes
3649do
3650  # Use a header file that comes with gcc, so configuring glibc
3651  # with a fresh cross-compiler works.
3652  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3653  # <limits.h> exists even on freestanding compilers.
3654  # On the NeXT, cc -E runs the code through the compiler's parser,
3655  # not just through cpp. "Syntax error" is here to catch this case.
3656  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3657/* end confdefs.h.  */
3658#ifdef __STDC__
3659# include <limits.h>
3660#else
3661# include <assert.h>
3662#endif
3663		     Syntax error
3664_ACEOF
3665if ac_fn_c_try_cpp "$LINENO"; then :
3666
3667else
3668  # Broken: fails on valid input.
3669continue
3670fi
3671rm -f conftest.err conftest.i conftest.$ac_ext
3672
3673  # OK, works on sane cases.  Now check whether nonexistent headers
3674  # can be detected and how.
3675  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3676/* end confdefs.h.  */
3677#include <ac_nonexistent.h>
3678_ACEOF
3679if ac_fn_c_try_cpp "$LINENO"; then :
3680  # Broken: success on invalid input.
3681continue
3682else
3683  # Passes both tests.
3684ac_preproc_ok=:
3685break
3686fi
3687rm -f conftest.err conftest.i conftest.$ac_ext
3688
3689done
3690# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3691rm -f conftest.i conftest.err conftest.$ac_ext
3692if $ac_preproc_ok; then :
3693  break
3694fi
3695
3696    done
3697    ac_cv_prog_CPP=$CPP
3698
3699fi
3700  CPP=$ac_cv_prog_CPP
3701else
3702  ac_cv_prog_CPP=$CPP
3703fi
3704{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3705$as_echo "$CPP" >&6; }
3706ac_preproc_ok=false
3707for ac_c_preproc_warn_flag in '' yes
3708do
3709  # Use a header file that comes with gcc, so configuring glibc
3710  # with a fresh cross-compiler works.
3711  # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3712  # <limits.h> exists even on freestanding compilers.
3713  # On the NeXT, cc -E runs the code through the compiler's parser,
3714  # not just through cpp. "Syntax error" is here to catch this case.
3715  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3716/* end confdefs.h.  */
3717#ifdef __STDC__
3718# include <limits.h>
3719#else
3720# include <assert.h>
3721#endif
3722		     Syntax error
3723_ACEOF
3724if ac_fn_c_try_cpp "$LINENO"; then :
3725
3726else
3727  # Broken: fails on valid input.
3728continue
3729fi
3730rm -f conftest.err conftest.i conftest.$ac_ext
3731
3732  # OK, works on sane cases.  Now check whether nonexistent headers
3733  # can be detected and how.
3734  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3735/* end confdefs.h.  */
3736#include <ac_nonexistent.h>
3737_ACEOF
3738if ac_fn_c_try_cpp "$LINENO"; then :
3739  # Broken: success on invalid input.
3740continue
3741else
3742  # Passes both tests.
3743ac_preproc_ok=:
3744break
3745fi
3746rm -f conftest.err conftest.i conftest.$ac_ext
3747
3748done
3749# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3750rm -f conftest.i conftest.err conftest.$ac_ext
3751if $ac_preproc_ok; then :
3752
3753else
3754  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3755$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3756as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3757See \`config.log' for more details" "$LINENO" 5; }
3758fi
3759
3760ac_ext=c
3761ac_cpp='$CPP $CPPFLAGS'
3762ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3763ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3764ac_compiler_gnu=$ac_cv_c_compiler_gnu
3765
3766if test "$CPP" = "/lib/cpp" -a ! -x /lib/cpp ; then
3767   as_fn_error $? "configure could not find a working C preprocessor " "$LINENO" 5
3768fi
3769
3770DEBUG_LIBS=""
3771if test "$enable_debugcheck" = "yes" ; then
3772
3773{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for malloc in -lefence" >&5
3774$as_echo_n "checking for malloc in -lefence... " >&6; }
3775if ${ac_cv_lib_efence_malloc+:} false; then :
3776  $as_echo_n "(cached) " >&6
3777else
3778  ac_check_lib_save_LIBS=$LIBS
3779LIBS="-lefence  $LIBS"
3780cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3781/* end confdefs.h.  */
3782
3783/* Override any GCC internal prototype to avoid an error.
3784   Use char because int might match the return type of a GCC
3785   builtin and then its argument prototype would still apply.  */
3786#ifdef __cplusplus
3787extern "C"
3788#endif
3789char malloc ();
3790int
3791main ()
3792{
3793return malloc ();
3794  ;
3795  return 0;
3796}
3797_ACEOF
3798if ac_fn_c_try_link "$LINENO"; then :
3799  ac_cv_lib_efence_malloc=yes
3800else
3801  ac_cv_lib_efence_malloc=no
3802fi
3803rm -f core conftest.err conftest.$ac_objext \
3804    conftest$ac_exeext conftest.$ac_ext
3805LIBS=$ac_check_lib_save_LIBS
3806fi
3807{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_efence_malloc" >&5
3808$as_echo "$ac_cv_lib_efence_malloc" >&6; }
3809if test "x$ac_cv_lib_efence_malloc" = xyes; then :
3810  DEBUG_LIBS="-lefence"
3811fi
3812
3813fi
3814
3815
3816
3817{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
3818$as_echo_n "checking for X... " >&6; }
3819
3820
3821# Check whether --with-x was given.
3822if test "${with_x+set}" = set; then :
3823  withval=$with_x;
3824fi
3825
3826# $have_x is `yes', `no', `disabled', or empty when we do not yet know.
3827if test "x$with_x" = xno; then
3828  # The user explicitly disabled X.
3829  have_x=disabled
3830else
3831  case $x_includes,$x_libraries in #(
3832    *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
3833    *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
3834  $as_echo_n "(cached) " >&6
3835else
3836  # One or both of the vars are not set, and there is no cached value.
3837ac_x_includes=no ac_x_libraries=no
3838rm -f -r conftest.dir
3839if mkdir conftest.dir; then
3840  cd conftest.dir
3841  cat >Imakefile <<'_ACEOF'
3842incroot:
3843	@echo incroot='${INCROOT}'
3844usrlibdir:
3845	@echo usrlibdir='${USRLIBDIR}'
3846libdir:
3847	@echo libdir='${LIBDIR}'
3848_ACEOF
3849  if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
3850    # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3851    for ac_var in incroot usrlibdir libdir; do
3852      eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
3853    done
3854    # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
3855    for ac_extension in a so sl dylib la dll; do
3856      if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
3857	 test -f "$ac_im_libdir/libX11.$ac_extension"; then
3858	ac_im_usrlibdir=$ac_im_libdir; break
3859      fi
3860    done
3861    # Screen out bogus values from the imake configuration.  They are
3862    # bogus both because they are the default anyway, and because
3863    # using them would break gcc on systems where it needs fixed includes.
3864    case $ac_im_incroot in
3865	/usr/include) ac_x_includes= ;;
3866	*) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
3867    esac
3868    case $ac_im_usrlibdir in
3869	/usr/lib | /usr/lib64 | /lib | /lib64) ;;
3870	*) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
3871    esac
3872  fi
3873  cd ..
3874  rm -f -r conftest.dir
3875fi
3876
3877# Standard set of common directories for X headers.
3878# Check X11 before X11Rn because it is often a symlink to the current release.
3879ac_x_header_dirs='
3880/usr/X11/include
3881/usr/X11R7/include
3882/usr/X11R6/include
3883/usr/X11R5/include
3884/usr/X11R4/include
3885
3886/usr/include/X11
3887/usr/include/X11R7
3888/usr/include/X11R6
3889/usr/include/X11R5
3890/usr/include/X11R4
3891
3892/usr/local/X11/include
3893/usr/local/X11R7/include
3894/usr/local/X11R6/include
3895/usr/local/X11R5/include
3896/usr/local/X11R4/include
3897
3898/usr/local/include/X11
3899/usr/local/include/X11R7
3900/usr/local/include/X11R6
3901/usr/local/include/X11R5
3902/usr/local/include/X11R4
3903
3904/usr/X386/include
3905/usr/x386/include
3906/usr/XFree86/include/X11
3907
3908/usr/include
3909/usr/local/include
3910/usr/unsupported/include
3911/usr/athena/include
3912/usr/local/x11r5/include
3913/usr/lpp/Xamples/include
3914
3915/usr/openwin/include
3916/usr/openwin/share/include'
3917
3918if test "$ac_x_includes" = no; then
3919  # Guess where to find include files, by looking for Xlib.h.
3920  # First, try using that file with no special directory specified.
3921  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3922/* end confdefs.h.  */
3923#include <X11/Xlib.h>
3924_ACEOF
3925if ac_fn_c_try_cpp "$LINENO"; then :
3926  # We can compile using X headers with no special include directory.
3927ac_x_includes=
3928else
3929  for ac_dir in $ac_x_header_dirs; do
3930  if test -r "$ac_dir/X11/Xlib.h"; then
3931    ac_x_includes=$ac_dir
3932    break
3933  fi
3934done
3935fi
3936rm -f conftest.err conftest.i conftest.$ac_ext
3937fi # $ac_x_includes = no
3938
3939if test "$ac_x_libraries" = no; then
3940  # Check for the libraries.
3941  # See if we find them without any special options.
3942  # Don't add to $LIBS permanently.
3943  ac_save_LIBS=$LIBS
3944  LIBS="-lX11 $LIBS"
3945  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3946/* end confdefs.h.  */
3947#include <X11/Xlib.h>
3948int
3949main ()
3950{
3951XrmInitialize ()
3952  ;
3953  return 0;
3954}
3955_ACEOF
3956if ac_fn_c_try_link "$LINENO"; then :
3957  LIBS=$ac_save_LIBS
3958# We can link X programs with no special library path.
3959ac_x_libraries=
3960else
3961  LIBS=$ac_save_LIBS
3962for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
3963do
3964  # Don't even attempt the hair of trying to link an X program!
3965  for ac_extension in a so sl dylib la dll; do
3966    if test -r "$ac_dir/libX11.$ac_extension"; then
3967      ac_x_libraries=$ac_dir
3968      break 2
3969    fi
3970  done
3971done
3972fi
3973rm -f core conftest.err conftest.$ac_objext \
3974    conftest$ac_exeext conftest.$ac_ext
3975fi # $ac_x_libraries = no
3976
3977case $ac_x_includes,$ac_x_libraries in #(
3978  no,* | *,no | *\'*)
3979    # Didn't find X, or a directory has "'" in its name.
3980    ac_cv_have_x="have_x=no";; #(
3981  *)
3982    # Record where we found X for the cache.
3983    ac_cv_have_x="have_x=yes\
3984	ac_x_includes='$ac_x_includes'\
3985	ac_x_libraries='$ac_x_libraries'"
3986esac
3987fi
3988;; #(
3989    *) have_x=yes;;
3990  esac
3991  eval "$ac_cv_have_x"
3992fi # $with_x != no
3993
3994if test "$have_x" != yes; then
3995  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
3996$as_echo "$have_x" >&6; }
3997  no_x=yes
3998else
3999  # If each of the values was on the command line, it overrides each guess.
4000  test "x$x_includes" = xNONE && x_includes=$ac_x_includes
4001  test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
4002  # Update the cache value to reflect the command line values.
4003  ac_cv_have_x="have_x=yes\
4004	ac_x_includes='$x_includes'\
4005	ac_x_libraries='$x_libraries'"
4006  { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
4007$as_echo "libraries $x_libraries, headers $x_includes" >&6; }
4008fi
4009
4010
4011if test -z "$no_x" ; then
4012    if test -n "$x_includes" ; then
4013        X_INC=-I$x_includes
4014    fi
4015    if test -n "$x_libraries" ; then
4016        X_LIB="-L$x_libraries -lX11"
4017        ANIM_LIBS="$ANIM_LIBS -L$x_libraries -lX11"
4018        XGRAPH_LIBS="$XGRAPH_LIBS -L$x_libraries -lX11"
4019    else
4020        X_LIB="-lX11"
4021        ANIM_LIBS="$ANIM_LIBS -lX11"
4022        XGRAPH_LIBS="$XGRAPH_LIBS -lX11"
4023    fi
4024else
4025
4026if test "$enable_softerror" = "yes" ; then
4027    { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:  Could not find appropriate X windows libraries.  MPE routines that make use of X11 graphics will NOT be built unless you put X windows libraries in your path and reconfigure!  " >&5
4028$as_echo "$as_me: WARNING:  Could not find appropriate X windows libraries.  MPE routines that make use of X11 graphics will NOT be built unless you put X windows libraries in your path and reconfigure!  " >&2;}
4029    exit 0
4030else
4031    as_fn_error $? " Could not find appropriate X windows libraries.  MPE routines that make use of X11 graphics will NOT be built unless you put X windows libraries in your path and reconfigure!  " "$LINENO" 5
4032fi
4033
4034fi
4035
4036{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4037$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4038if ${ac_cv_path_GREP+:} false; then :
4039  $as_echo_n "(cached) " >&6
4040else
4041  if test -z "$GREP"; then
4042  ac_path_GREP_found=false
4043  # Loop through the user's path and test for each of PROGNAME-LIST
4044  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4045for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4046do
4047  IFS=$as_save_IFS
4048  test -z "$as_dir" && as_dir=.
4049    for ac_prog in grep ggrep; do
4050    for ac_exec_ext in '' $ac_executable_extensions; do
4051      ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4052      as_fn_executable_p "$ac_path_GREP" || continue
4053# Check for GNU ac_path_GREP and select it if it is found.
4054  # Check for GNU $ac_path_GREP
4055case `"$ac_path_GREP" --version 2>&1` in
4056*GNU*)
4057  ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4058*)
4059  ac_count=0
4060  $as_echo_n 0123456789 >"conftest.in"
4061  while :
4062  do
4063    cat "conftest.in" "conftest.in" >"conftest.tmp"
4064    mv "conftest.tmp" "conftest.in"
4065    cp "conftest.in" "conftest.nl"
4066    $as_echo 'GREP' >> "conftest.nl"
4067    "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4068    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4069    as_fn_arith $ac_count + 1 && ac_count=$as_val
4070    if test $ac_count -gt ${ac_path_GREP_max-0}; then
4071      # Best one so far, save it but keep looking for a better one
4072      ac_cv_path_GREP="$ac_path_GREP"
4073      ac_path_GREP_max=$ac_count
4074    fi
4075    # 10*(2^10) chars as input seems more than enough
4076    test $ac_count -gt 10 && break
4077  done
4078  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4079esac
4080
4081      $ac_path_GREP_found && break 3
4082    done
4083  done
4084  done
4085IFS=$as_save_IFS
4086  if test -z "$ac_cv_path_GREP"; then
4087    as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4088  fi
4089else
4090  ac_cv_path_GREP=$GREP
4091fi
4092
4093fi
4094{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4095$as_echo "$ac_cv_path_GREP" >&6; }
4096 GREP="$ac_cv_path_GREP"
4097
4098
4099{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4100$as_echo_n "checking for egrep... " >&6; }
4101if ${ac_cv_path_EGREP+:} false; then :
4102  $as_echo_n "(cached) " >&6
4103else
4104  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4105   then ac_cv_path_EGREP="$GREP -E"
4106   else
4107     if test -z "$EGREP"; then
4108  ac_path_EGREP_found=false
4109  # Loop through the user's path and test for each of PROGNAME-LIST
4110  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4111for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4112do
4113  IFS=$as_save_IFS
4114  test -z "$as_dir" && as_dir=.
4115    for ac_prog in egrep; do
4116    for ac_exec_ext in '' $ac_executable_extensions; do
4117      ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4118      as_fn_executable_p "$ac_path_EGREP" || continue
4119# Check for GNU ac_path_EGREP and select it if it is found.
4120  # Check for GNU $ac_path_EGREP
4121case `"$ac_path_EGREP" --version 2>&1` in
4122*GNU*)
4123  ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4124*)
4125  ac_count=0
4126  $as_echo_n 0123456789 >"conftest.in"
4127  while :
4128  do
4129    cat "conftest.in" "conftest.in" >"conftest.tmp"
4130    mv "conftest.tmp" "conftest.in"
4131    cp "conftest.in" "conftest.nl"
4132    $as_echo 'EGREP' >> "conftest.nl"
4133    "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4134    diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4135    as_fn_arith $ac_count + 1 && ac_count=$as_val
4136    if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4137      # Best one so far, save it but keep looking for a better one
4138      ac_cv_path_EGREP="$ac_path_EGREP"
4139      ac_path_EGREP_max=$ac_count
4140    fi
4141    # 10*(2^10) chars as input seems more than enough
4142    test $ac_count -gt 10 && break
4143  done
4144  rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4145esac
4146
4147      $ac_path_EGREP_found && break 3
4148    done
4149  done
4150  done
4151IFS=$as_save_IFS
4152  if test -z "$ac_cv_path_EGREP"; then
4153    as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4154  fi
4155else
4156  ac_cv_path_EGREP=$EGREP
4157fi
4158
4159   fi
4160fi
4161{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4162$as_echo "$ac_cv_path_EGREP" >&6; }
4163 EGREP="$ac_cv_path_EGREP"
4164
4165
4166{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4167$as_echo_n "checking for ANSI C header files... " >&6; }
4168if ${ac_cv_header_stdc+:} false; then :
4169  $as_echo_n "(cached) " >&6
4170else
4171  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4172/* end confdefs.h.  */
4173#include <stdlib.h>
4174#include <stdarg.h>
4175#include <string.h>
4176#include <float.h>
4177
4178int
4179main ()
4180{
4181
4182  ;
4183  return 0;
4184}
4185_ACEOF
4186if ac_fn_c_try_compile "$LINENO"; then :
4187  ac_cv_header_stdc=yes
4188else
4189  ac_cv_header_stdc=no
4190fi
4191rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4192
4193if test $ac_cv_header_stdc = yes; then
4194  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4195  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4196/* end confdefs.h.  */
4197#include <string.h>
4198
4199_ACEOF
4200if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4201  $EGREP "memchr" >/dev/null 2>&1; then :
4202
4203else
4204  ac_cv_header_stdc=no
4205fi
4206rm -f conftest*
4207
4208fi
4209
4210if test $ac_cv_header_stdc = yes; then
4211  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4212  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4213/* end confdefs.h.  */
4214#include <stdlib.h>
4215
4216_ACEOF
4217if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4218  $EGREP "free" >/dev/null 2>&1; then :
4219
4220else
4221  ac_cv_header_stdc=no
4222fi
4223rm -f conftest*
4224
4225fi
4226
4227if test $ac_cv_header_stdc = yes; then
4228  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4229  if test "$cross_compiling" = yes; then :
4230  :
4231else
4232  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4233/* end confdefs.h.  */
4234#include <ctype.h>
4235#include <stdlib.h>
4236#if ((' ' & 0x0FF) == 0x020)
4237# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4238# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4239#else
4240# define ISLOWER(c) \
4241		   (('a' <= (c) && (c) <= 'i') \
4242		     || ('j' <= (c) && (c) <= 'r') \
4243		     || ('s' <= (c) && (c) <= 'z'))
4244# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4245#endif
4246
4247#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4248int
4249main ()
4250{
4251  int i;
4252  for (i = 0; i < 256; i++)
4253    if (XOR (islower (i), ISLOWER (i))
4254	|| toupper (i) != TOUPPER (i))
4255      return 2;
4256  return 0;
4257}
4258_ACEOF
4259if ac_fn_c_try_run "$LINENO"; then :
4260
4261else
4262  ac_cv_header_stdc=no
4263fi
4264rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4265  conftest.$ac_objext conftest.beam conftest.$ac_ext
4266fi
4267
4268fi
4269fi
4270{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4271$as_echo "$ac_cv_header_stdc" >&6; }
4272if test $ac_cv_header_stdc = yes; then
4273
4274$as_echo "#define STDC_HEADERS 1" >>confdefs.h
4275
4276fi
4277
4278{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
4279$as_echo_n "checking for an ANSI C-conforming const... " >&6; }
4280if ${ac_cv_c_const+:} false; then :
4281  $as_echo_n "(cached) " >&6
4282else
4283  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4284/* end confdefs.h.  */
4285
4286int
4287main ()
4288{
4289
4290#ifndef __cplusplus
4291  /* Ultrix mips cc rejects this sort of thing.  */
4292  typedef int charset[2];
4293  const charset cs = { 0, 0 };
4294  /* SunOS 4.1.1 cc rejects this.  */
4295  char const *const *pcpcc;
4296  char **ppc;
4297  /* NEC SVR4.0.2 mips cc rejects this.  */
4298  struct point {int x, y;};
4299  static struct point const zero = {0,0};
4300  /* AIX XL C 1.02.0.0 rejects this.
4301     It does not let you subtract one const X* pointer from another in
4302     an arm of an if-expression whose if-part is not a constant
4303     expression */
4304  const char *g = "string";
4305  pcpcc = &g + (g ? g-g : 0);
4306  /* HPUX 7.0 cc rejects these. */
4307  ++pcpcc;
4308  ppc = (char**) pcpcc;
4309  pcpcc = (char const *const *) ppc;
4310  { /* SCO 3.2v4 cc rejects this sort of thing.  */
4311    char tx;
4312    char *t = &tx;
4313    char const *s = 0 ? (char *) 0 : (char const *) 0;
4314
4315    *t++ = 0;
4316    if (s) return 0;
4317  }
4318  { /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
4319    int x[] = {25, 17};
4320    const int *foo = &x[0];
4321    ++foo;
4322  }
4323  { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
4324    typedef const int *iptr;
4325    iptr p = 0;
4326    ++p;
4327  }
4328  { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
4329       "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
4330    struct s { int j; const int *ap[3]; } bx;
4331    struct s *b = &bx; b->j = 5;
4332  }
4333  { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
4334    const int foo = 10;
4335    if (!foo) return 0;
4336  }
4337  return !cs[0] && !zero.x;
4338#endif
4339
4340  ;
4341  return 0;
4342}
4343_ACEOF
4344if ac_fn_c_try_compile "$LINENO"; then :
4345  ac_cv_c_const=yes
4346else
4347  ac_cv_c_const=no
4348fi
4349rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4350fi
4351{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
4352$as_echo "$ac_cv_c_const" >&6; }
4353if test $ac_cv_c_const = no; then
4354
4355$as_echo "#define const /**/" >>confdefs.h
4356
4357fi
4358
4359
4360# On IRIX 5.3, sys/types and inttypes.h are conflicting.
4361for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4362		  inttypes.h stdint.h unistd.h
4363do :
4364  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4365ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4366"
4367if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4368  cat >>confdefs.h <<_ACEOF
4369#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4370_ACEOF
4371
4372fi
4373
4374done
4375
4376
4377# The cast to long int works around a bug in the HP C Compiler
4378# version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4379# declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4380# This bug is HP SR number 8606223364.
4381{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
4382$as_echo_n "checking size of void *... " >&6; }
4383if ${ac_cv_sizeof_void_p+:} false; then :
4384  $as_echo_n "(cached) " >&6
4385else
4386  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
4387
4388else
4389  if test "$ac_cv_type_void_p" = yes; then
4390     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4391$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4392as_fn_error 77 "cannot compute sizeof (void *)
4393See \`config.log' for more details" "$LINENO" 5; }
4394   else
4395     ac_cv_sizeof_void_p=0
4396   fi
4397fi
4398
4399fi
4400{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
4401$as_echo "$ac_cv_sizeof_void_p" >&6; }
4402
4403
4404
4405cat >>confdefs.h <<_ACEOF
4406#define SIZEOF_VOID_P $ac_cv_sizeof_void_p
4407_ACEOF
4408
4409
4410{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for long pointer" >&5
4411$as_echo_n "checking for long pointer... " >&6; }
4412if test "$ac_cv_sizeof_void_p" -gt 4 ; then
4413
4414$as_echo "#define POINTER_64_BITS 1" >>confdefs.h
4415
4416    { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4417$as_echo "yes" >&6; }
4418else
4419    { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4420$as_echo "no" >&6; }
4421fi
4422
4423for ac_func in system
4424do :
4425  ac_fn_c_check_func "$LINENO" "system" "ac_cv_func_system"
4426if test "x$ac_cv_func_system" = xyes; then :
4427  cat >>confdefs.h <<_ACEOF
4428#define HAVE_SYSTEM 1
4429_ACEOF
4430
4431fi
4432done
4433
4434
4435for ac_header in unistd.h stdlib.h string.h
4436do :
4437  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4438ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
4439if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4440  cat >>confdefs.h <<_ACEOF
4441#define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4442_ACEOF
4443
4444fi
4445
4446done
4447
4448
4449if test "$MPE_BUILD_FORTRAN2C" = "yes" ; then
4450
4451#   Determine MPI_Fint
4452    if test "$MPI_IMPL" != "MPICH" -a "$MPI_IMPL" != "MPICH2" ; then
4453        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MPI_Fint " >&5
4454$as_echo_n "checking for MPI_Fint ... " >&6; }
4455
4456    pac_MPI_CC="$MPI_CC"
4457    pac_MPI_CFLAGS="$MPI_CFLAGS"
4458    pac_MPI_LIBS="$MPI_LIBS"
4459    pac_saved_CC="$CC"
4460    pac_saved_CFLAGS="$CFLAGS"
4461    pac_saved_LIBS="$LIBS"
4462    ac_ext=c
4463ac_cpp='$CPP $CPPFLAGS'
4464ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4465ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4466ac_compiler_gnu=$ac_cv_c_compiler_gnu
4467
4468    CC="$pac_MPI_CC"
4469    CFLAGS="$pac_MPI_CFLAGS"
4470    LIBS="$pac_MPI_LIBS"
4471    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4472/* end confdefs.h.  */
4473
4474
4475/* <stdlib.h> is included to get NULL defined */
4476#if defined( STDC_HEADERS ) || defined( HAVE_STDLIB_H )
4477#include <stdlib.h>
4478#else
4479#if !defined( NULL )
4480#define NULL 0
4481#endif
4482#endif
4483
4484
4485#include "mpi.h"
4486
4487
4488int
4489main ()
4490{
4491
4492    int argc; char **argv;
4493     MPI_Fint aa=1  ;
4494    MPI_Init(&argc, &argv);
4495     ;
4496    MPI_Finalize();
4497
4498  ;
4499  return 0;
4500}
4501
4502_ACEOF
4503if ac_fn_c_try_link "$LINENO"; then :
4504  pac_mpi_working=yes
4505else
4506  pac_mpi_working=no
4507fi
4508rm -f core conftest.err conftest.$ac_objext \
4509    conftest$ac_exeext conftest.$ac_ext
4510    CC="$pac_saved_CC"
4511    CFLAGS="$pac_saved_CFLAGS"
4512    LIBS="$pac_saved_LIBS"
4513    ac_ext=c
4514ac_cpp='$CPP $CPPFLAGS'
4515ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4516ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4517ac_compiler_gnu=$ac_cv_c_compiler_gnu
4518
4519    if test "$pac_mpi_working" = "yes" ; then
4520         mpe_link_ok=yes
4521    else
4522         mpe_link_ok=no
4523    fi
4524
4525        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mpe_link_ok" >&5
4526$as_echo "$mpe_link_ok" >&6; }
4527    else
4528        # MPICH2,MPICH has MPI_Fint
4529        mpe_link_ok=yes
4530    fi
4531    if test "$mpe_link_ok" = "yes" ; then
4532        MPI_FINT_TYPE=MPI_Fint
4533    else
4534        { $as_echo "$as_me:${as_lineno-$LINENO}: result: Assumed MPI_Fint to be int" >&5
4535$as_echo "Assumed MPI_Fint to be int" >&6; }
4536        MPI_FINT_TYPE=int
4537
4538$as_echo "#define MPI_Fint int" >>confdefs.h
4539
4540    fi
4541
4542#   Determmine if MPI_Comm_f2c() and MPI_Comm_c2f() are there
4543    if test "$MPI_IMPL" != "MPICH" -a "$MPI_IMPL" != "MPICH2" ; then
4544        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MPI_Comm_c2f() and MPI_Comm_f2c() " >&5
4545$as_echo_n "checking for MPI_Comm_c2f() and MPI_Comm_f2c() ... " >&6; }
4546
4547    pac_MPI_CC="$MPI_CC"
4548    pac_MPI_CFLAGS="$MPI_CFLAGS"
4549    pac_MPI_LIBS="$MPI_LIBS"
4550    pac_saved_CC="$CC"
4551    pac_saved_CFLAGS="$CFLAGS"
4552    pac_saved_LIBS="$LIBS"
4553    ac_ext=c
4554ac_cpp='$CPP $CPPFLAGS'
4555ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4556ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4557ac_compiler_gnu=$ac_cv_c_compiler_gnu
4558
4559    CC="$pac_MPI_CC"
4560    CFLAGS="$pac_MPI_CFLAGS"
4561    LIBS="$pac_MPI_LIBS"
4562    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4563/* end confdefs.h.  */
4564
4565
4566/* <stdlib.h> is included to get NULL defined */
4567#if defined( STDC_HEADERS ) || defined( HAVE_STDLIB_H )
4568#include <stdlib.h>
4569#else
4570#if !defined( NULL )
4571#define NULL 0
4572#endif
4573#endif
4574
4575
4576#include "mpi.h"
4577
4578
4579int
4580main ()
4581{
4582
4583    int argc; char **argv;
4584
4585                              MPI_Comm comm; ${MPI_FINT_TYPE} aa;
4586                               ;
4587    MPI_Init(&argc, &argv);
4588
4589                              aa=MPI_Comm_c2f(comm) ;
4590                              comm=MPI_Comm_f2c(aa) ;
4591                               ;
4592    MPI_Finalize();
4593
4594  ;
4595  return 0;
4596}
4597
4598_ACEOF
4599if ac_fn_c_try_link "$LINENO"; then :
4600  pac_mpi_working=yes
4601else
4602  pac_mpi_working=no
4603fi
4604rm -f core conftest.err conftest.$ac_objext \
4605    conftest$ac_exeext conftest.$ac_ext
4606    CC="$pac_saved_CC"
4607    CFLAGS="$pac_saved_CFLAGS"
4608    LIBS="$pac_saved_LIBS"
4609    ac_ext=c
4610ac_cpp='$CPP $CPPFLAGS'
4611ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4612ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4613ac_compiler_gnu=$ac_cv_c_compiler_gnu
4614
4615    if test "$pac_mpi_working" = "yes" ; then
4616         mpe_link_ok=yes
4617    else
4618         mpe_link_ok=no
4619    fi
4620
4621        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $mpe_link_ok" >&5
4622$as_echo "$mpe_link_ok" >&6; }
4623    else
4624        mpe_link_ok=yes
4625    fi
4626    if test "$mpe_link_ok" = "yes" ; then
4627
4628$as_echo "#define HAVE_MPI_COMM_F2C 1" >>confdefs.h
4629
4630    fi
4631fi
4632
4633if test ! -d contrib ; then mkdir contrib ; fi
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663ac_config_files="$ac_config_files Makefile src/Makefile contrib/life/Makefile contrib/mandel/Makefile contrib/mastermind/Makefile contrib/test/Makefile etc/mpe_mpianim.conf etc/mpe_graphics.conf"
4664
4665
4666
4667test "x$prefix" = xNONE && prefix=$ac_default_prefix
4668# Let make expand exec_prefix.
4669test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4670
4671DEFS=-DHAVE_CONFIG_H
4672
4673ac_libobjs=
4674ac_ltlibobjs=
4675U=
4676for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4677  # 1. Remove the extension, and $U if already installed.
4678  ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4679  ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4680  # 2. Prepend LIBOBJDIR.  When used with automake>=1.10 LIBOBJDIR
4681  #    will be set to the directory where LIBOBJS objects are built.
4682  as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4683  as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4684done
4685LIBOBJS=$ac_libobjs
4686
4687LTLIBOBJS=$ac_ltlibobjs
4688
4689
4690
4691: "${CONFIG_STATUS=./config.status}"
4692ac_write_fail=0
4693ac_clean_files_save=$ac_clean_files
4694ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4695{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4696$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4697as_write_fail=0
4698cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4699#! $SHELL
4700# Generated by $as_me.
4701# Run this file to recreate the current configuration.
4702# Compiler output produced by configure, useful for debugging
4703# configure, is in config.log if it exists.
4704
4705debug=false
4706ac_cs_recheck=false
4707ac_cs_silent=false
4708
4709SHELL=\${CONFIG_SHELL-$SHELL}
4710export SHELL
4711_ASEOF
4712cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4713## -------------------- ##
4714## M4sh Initialization. ##
4715## -------------------- ##
4716
4717# Be more Bourne compatible
4718DUALCASE=1; export DUALCASE # for MKS sh
4719if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4720  emulate sh
4721  NULLCMD=:
4722  # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4723  # is contrary to our usage.  Disable this feature.
4724  alias -g '${1+"$@"}'='"$@"'
4725  setopt NO_GLOB_SUBST
4726else
4727  case `(set -o) 2>/dev/null` in #(
4728  *posix*) :
4729    set -o posix ;; #(
4730  *) :
4731     ;;
4732esac
4733fi
4734
4735
4736as_nl='
4737'
4738export as_nl
4739# Printing a long string crashes Solaris 7 /usr/bin/printf.
4740as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4741as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4742as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4743# Prefer a ksh shell builtin over an external printf program on Solaris,
4744# but without wasting forks for bash or zsh.
4745if test -z "$BASH_VERSION$ZSH_VERSION" \
4746    && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4747  as_echo='print -r --'
4748  as_echo_n='print -rn --'
4749elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4750  as_echo='printf %s\n'
4751  as_echo_n='printf %s'
4752else
4753  if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4754    as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4755    as_echo_n='/usr/ucb/echo -n'
4756  else
4757    as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4758    as_echo_n_body='eval
4759      arg=$1;
4760      case $arg in #(
4761      *"$as_nl"*)
4762	expr "X$arg" : "X\\(.*\\)$as_nl";
4763	arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4764      esac;
4765      expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4766    '
4767    export as_echo_n_body
4768    as_echo_n='sh -c $as_echo_n_body as_echo'
4769  fi
4770  export as_echo_body
4771  as_echo='sh -c $as_echo_body as_echo'
4772fi
4773
4774# The user is always right.
4775if test "${PATH_SEPARATOR+set}" != set; then
4776  PATH_SEPARATOR=:
4777  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4778    (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4779      PATH_SEPARATOR=';'
4780  }
4781fi
4782
4783
4784# IFS
4785# We need space, tab and new line, in precisely that order.  Quoting is
4786# there to prevent editors from complaining about space-tab.
4787# (If _AS_PATH_WALK were called with IFS unset, it would disable word
4788# splitting by setting IFS to empty value.)
4789IFS=" ""	$as_nl"
4790
4791# Find who we are.  Look in the path if we contain no directory separator.
4792as_myself=
4793case $0 in #((
4794  *[\\/]* ) as_myself=$0 ;;
4795  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4796for as_dir in $PATH
4797do
4798  IFS=$as_save_IFS
4799  test -z "$as_dir" && as_dir=.
4800    test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4801  done
4802IFS=$as_save_IFS
4803
4804     ;;
4805esac
4806# We did not find ourselves, most probably we were run as `sh COMMAND'
4807# in which case we are not to be found in the path.
4808if test "x$as_myself" = x; then
4809  as_myself=$0
4810fi
4811if test ! -f "$as_myself"; then
4812  $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4813  exit 1
4814fi
4815
4816# Unset variables that we do not need and which cause bugs (e.g. in
4817# pre-3.0 UWIN ksh).  But do not cause bugs in bash 2.01; the "|| exit 1"
4818# suppresses any "Segmentation fault" message there.  '((' could
4819# trigger a bug in pdksh 5.2.14.
4820for as_var in BASH_ENV ENV MAIL MAILPATH
4821do eval test x\${$as_var+set} = xset \
4822  && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4823done
4824PS1='$ '
4825PS2='> '
4826PS4='+ '
4827
4828# NLS nuisances.
4829LC_ALL=C
4830export LC_ALL
4831LANGUAGE=C
4832export LANGUAGE
4833
4834# CDPATH.
4835(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4836
4837
4838# as_fn_error STATUS ERROR [LINENO LOG_FD]
4839# ----------------------------------------
4840# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4841# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4842# script with STATUS, using 1 if that was 0.
4843as_fn_error ()
4844{
4845  as_status=$1; test $as_status -eq 0 && as_status=1
4846  if test "$4"; then
4847    as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4848    $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4849  fi
4850  $as_echo "$as_me: error: $2" >&2
4851  as_fn_exit $as_status
4852} # as_fn_error
4853
4854
4855# as_fn_set_status STATUS
4856# -----------------------
4857# Set $? to STATUS, without forking.
4858as_fn_set_status ()
4859{
4860  return $1
4861} # as_fn_set_status
4862
4863# as_fn_exit STATUS
4864# -----------------
4865# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4866as_fn_exit ()
4867{
4868  set +e
4869  as_fn_set_status $1
4870  exit $1
4871} # as_fn_exit
4872
4873# as_fn_unset VAR
4874# ---------------
4875# Portably unset VAR.
4876as_fn_unset ()
4877{
4878  { eval $1=; unset $1;}
4879}
4880as_unset=as_fn_unset
4881# as_fn_append VAR VALUE
4882# ----------------------
4883# Append the text in VALUE to the end of the definition contained in VAR. Take
4884# advantage of any shell optimizations that allow amortized linear growth over
4885# repeated appends, instead of the typical quadratic growth present in naive
4886# implementations.
4887if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4888  eval 'as_fn_append ()
4889  {
4890    eval $1+=\$2
4891  }'
4892else
4893  as_fn_append ()
4894  {
4895    eval $1=\$$1\$2
4896  }
4897fi # as_fn_append
4898
4899# as_fn_arith ARG...
4900# ------------------
4901# Perform arithmetic evaluation on the ARGs, and store the result in the
4902# global $as_val. Take advantage of shells that can avoid forks. The arguments
4903# must be portable across $(()) and expr.
4904if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4905  eval 'as_fn_arith ()
4906  {
4907    as_val=$(( $* ))
4908  }'
4909else
4910  as_fn_arith ()
4911  {
4912    as_val=`expr "$@" || test $? -eq 1`
4913  }
4914fi # as_fn_arith
4915
4916
4917if expr a : '\(a\)' >/dev/null 2>&1 &&
4918   test "X`expr 00001 : '.*\(...\)'`" = X001; then
4919  as_expr=expr
4920else
4921  as_expr=false
4922fi
4923
4924if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4925  as_basename=basename
4926else
4927  as_basename=false
4928fi
4929
4930if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4931  as_dirname=dirname
4932else
4933  as_dirname=false
4934fi
4935
4936as_me=`$as_basename -- "$0" ||
4937$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4938	 X"$0" : 'X\(//\)$' \| \
4939	 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4940$as_echo X/"$0" |
4941    sed '/^.*\/\([^/][^/]*\)\/*$/{
4942	    s//\1/
4943	    q
4944	  }
4945	  /^X\/\(\/\/\)$/{
4946	    s//\1/
4947	    q
4948	  }
4949	  /^X\/\(\/\).*/{
4950	    s//\1/
4951	    q
4952	  }
4953	  s/.*/./; q'`
4954
4955# Avoid depending upon Character Ranges.
4956as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4957as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4958as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4959as_cr_digits='0123456789'
4960as_cr_alnum=$as_cr_Letters$as_cr_digits
4961
4962ECHO_C= ECHO_N= ECHO_T=
4963case `echo -n x` in #(((((
4964-n*)
4965  case `echo 'xy\c'` in
4966  *c*) ECHO_T='	';;	# ECHO_T is single tab character.
4967  xy)  ECHO_C='\c';;
4968  *)   echo `echo ksh88 bug on AIX 6.1` > /dev/null
4969       ECHO_T='	';;
4970  esac;;
4971*)
4972  ECHO_N='-n';;
4973esac
4974
4975rm -f conf$$ conf$$.exe conf$$.file
4976if test -d conf$$.dir; then
4977  rm -f conf$$.dir/conf$$.file
4978else
4979  rm -f conf$$.dir
4980  mkdir conf$$.dir 2>/dev/null
4981fi
4982if (echo >conf$$.file) 2>/dev/null; then
4983  if ln -s conf$$.file conf$$ 2>/dev/null; then
4984    as_ln_s='ln -s'
4985    # ... but there are two gotchas:
4986    # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4987    # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4988    # In both cases, we have to default to `cp -pR'.
4989    ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4990      as_ln_s='cp -pR'
4991  elif ln conf$$.file conf$$ 2>/dev/null; then
4992    as_ln_s=ln
4993  else
4994    as_ln_s='cp -pR'
4995  fi
4996else
4997  as_ln_s='cp -pR'
4998fi
4999rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5000rmdir conf$$.dir 2>/dev/null
5001
5002
5003# as_fn_mkdir_p
5004# -------------
5005# Create "$as_dir" as a directory, including parents if necessary.
5006as_fn_mkdir_p ()
5007{
5008
5009  case $as_dir in #(
5010  -*) as_dir=./$as_dir;;
5011  esac
5012  test -d "$as_dir" || eval $as_mkdir_p || {
5013    as_dirs=
5014    while :; do
5015      case $as_dir in #(
5016      *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5017      *) as_qdir=$as_dir;;
5018      esac
5019      as_dirs="'$as_qdir' $as_dirs"
5020      as_dir=`$as_dirname -- "$as_dir" ||
5021$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5022	 X"$as_dir" : 'X\(//\)[^/]' \| \
5023	 X"$as_dir" : 'X\(//\)$' \| \
5024	 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5025$as_echo X"$as_dir" |
5026    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5027	    s//\1/
5028	    q
5029	  }
5030	  /^X\(\/\/\)[^/].*/{
5031	    s//\1/
5032	    q
5033	  }
5034	  /^X\(\/\/\)$/{
5035	    s//\1/
5036	    q
5037	  }
5038	  /^X\(\/\).*/{
5039	    s//\1/
5040	    q
5041	  }
5042	  s/.*/./; q'`
5043      test -d "$as_dir" && break
5044    done
5045    test -z "$as_dirs" || eval "mkdir $as_dirs"
5046  } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5047
5048
5049} # as_fn_mkdir_p
5050if mkdir -p . 2>/dev/null; then
5051  as_mkdir_p='mkdir -p "$as_dir"'
5052else
5053  test -d ./-p && rmdir ./-p
5054  as_mkdir_p=false
5055fi
5056
5057
5058# as_fn_executable_p FILE
5059# -----------------------
5060# Test if FILE is an executable regular file.
5061as_fn_executable_p ()
5062{
5063  test -f "$1" && test -x "$1"
5064} # as_fn_executable_p
5065as_test_x='test -x'
5066as_executable_p=as_fn_executable_p
5067
5068# Sed expression to map a string onto a valid CPP name.
5069as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5070
5071# Sed expression to map a string onto a valid variable name.
5072as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5073
5074
5075exec 6>&1
5076## ----------------------------------- ##
5077## Main body of $CONFIG_STATUS script. ##
5078## ----------------------------------- ##
5079_ASEOF
5080test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5081
5082cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5083# Save the log message, to keep $0 and so on meaningful, and to
5084# report actual input values of CONFIG_FILES etc. instead of their
5085# values after options handling.
5086ac_log="
5087This file was extended by $as_me, which was
5088generated by GNU Autoconf 2.69.  Invocation command line was
5089
5090  CONFIG_FILES    = $CONFIG_FILES
5091  CONFIG_HEADERS  = $CONFIG_HEADERS
5092  CONFIG_LINKS    = $CONFIG_LINKS
5093  CONFIG_COMMANDS = $CONFIG_COMMANDS
5094  $ $0 $@
5095
5096on `(hostname || uname -n) 2>/dev/null | sed 1q`
5097"
5098
5099_ACEOF
5100
5101case $ac_config_files in *"
5102"*) set x $ac_config_files; shift; ac_config_files=$*;;
5103esac
5104
5105case $ac_config_headers in *"
5106"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5107esac
5108
5109
5110cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5111# Files that config.status was made for.
5112config_files="$ac_config_files"
5113config_headers="$ac_config_headers"
5114
5115_ACEOF
5116
5117cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5118ac_cs_usage="\
5119\`$as_me' instantiates files and other configuration actions
5120from templates according to the current configuration.  Unless the files
5121and actions are specified as TAGs, all are instantiated by default.
5122
5123Usage: $0 [OPTION]... [TAG]...
5124
5125  -h, --help       print this help, then exit
5126  -V, --version    print version number and configuration settings, then exit
5127      --config     print configuration, then exit
5128  -q, --quiet, --silent
5129                   do not print progress messages
5130  -d, --debug      don't remove temporary files
5131      --recheck    update $as_me by reconfiguring in the same conditions
5132      --file=FILE[:TEMPLATE]
5133                   instantiate the configuration file FILE
5134      --header=FILE[:TEMPLATE]
5135                   instantiate the configuration header FILE
5136
5137Configuration files:
5138$config_files
5139
5140Configuration headers:
5141$config_headers
5142
5143Report bugs to the package provider."
5144
5145_ACEOF
5146cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5147ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5148ac_cs_version="\\
5149config.status
5150configured by $0, generated by GNU Autoconf 2.69,
5151  with options \\"\$ac_cs_config\\"
5152
5153Copyright (C) 2012 Free Software Foundation, Inc.
5154This config.status script is free software; the Free Software Foundation
5155gives unlimited permission to copy, distribute and modify it."
5156
5157ac_pwd='$ac_pwd'
5158srcdir='$srcdir'
5159test -n "\$AWK" || AWK=awk
5160_ACEOF
5161
5162cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5163# The default lists apply if the user does not specify any file.
5164ac_need_defaults=:
5165while test $# != 0
5166do
5167  case $1 in
5168  --*=?*)
5169    ac_option=`expr "X$1" : 'X\([^=]*\)='`
5170    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5171    ac_shift=:
5172    ;;
5173  --*=)
5174    ac_option=`expr "X$1" : 'X\([^=]*\)='`
5175    ac_optarg=
5176    ac_shift=:
5177    ;;
5178  *)
5179    ac_option=$1
5180    ac_optarg=$2
5181    ac_shift=shift
5182    ;;
5183  esac
5184
5185  case $ac_option in
5186  # Handling of the options.
5187  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5188    ac_cs_recheck=: ;;
5189  --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5190    $as_echo "$ac_cs_version"; exit ;;
5191  --config | --confi | --conf | --con | --co | --c )
5192    $as_echo "$ac_cs_config"; exit ;;
5193  --debug | --debu | --deb | --de | --d | -d )
5194    debug=: ;;
5195  --file | --fil | --fi | --f )
5196    $ac_shift
5197    case $ac_optarg in
5198    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5199    '') as_fn_error $? "missing file argument" ;;
5200    esac
5201    as_fn_append CONFIG_FILES " '$ac_optarg'"
5202    ac_need_defaults=false;;
5203  --header | --heade | --head | --hea )
5204    $ac_shift
5205    case $ac_optarg in
5206    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5207    esac
5208    as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5209    ac_need_defaults=false;;
5210  --he | --h)
5211    # Conflict between --help and --header
5212    as_fn_error $? "ambiguous option: \`$1'
5213Try \`$0 --help' for more information.";;
5214  --help | --hel | -h )
5215    $as_echo "$ac_cs_usage"; exit ;;
5216  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5217  | -silent | --silent | --silen | --sile | --sil | --si | --s)
5218    ac_cs_silent=: ;;
5219
5220  # This is an error.
5221  -*) as_fn_error $? "unrecognized option: \`$1'
5222Try \`$0 --help' for more information." ;;
5223
5224  *) as_fn_append ac_config_targets " $1"
5225     ac_need_defaults=false ;;
5226
5227  esac
5228  shift
5229done
5230
5231ac_configure_extra_args=
5232
5233if $ac_cs_silent; then
5234  exec 6>/dev/null
5235  ac_configure_extra_args="$ac_configure_extra_args --silent"
5236fi
5237
5238_ACEOF
5239cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5240if \$ac_cs_recheck; then
5241  set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5242  shift
5243  \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5244  CONFIG_SHELL='$SHELL'
5245  export CONFIG_SHELL
5246  exec "\$@"
5247fi
5248
5249_ACEOF
5250cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5251exec 5>>config.log
5252{
5253  echo
5254  sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5255## Running $as_me. ##
5256_ASBOX
5257  $as_echo "$ac_log"
5258} >&5
5259
5260_ACEOF
5261cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5262_ACEOF
5263
5264cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5265
5266# Handling of arguments.
5267for ac_config_target in $ac_config_targets
5268do
5269  case $ac_config_target in
5270    "mpe_graphics_conf.h") CONFIG_HEADERS="$CONFIG_HEADERS mpe_graphics_conf.h" ;;
5271    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5272    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
5273    "contrib/life/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/life/Makefile" ;;
5274    "contrib/mandel/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/mandel/Makefile" ;;
5275    "contrib/mastermind/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/mastermind/Makefile" ;;
5276    "contrib/test/Makefile") CONFIG_FILES="$CONFIG_FILES contrib/test/Makefile" ;;
5277    "etc/mpe_mpianim.conf") CONFIG_FILES="$CONFIG_FILES etc/mpe_mpianim.conf" ;;
5278    "etc/mpe_graphics.conf") CONFIG_FILES="$CONFIG_FILES etc/mpe_graphics.conf" ;;
5279
5280  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5281  esac
5282done
5283
5284
5285# If the user did not use the arguments to specify the items to instantiate,
5286# then the envvar interface is used.  Set only those that are not.
5287# We use the long form for the default assignment because of an extremely
5288# bizarre bug on SunOS 4.1.3.
5289if $ac_need_defaults; then
5290  test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
5291  test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
5292fi
5293
5294# Have a temporary directory for convenience.  Make it in the build tree
5295# simply because there is no reason against having it here, and in addition,
5296# creating and moving files from /tmp can sometimes cause problems.
5297# Hook for its removal unless debugging.
5298# Note that there is a small window in which the directory will not be cleaned:
5299# after its creation but before its name has been assigned to `$tmp'.
5300$debug ||
5301{
5302  tmp= ac_tmp=
5303  trap 'exit_status=$?
5304  : "${ac_tmp:=$tmp}"
5305  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5306' 0
5307  trap 'as_fn_exit 1' 1 2 13 15
5308}
5309# Create a (secure) tmp directory for tmp files.
5310
5311{
5312  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5313  test -d "$tmp"
5314}  ||
5315{
5316  tmp=./conf$$-$RANDOM
5317  (umask 077 && mkdir "$tmp")
5318} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5319ac_tmp=$tmp
5320
5321# Set up the scripts for CONFIG_FILES section.
5322# No need to generate them if there are no CONFIG_FILES.
5323# This happens for instance with `./config.status config.h'.
5324if test -n "$CONFIG_FILES"; then
5325
5326
5327ac_cr=`echo X | tr X '\015'`
5328# On cygwin, bash can eat \r inside `` if the user requested igncr.
5329# But we know of no other shell where ac_cr would be empty at this
5330# point, so we can use a bashism as a fallback.
5331if test "x$ac_cr" = x; then
5332  eval ac_cr=\$\'\\r\'
5333fi
5334ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5335if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5336  ac_cs_awk_cr='\\r'
5337else
5338  ac_cs_awk_cr=$ac_cr
5339fi
5340
5341echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5342_ACEOF
5343
5344
5345{
5346  echo "cat >conf$$subs.awk <<_ACEOF" &&
5347  echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5348  echo "_ACEOF"
5349} >conf$$subs.sh ||
5350  as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5351ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5352ac_delim='%!_!# '
5353for ac_last_try in false false false false false :; do
5354  . ./conf$$subs.sh ||
5355    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5356
5357  ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5358  if test $ac_delim_n = $ac_delim_num; then
5359    break
5360  elif $ac_last_try; then
5361    as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5362  else
5363    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5364  fi
5365done
5366rm -f conf$$subs.sh
5367
5368cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5369cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5370_ACEOF
5371sed -n '
5372h
5373s/^/S["/; s/!.*/"]=/
5374p
5375g
5376s/^[^!]*!//
5377:repl
5378t repl
5379s/'"$ac_delim"'$//
5380t delim
5381:nl
5382h
5383s/\(.\{148\}\)..*/\1/
5384t more1
5385s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5386p
5387n
5388b repl
5389:more1
5390s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5391p
5392g
5393s/.\{148\}//
5394t nl
5395:delim
5396h
5397s/\(.\{148\}\)..*/\1/
5398t more2
5399s/["\\]/\\&/g; s/^/"/; s/$/"/
5400p
5401b
5402:more2
5403s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5404p
5405g
5406s/.\{148\}//
5407t delim
5408' <conf$$subs.awk | sed '
5409/^[^""]/{
5410  N
5411  s/\n//
5412}
5413' >>$CONFIG_STATUS || ac_write_fail=1
5414rm -f conf$$subs.awk
5415cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5416_ACAWK
5417cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5418  for (key in S) S_is_set[key] = 1
5419  FS = ""
5420
5421}
5422{
5423  line = $ 0
5424  nfields = split(line, field, "@")
5425  substed = 0
5426  len = length(field[1])
5427  for (i = 2; i < nfields; i++) {
5428    key = field[i]
5429    keylen = length(key)
5430    if (S_is_set[key]) {
5431      value = S[key]
5432      line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5433      len += length(value) + length(field[++i])
5434      substed = 1
5435    } else
5436      len += 1 + keylen
5437  }
5438
5439  print line
5440}
5441
5442_ACAWK
5443_ACEOF
5444cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5445if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5446  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5447else
5448  cat
5449fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5450  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5451_ACEOF
5452
5453# VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5454# ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5455# trailing colons and then remove the whole line if VPATH becomes empty
5456# (actually we leave an empty line to preserve line numbers).
5457if test "x$srcdir" = x.; then
5458  ac_vpsub='/^[	 ]*VPATH[	 ]*=[	 ]*/{
5459h
5460s///
5461s/^/:/
5462s/[	 ]*$/:/
5463s/:\$(srcdir):/:/g
5464s/:\${srcdir}:/:/g
5465s/:@srcdir@:/:/g
5466s/^:*//
5467s/:*$//
5468x
5469s/\(=[	 ]*\).*/\1/
5470G
5471s/\n//
5472s/^[^=]*=[	 ]*$//
5473}'
5474fi
5475
5476cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5477fi # test -n "$CONFIG_FILES"
5478
5479# Set up the scripts for CONFIG_HEADERS section.
5480# No need to generate them if there are no CONFIG_HEADERS.
5481# This happens for instance with `./config.status Makefile'.
5482if test -n "$CONFIG_HEADERS"; then
5483cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
5484BEGIN {
5485_ACEOF
5486
5487# Transform confdefs.h into an awk script `defines.awk', embedded as
5488# here-document in config.status, that substitutes the proper values into
5489# config.h.in to produce config.h.
5490
5491# Create a delimiter string that does not exist in confdefs.h, to ease
5492# handling of long lines.
5493ac_delim='%!_!# '
5494for ac_last_try in false false :; do
5495  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
5496  if test -z "$ac_tt"; then
5497    break
5498  elif $ac_last_try; then
5499    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
5500  else
5501    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5502  fi
5503done
5504
5505# For the awk script, D is an array of macro values keyed by name,
5506# likewise P contains macro parameters if any.  Preserve backslash
5507# newline sequences.
5508
5509ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5510sed -n '
5511s/.\{148\}/&'"$ac_delim"'/g
5512t rset
5513:rset
5514s/^[	 ]*#[	 ]*define[	 ][	 ]*/ /
5515t def
5516d
5517:def
5518s/\\$//
5519t bsnl
5520s/["\\]/\\&/g
5521s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
5522D["\1"]=" \3"/p
5523s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2"/p
5524d
5525:bsnl
5526s/["\\]/\\&/g
5527s/^ \('"$ac_word_re"'\)\(([^()]*)\)[	 ]*\(.*\)/P["\1"]="\2"\
5528D["\1"]=" \3\\\\\\n"\\/p
5529t cont
5530s/^ \('"$ac_word_re"'\)[	 ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
5531t cont
5532d
5533:cont
5534n
5535s/.\{148\}/&'"$ac_delim"'/g
5536t clear
5537:clear
5538s/\\$//
5539t bsnlc
5540s/["\\]/\\&/g; s/^/"/; s/$/"/p
5541d
5542:bsnlc
5543s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
5544b cont
5545' <confdefs.h | sed '
5546s/'"$ac_delim"'/"\\\
5547"/g' >>$CONFIG_STATUS || ac_write_fail=1
5548
5549cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5550  for (key in D) D_is_set[key] = 1
5551  FS = ""
5552}
5553/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5554  line = \$ 0
5555  split(line, arg, " ")
5556  if (arg[1] == "#") {
5557    defundef = arg[2]
5558    mac1 = arg[3]
5559  } else {
5560    defundef = substr(arg[1], 2)
5561    mac1 = arg[2]
5562  }
5563  split(mac1, mac2, "(") #)
5564  macro = mac2[1]
5565  prefix = substr(line, 1, index(line, defundef) - 1)
5566  if (D_is_set[macro]) {
5567    # Preserve the white space surrounding the "#".
5568    print prefix "define", macro P[macro] D[macro]
5569    next
5570  } else {
5571    # Replace #undef with comments.  This is necessary, for example,
5572    # in the case of _POSIX_SOURCE, which is predefined and required
5573    # on some systems where configure will not decide to define it.
5574    if (defundef == "undef") {
5575      print "/*", prefix defundef, macro, "*/"
5576      next
5577    }
5578  }
5579}
5580{ print }
5581_ACAWK
5582_ACEOF
5583cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5584  as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
5585fi # test -n "$CONFIG_HEADERS"
5586
5587
5588eval set X "  :F $CONFIG_FILES  :H $CONFIG_HEADERS    "
5589shift
5590for ac_tag
5591do
5592  case $ac_tag in
5593  :[FHLC]) ac_mode=$ac_tag; continue;;
5594  esac
5595  case $ac_mode$ac_tag in
5596  :[FHL]*:*);;
5597  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5598  :[FH]-) ac_tag=-:-;;
5599  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5600  esac
5601  ac_save_IFS=$IFS
5602  IFS=:
5603  set x $ac_tag
5604  IFS=$ac_save_IFS
5605  shift
5606  ac_file=$1
5607  shift
5608
5609  case $ac_mode in
5610  :L) ac_source=$1;;
5611  :[FH])
5612    ac_file_inputs=
5613    for ac_f
5614    do
5615      case $ac_f in
5616      -) ac_f="$ac_tmp/stdin";;
5617      *) # Look for the file first in the build tree, then in the source tree
5618	 # (if the path is not absolute).  The absolute path cannot be DOS-style,
5619	 # because $ac_f cannot contain `:'.
5620	 test -f "$ac_f" ||
5621	   case $ac_f in
5622	   [\\/$]*) false;;
5623	   *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5624	   esac ||
5625	   as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5626      esac
5627      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5628      as_fn_append ac_file_inputs " '$ac_f'"
5629    done
5630
5631    # Let's still pretend it is `configure' which instantiates (i.e., don't
5632    # use $as_me), people would be surprised to read:
5633    #    /* config.h.  Generated by config.status.  */
5634    configure_input='Generated from '`
5635	  $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5636	`' by configure.'
5637    if test x"$ac_file" != x-; then
5638      configure_input="$ac_file.  $configure_input"
5639      { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5640$as_echo "$as_me: creating $ac_file" >&6;}
5641    fi
5642    # Neutralize special characters interpreted by sed in replacement strings.
5643    case $configure_input in #(
5644    *\&* | *\|* | *\\* )
5645       ac_sed_conf_input=`$as_echo "$configure_input" |
5646       sed 's/[\\\\&|]/\\\\&/g'`;; #(
5647    *) ac_sed_conf_input=$configure_input;;
5648    esac
5649
5650    case $ac_tag in
5651    *:-:* | *:-) cat >"$ac_tmp/stdin" \
5652      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5653    esac
5654    ;;
5655  esac
5656
5657  ac_dir=`$as_dirname -- "$ac_file" ||
5658$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5659	 X"$ac_file" : 'X\(//\)[^/]' \| \
5660	 X"$ac_file" : 'X\(//\)$' \| \
5661	 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5662$as_echo X"$ac_file" |
5663    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5664	    s//\1/
5665	    q
5666	  }
5667	  /^X\(\/\/\)[^/].*/{
5668	    s//\1/
5669	    q
5670	  }
5671	  /^X\(\/\/\)$/{
5672	    s//\1/
5673	    q
5674	  }
5675	  /^X\(\/\).*/{
5676	    s//\1/
5677	    q
5678	  }
5679	  s/.*/./; q'`
5680  as_dir="$ac_dir"; as_fn_mkdir_p
5681  ac_builddir=.
5682
5683case "$ac_dir" in
5684.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5685*)
5686  ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5687  # A ".." for each directory in $ac_dir_suffix.
5688  ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5689  case $ac_top_builddir_sub in
5690  "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5691  *)  ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5692  esac ;;
5693esac
5694ac_abs_top_builddir=$ac_pwd
5695ac_abs_builddir=$ac_pwd$ac_dir_suffix
5696# for backward compatibility:
5697ac_top_builddir=$ac_top_build_prefix
5698
5699case $srcdir in
5700  .)  # We are building in place.
5701    ac_srcdir=.
5702    ac_top_srcdir=$ac_top_builddir_sub
5703    ac_abs_top_srcdir=$ac_pwd ;;
5704  [\\/]* | ?:[\\/]* )  # Absolute name.
5705    ac_srcdir=$srcdir$ac_dir_suffix;
5706    ac_top_srcdir=$srcdir
5707    ac_abs_top_srcdir=$srcdir ;;
5708  *) # Relative name.
5709    ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5710    ac_top_srcdir=$ac_top_build_prefix$srcdir
5711    ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5712esac
5713ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5714
5715
5716  case $ac_mode in
5717  :F)
5718  #
5719  # CONFIG_FILE
5720  #
5721
5722_ACEOF
5723
5724cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5725# If the template does not know about datarootdir, expand it.
5726# FIXME: This hack should be removed a few years after 2.60.
5727ac_datarootdir_hack=; ac_datarootdir_seen=
5728ac_sed_dataroot='
5729/datarootdir/ {
5730  p
5731  q
5732}
5733/@datadir@/p
5734/@docdir@/p
5735/@infodir@/p
5736/@localedir@/p
5737/@mandir@/p'
5738case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5739*datarootdir*) ac_datarootdir_seen=yes;;
5740*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5741  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5742$as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5743_ACEOF
5744cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5745  ac_datarootdir_hack='
5746  s&@datadir@&$datadir&g
5747  s&@docdir@&$docdir&g
5748  s&@infodir@&$infodir&g
5749  s&@localedir@&$localedir&g
5750  s&@mandir@&$mandir&g
5751  s&\\\${datarootdir}&$datarootdir&g' ;;
5752esac
5753_ACEOF
5754
5755# Neutralize VPATH when `$srcdir' = `.'.
5756# Shell code in configure.ac might set extrasub.
5757# FIXME: do we really want to maintain this feature?
5758cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5759ac_sed_extra="$ac_vpsub
5760$extrasub
5761_ACEOF
5762cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5763:t
5764/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5765s|@configure_input@|$ac_sed_conf_input|;t t
5766s&@top_builddir@&$ac_top_builddir_sub&;t t
5767s&@top_build_prefix@&$ac_top_build_prefix&;t t
5768s&@srcdir@&$ac_srcdir&;t t
5769s&@abs_srcdir@&$ac_abs_srcdir&;t t
5770s&@top_srcdir@&$ac_top_srcdir&;t t
5771s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5772s&@builddir@&$ac_builddir&;t t
5773s&@abs_builddir@&$ac_abs_builddir&;t t
5774s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5775$ac_datarootdir_hack
5776"
5777eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
5778  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5779
5780test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5781  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
5782  { ac_out=`sed -n '/^[	 ]*datarootdir[	 ]*:*=/p' \
5783      "$ac_tmp/out"`; test -z "$ac_out"; } &&
5784  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5785which seems to be undefined.  Please make sure it is defined" >&5
5786$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5787which seems to be undefined.  Please make sure it is defined" >&2;}
5788
5789  rm -f "$ac_tmp/stdin"
5790  case $ac_file in
5791  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5792  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5793  esac \
5794  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5795 ;;
5796  :H)
5797  #
5798  # CONFIG_HEADER
5799  #
5800  if test x"$ac_file" != x-; then
5801    {
5802      $as_echo "/* $configure_input  */" \
5803      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
5804    } >"$ac_tmp/config.h" \
5805      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5806    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
5807      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
5808$as_echo "$as_me: $ac_file is unchanged" >&6;}
5809    else
5810      rm -f "$ac_file"
5811      mv "$ac_tmp/config.h" "$ac_file" \
5812	|| as_fn_error $? "could not create $ac_file" "$LINENO" 5
5813    fi
5814  else
5815    $as_echo "/* $configure_input  */" \
5816      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
5817      || as_fn_error $? "could not create -" "$LINENO" 5
5818  fi
5819 ;;
5820
5821
5822  esac
5823
5824done # for ac_tag
5825
5826
5827as_fn_exit 0
5828_ACEOF
5829ac_clean_files=$ac_clean_files_save
5830
5831test $ac_write_fail = 0 ||
5832  as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5833
5834
5835# configure is writing to config.log, and then calls config.status.
5836# config.status does its own redirection, appending to config.log.
5837# Unfortunately, on DOS this fails, as config.log is still kept open
5838# by configure, so config.status won't be able to write to it; its
5839# output is simply discarded.  So we exec the FD to /dev/null,
5840# effectively closing config.log, so it can be properly (re)opened and
5841# appended to by config.status.  When coming back to configure, we
5842# need to make the FD available again.
5843if test "$no_create" != yes; then
5844  ac_cs_success=:
5845  ac_config_status_args=
5846  test "$silent" = yes &&
5847    ac_config_status_args="$ac_config_status_args --quiet"
5848  exec 5>/dev/null
5849  $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5850  exec 5>>config.log
5851  # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5852  # would make configure fail if this is the last instruction.
5853  $ac_cs_success || as_fn_exit 1
5854fi
5855if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5856  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5857$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
5858fi
5859
5860