OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [tags/] [nog_patch_47/] [or1ksim/] [configure] - Diff between revs 518 and 551

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 518 Rev 551
Line 14... Line 14...
ac_help="$ac_help
ac_help="$ac_help
  --enable-readline       Use GNU readline"
  --enable-readline       Use GNU readline"
ac_help="$ac_help
ac_help="$ac_help
  --enable-profiling      generate profiling code"
  --enable-profiling      generate profiling code"
ac_help="$ac_help
ac_help="$ac_help
 
  --enable-fsim      compiles fsim, based on fast_config.c"
 
ac_help="$ac_help
  --enable-impl=     use -specific environment
  --enable-impl=     use -specific environment
                          (one of: bender, mp3, default)"
                          (one of: bender, mp3, default)"
 
 
# Initialize some variables set by options.
# Initialize some variables set by options.
# The variables have the same names as the options, with
# The variables have the same names as the options, with
Line 573... Line 575...
if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
fi
fi
 
 
echo $ac_n "checking host system type""... $ac_c" 1>&6
echo $ac_n "checking host system type""... $ac_c" 1>&6
echo "configure:579: checking host system type" >&5
echo "configure:581: checking host system type" >&5
 
 
host_alias=$host
host_alias=$host
case "$host_alias" in
case "$host_alias" in
NONE)
NONE)
  case $nonopt in
  case $nonopt in
Line 594... Line 596...
host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
echo "$ac_t""$host" 1>&6
echo "$ac_t""$host" 1>&6
 
 
echo $ac_n "checking target system type""... $ac_c" 1>&6
echo $ac_n "checking target system type""... $ac_c" 1>&6
echo "configure:600: checking target system type" >&5
echo "configure:602: checking target system type" >&5
 
 
target_alias=$target
target_alias=$target
case "$target_alias" in
case "$target_alias" in
NONE)
NONE)
  case $nonopt in
  case $nonopt in
Line 612... Line 614...
target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
echo "$ac_t""$target" 1>&6
echo "$ac_t""$target" 1>&6
 
 
echo $ac_n "checking build system type""... $ac_c" 1>&6
echo $ac_n "checking build system type""... $ac_c" 1>&6
echo "configure:618: checking build system type" >&5
echo "configure:620: checking build system type" >&5
 
 
build_alias=$build
build_alias=$build
case "$build_alias" in
case "$build_alias" in
NONE)
NONE)
  case $nonopt in
  case $nonopt in
Line 646... Line 648...
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
# ./install, which can be erroneously created by make from ./install.sh.
# ./install, which can be erroneously created by make from ./install.sh.
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
echo "configure:652: checking for a BSD compatible install" >&5
echo "configure:654: checking for a BSD compatible install" >&5
if test -z "$INSTALL"; then
if test -z "$INSTALL"; then
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
  echo $ac_n "(cached) $ac_c" 1>&6
else
else
    IFS="${IFS=         }"; ac_save_IFS="$IFS"; IFS=":"
    IFS="${IFS=         }"; ac_save_IFS="$IFS"; IFS=":"
Line 699... Line 701...
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
 
 
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 
 
echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
echo "configure:705: checking whether build environment is sane" >&5
echo "configure:707: checking whether build environment is sane" >&5
# Just in case
# Just in case
sleep 1
sleep 1
echo timestamp > conftestfile
echo timestamp > conftestfile
# Do `set' in a subshell so we don't clobber the current shell's
# Do `set' in a subshell so we don't clobber the current shell's
# arguments.  Must try -L first in case configure is actually a
# arguments.  Must try -L first in case configure is actually a
Line 756... Line 758...
 
 
# sed with no file args requires a program.
# sed with no file args requires a program.
test "$program_transform_name" = "" && program_transform_name="s,x,x,"
test "$program_transform_name" = "" && program_transform_name="s,x,x,"
 
 
echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
echo "configure:762: checking whether ${MAKE-make} sets \${MAKE}" >&5
echo "configure:764: checking whether ${MAKE-make} sets \${MAKE}" >&5
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
  echo $ac_n "(cached) $ac_c" 1>&6
else
else
  cat > conftestmake <<\EOF
  cat > conftestmake <<\EOF
Line 802... Line 804...
 
 
 
 
 
 
missing_dir=`cd $ac_aux_dir && pwd`
missing_dir=`cd $ac_aux_dir && pwd`
echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
echo "configure:808: checking for working aclocal" >&5
echo "configure:810: checking for working aclocal" >&5
# Run test in a subshell; some versions of sh will print an error if
# Run test in a subshell; some versions of sh will print an error if
# an executable is not found, even if stderr is redirected.
# an executable is not found, even if stderr is redirected.
# Redirect stdin to placate older versions of autoconf.  Sigh.
# Redirect stdin to placate older versions of autoconf.  Sigh.
if (aclocal --version) < /dev/null > /dev/null 2>&1; then
if (aclocal --version) < /dev/null > /dev/null 2>&1; then
   ACLOCAL=aclocal
   ACLOCAL=aclocal
Line 815... Line 817...
   ACLOCAL="$missing_dir/missing aclocal"
   ACLOCAL="$missing_dir/missing aclocal"
   echo "$ac_t""missing" 1>&6
   echo "$ac_t""missing" 1>&6
fi
fi
 
 
echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
echo "configure:821: checking for working autoconf" >&5
echo "configure:823: checking for working autoconf" >&5
# Run test in a subshell; some versions of sh will print an error if
# Run test in a subshell; some versions of sh will print an error if
# an executable is not found, even if stderr is redirected.
# an executable is not found, even if stderr is redirected.
# Redirect stdin to placate older versions of autoconf.  Sigh.
# Redirect stdin to placate older versions of autoconf.  Sigh.
if (autoconf --version) < /dev/null > /dev/null 2>&1; then
if (autoconf --version) < /dev/null > /dev/null 2>&1; then
   AUTOCONF=autoconf
   AUTOCONF=autoconf
Line 828... Line 830...
   AUTOCONF="$missing_dir/missing autoconf"
   AUTOCONF="$missing_dir/missing autoconf"
   echo "$ac_t""missing" 1>&6
   echo "$ac_t""missing" 1>&6
fi
fi
 
 
echo $ac_n "checking for working automake""... $ac_c" 1>&6
echo $ac_n "checking for working automake""... $ac_c" 1>&6
echo "configure:834: checking for working automake" >&5
echo "configure:836: checking for working automake" >&5
# Run test in a subshell; some versions of sh will print an error if
# Run test in a subshell; some versions of sh will print an error if
# an executable is not found, even if stderr is redirected.
# an executable is not found, even if stderr is redirected.
# Redirect stdin to placate older versions of autoconf.  Sigh.
# Redirect stdin to placate older versions of autoconf.  Sigh.
if (automake --version) < /dev/null > /dev/null 2>&1; then
if (automake --version) < /dev/null > /dev/null 2>&1; then
   AUTOMAKE=automake
   AUTOMAKE=automake
Line 841... Line 843...
   AUTOMAKE="$missing_dir/missing automake"
   AUTOMAKE="$missing_dir/missing automake"
   echo "$ac_t""missing" 1>&6
   echo "$ac_t""missing" 1>&6
fi
fi
 
 
echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
echo "configure:847: checking for working autoheader" >&5
echo "configure:849: checking for working autoheader" >&5
# Run test in a subshell; some versions of sh will print an error if
# Run test in a subshell; some versions of sh will print an error if
# an executable is not found, even if stderr is redirected.
# an executable is not found, even if stderr is redirected.
# Redirect stdin to placate older versions of autoconf.  Sigh.
# Redirect stdin to placate older versions of autoconf.  Sigh.
if (autoheader --version) < /dev/null > /dev/null 2>&1; then
if (autoheader --version) < /dev/null > /dev/null 2>&1; then
   AUTOHEADER=autoheader
   AUTOHEADER=autoheader
Line 854... Line 856...
   AUTOHEADER="$missing_dir/missing autoheader"
   AUTOHEADER="$missing_dir/missing autoheader"
   echo "$ac_t""missing" 1>&6
   echo "$ac_t""missing" 1>&6
fi
fi
 
 
echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
echo "configure:860: checking for working makeinfo" >&5
echo "configure:862: checking for working makeinfo" >&5
# Run test in a subshell; some versions of sh will print an error if
# Run test in a subshell; some versions of sh will print an error if
# an executable is not found, even if stderr is redirected.
# an executable is not found, even if stderr is redirected.
# Redirect stdin to placate older versions of autoconf.  Sigh.
# Redirect stdin to placate older versions of autoconf.  Sigh.
if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
   MAKEINFO=makeinfo
   MAKEINFO=makeinfo
Line 882... Line 884...
if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
fi
fi
 
 
echo $ac_n "checking host system type""... $ac_c" 1>&6
echo $ac_n "checking host system type""... $ac_c" 1>&6
echo "configure:888: checking host system type" >&5
echo "configure:890: checking host system type" >&5
 
 
host_alias=$host
host_alias=$host
case "$host_alias" in
case "$host_alias" in
NONE)
NONE)
  case $nonopt in
  case $nonopt in
Line 917... Line 919...
test -z "$CFLAGS" && CFLAGS=-g auto_cflags=1
test -z "$CFLAGS" && CFLAGS=-g auto_cflags=1
 
 
# Extract the first word of "gcc", so it can be a program name with args.
# Extract the first word of "gcc", so it can be a program name with args.
set dummy gcc; ac_word=$2
set dummy gcc; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:923: checking for $ac_word" >&5
echo "configure:925: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
  echo $ac_n "(cached) $ac_c" 1>&6
else
else
  if test -n "$CC"; then
  if test -n "$CC"; then
  ac_cv_prog_CC="$CC" # Let the user override the test.
  ac_cv_prog_CC="$CC" # Let the user override the test.
Line 947... Line 949...
 
 
if test -z "$CC"; then
if test -z "$CC"; then
  # Extract the first word of "cc", so it can be a program name with args.
  # Extract the first word of "cc", so it can be a program name with args.
set dummy cc; ac_word=$2
set dummy cc; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:953: checking for $ac_word" >&5
echo "configure:955: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
  echo $ac_n "(cached) $ac_c" 1>&6
else
else
  if test -n "$CC"; then
  if test -n "$CC"; then
  ac_cv_prog_CC="$CC" # Let the user override the test.
  ac_cv_prog_CC="$CC" # Let the user override the test.
Line 998... Line 1000...
    case "`uname -s`" in
    case "`uname -s`" in
    *win32* | *WIN32*)
    *win32* | *WIN32*)
      # Extract the first word of "cl", so it can be a program name with args.
      # Extract the first word of "cl", so it can be a program name with args.
set dummy cl; ac_word=$2
set dummy cl; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:1004: checking for $ac_word" >&5
echo "configure:1006: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
  echo $ac_n "(cached) $ac_c" 1>&6
else
else
  if test -n "$CC"; then
  if test -n "$CC"; then
  ac_cv_prog_CC="$CC" # Let the user override the test.
  ac_cv_prog_CC="$CC" # Let the user override the test.
Line 1030... Line 1032...
  fi
  fi
  test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
  test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
fi
fi
 
 
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
echo "configure:1036: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
echo "configure:1038: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
 
 
ac_ext=c
ac_ext=c
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
ac_cpp='$CPP $CPPFLAGS'
ac_cpp='$CPP $CPPFLAGS'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
cross_compiling=$ac_cv_prog_cc_cross
cross_compiling=$ac_cv_prog_cc_cross
 
 
cat > conftest.$ac_ext << EOF
cat > conftest.$ac_ext << EOF
 
 
#line 1047 "configure"
#line 1049 "configure"
#include "confdefs.h"
#include "confdefs.h"
 
 
main(){return(0);}
main(){return(0);}
EOF
EOF
if { (eval echo configure:1052: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:1054: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  ac_cv_prog_cc_works=yes
  ac_cv_prog_cc_works=yes
  # If we can't run a trivial program, we are probably using a cross compiler.
  # If we can't run a trivial program, we are probably using a cross compiler.
  if (./conftest; exit) 2>/dev/null; then
  if (./conftest; exit) 2>/dev/null; then
    ac_cv_prog_cc_cross=no
    ac_cv_prog_cc_cross=no
  else
  else
Line 1072... Line 1074...
echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
if test $ac_cv_prog_cc_works = no; then
if test $ac_cv_prog_cc_works = no; then
  { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
  { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
fi
fi
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
echo "configure:1078: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
echo "configure:1080: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
cross_compiling=$ac_cv_prog_cc_cross
cross_compiling=$ac_cv_prog_cc_cross
 
 
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
echo "configure:1083: checking whether we are using GNU C" >&5
echo "configure:1085: checking whether we are using GNU C" >&5
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
  echo $ac_n "(cached) $ac_c" 1>&6
else
else
  cat > conftest.c <
  cat > conftest.c <
#ifdef __GNUC__
#ifdef __GNUC__
  yes;
  yes;
#endif
#endif
EOF
EOF
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1092: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1094: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
  ac_cv_prog_gcc=yes
  ac_cv_prog_gcc=yes
else
else
  ac_cv_prog_gcc=no
  ac_cv_prog_gcc=no
fi
fi
fi
fi
Line 1105... Line 1107...
 
 
ac_test_CFLAGS="${CFLAGS+set}"
ac_test_CFLAGS="${CFLAGS+set}"
ac_save_CFLAGS="$CFLAGS"
ac_save_CFLAGS="$CFLAGS"
CFLAGS=
CFLAGS=
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
echo "configure:1111: checking whether ${CC-cc} accepts -g" >&5
echo "configure:1113: checking whether ${CC-cc} accepts -g" >&5
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
  echo $ac_n "(cached) $ac_c" 1>&6
else
else
  echo 'void f(){}' > conftest.c
  echo 'void f(){}' > conftest.c
if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
Line 1137... Line 1139...
    CFLAGS=
    CFLAGS=
  fi
  fi
fi
fi
 
 
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
echo "configure:1143: checking how to run the C preprocessor" >&5
echo "configure:1145: checking how to run the C preprocessor" >&5
# On Suns, sometimes $CPP names a directory.
# On Suns, sometimes $CPP names a directory.
if test -n "$CPP" && test -d "$CPP"; then
if test -n "$CPP" && test -d "$CPP"; then
  CPP=
  CPP=
fi
fi
if test -z "$CPP"; then
if test -z "$CPP"; then
Line 1152... Line 1154...
  # substituted into the Makefile and "${CC-cc}" will confuse make.
  # substituted into the Makefile and "${CC-cc}" will confuse make.
  CPP="${CC-cc} -E"
  CPP="${CC-cc} -E"
  # On the NeXT, cc -E runs the code through the compiler's parser,
  # On the NeXT, cc -E runs the code through the compiler's parser,
  # not just through cpp.
  # not just through cpp.
  cat > conftest.$ac_ext <
  cat > conftest.$ac_ext <
#line 1158 "configure"
#line 1160 "configure"
#include "confdefs.h"
#include "confdefs.h"
#include 
#include 
Syntax Error
Syntax Error
EOF
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:1164: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
{ (eval echo configure:1166: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
if test -z "$ac_err"; then
  :
  :
else
else
  echo "$ac_err" >&5
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  rm -rf conftest*
  CPP="${CC-cc} -E -traditional-cpp"
  CPP="${CC-cc} -E -traditional-cpp"
  cat > conftest.$ac_ext <
  cat > conftest.$ac_ext <
#line 1175 "configure"
#line 1177 "configure"
#include "confdefs.h"
#include "confdefs.h"
#include 
#include 
Syntax Error
Syntax Error
EOF
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:1181: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
{ (eval echo configure:1183: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
if test -z "$ac_err"; then
  :
  :
else
else
  echo "$ac_err" >&5
  echo "$ac_err" >&5
  echo "configure: failed program was:" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  cat conftest.$ac_ext >&5
  rm -rf conftest*
  rm -rf conftest*
  CPP="${CC-cc} -nologo -E"
  CPP="${CC-cc} -nologo -E"
  cat > conftest.$ac_ext <
  cat > conftest.$ac_ext <
#line 1192 "configure"
#line 1194 "configure"
#include "confdefs.h"
#include "confdefs.h"
#include 
#include 
Syntax Error
Syntax Error
EOF
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:1198: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
{ (eval echo configure:1200: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
if test -z "$ac_err"; then
  :
  :
else
else
  echo "$ac_err" >&5
  echo "$ac_err" >&5
Line 1218... Line 1220...
fi
fi
echo "$ac_t""$CPP" 1>&6
echo "$ac_t""$CPP" 1>&6
 
 
ac_safe=`echo "minix/config.h" | sed 'y%./+-%__p_%'`
ac_safe=`echo "minix/config.h" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for minix/config.h""... $ac_c" 1>&6
echo $ac_n "checking for minix/config.h""... $ac_c" 1>&6
echo "configure:1224: checking for minix/config.h" >&5
echo "configure:1226: checking for minix/config.h" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
  echo $ac_n "(cached) $ac_c" 1>&6
else
else
  cat > conftest.$ac_ext <
  cat > conftest.$ac_ext <
#line 1229 "configure"
#line 1231 "configure"
#include "confdefs.h"
#include "confdefs.h"
#include 
#include 
EOF
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:1234: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
{ (eval echo configure:1236: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
if test -z "$ac_err"; then
  rm -rf conftest*
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=yes"
  eval "ac_cv_header_$ac_safe=yes"
else
else
Line 1267... Line 1269...
 
 
fi
fi
 
 
 
 
echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
echo "configure:1273: checking whether ${MAKE-make} sets \${MAKE}" >&5
echo "configure:1275: checking whether ${MAKE-make} sets \${MAKE}" >&5
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
  echo $ac_n "(cached) $ac_c" 1>&6
else
else
  cat > conftestmake <<\EOF
  cat > conftestmake <<\EOF
Line 1299... Line 1301...
# If we're using gcc and the user hasn't specified CFLAGS, add -O2 to CFLAGS.
# If we're using gcc and the user hasn't specified CFLAGS, add -O2 to CFLAGS.
test -n "$GCC" && test -n "$auto_cflags" && CFLAGS="$CFLAGS -O2 -D$ARCH_ISA"
test -n "$GCC" && test -n "$auto_cflags" && CFLAGS="$CFLAGS -O2 -D$ARCH_ISA"
 
 
if test $ac_cv_prog_gcc = yes; then
if test $ac_cv_prog_gcc = yes; then
    echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
    echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
echo "configure:1305: checking whether ${CC-cc} needs -traditional" >&5
echo "configure:1307: checking whether ${CC-cc} needs -traditional" >&5
if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
  echo $ac_n "(cached) $ac_c" 1>&6
else
else
    ac_pattern="Autoconf.*'x'"
    ac_pattern="Autoconf.*'x'"
  cat > conftest.$ac_ext <
  cat > conftest.$ac_ext <
#line 1311 "configure"
#line 1313 "configure"
#include "confdefs.h"
#include "confdefs.h"
#include 
#include 
Autoconf TIOCGETP
Autoconf TIOCGETP
EOF
EOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
Line 1323... Line 1325...
rm -f conftest*
rm -f conftest*
 
 
 
 
  if test $ac_cv_prog_gcc_traditional = no; then
  if test $ac_cv_prog_gcc_traditional = no; then
    cat > conftest.$ac_ext <
    cat > conftest.$ac_ext <
#line 1329 "configure"
#line 1331 "configure"
#include "confdefs.h"
#include "confdefs.h"
#include 
#include 
Autoconf TCGETA
Autoconf TCGETA
EOF
EOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
Line 1356... Line 1358...
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
# ./install, which can be erroneously created by make from ./install.sh.
# ./install, which can be erroneously created by make from ./install.sh.
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
echo "configure:1362: checking for a BSD compatible install" >&5
echo "configure:1364: checking for a BSD compatible install" >&5
if test -z "$INSTALL"; then
if test -z "$INSTALL"; then
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
  echo $ac_n "(cached) $ac_c" 1>&6
else
else
    IFS="${IFS=         }"; ac_save_IFS="$IFS"; IFS=":"
    IFS="${IFS=         }"; ac_save_IFS="$IFS"; IFS=":"
Line 1411... Line 1413...
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 
 
# Extract the first word of "ar", so it can be a program name with args.
# Extract the first word of "ar", so it can be a program name with args.
set dummy ar; ac_word=$2
set dummy ar; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:1417: checking for $ac_word" >&5
echo "configure:1419: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
  echo $ac_n "(cached) $ac_c" 1>&6
else
else
  if test -n "$AR"; then
  if test -n "$AR"; then
  ac_cv_prog_AR="$AR" # Let the user override the test.
  ac_cv_prog_AR="$AR" # Let the user override the test.
Line 1441... Line 1443...
 
 
test -n "$ARFLAGS" || ARFLAGS="cr"
test -n "$ARFLAGS" || ARFLAGS="cr"
# Extract the first word of "ranlib", so it can be a program name with args.
# Extract the first word of "ranlib", so it can be a program name with args.
set dummy ranlib; ac_word=$2
set dummy ranlib; ac_word=$2
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
echo "configure:1447: checking for $ac_word" >&5
echo "configure:1449: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
  echo $ac_n "(cached) $ac_c" 1>&6
else
else
  if test -n "$RANLIB"; then
  if test -n "$RANLIB"; then
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
Line 1474... Line 1476...
MAKE_SHELL=/bin/sh
MAKE_SHELL=/bin/sh
 
 
 
 
 
 
echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
echo "configure:1480: checking return type of signal handlers" >&5
echo "configure:1482: checking return type of signal handlers" >&5
if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
  echo $ac_n "(cached) $ac_c" 1>&6
else
else
  cat > conftest.$ac_ext <
  cat > conftest.$ac_ext <
#line 1485 "configure"
#line 1487 "configure"
#include "confdefs.h"
#include "confdefs.h"
#include 
#include 
#include 
#include 
#ifdef signal
#ifdef signal
#undef signal
#undef signal
Line 1496... Line 1498...
 
 
int main() {
int main() {
int i;
int i;
; return 0; }
; return 0; }
EOF
EOF
if { (eval echo configure:1502: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:1504: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  rm -rf conftest*
  ac_cv_type_signal=void
  ac_cv_type_signal=void
else
else
  echo "configure: failed program was:" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  cat conftest.$ac_ext >&5
Line 1515... Line 1517...
#define RETSIGTYPE $ac_cv_type_signal
#define RETSIGTYPE $ac_cv_type_signal
EOF
EOF
 
 
 
 
echo $ac_n "checking whether stat file-mode macros are broken""... $ac_c" 1>&6
echo $ac_n "checking whether stat file-mode macros are broken""... $ac_c" 1>&6
echo "configure:1521: checking whether stat file-mode macros are broken" >&5
echo "configure:1523: checking whether stat file-mode macros are broken" >&5
if eval "test \"`echo '$''{'ac_cv_header_stat_broken'+set}'`\" = set"; then
if eval "test \"`echo '$''{'ac_cv_header_stat_broken'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
  echo $ac_n "(cached) $ac_c" 1>&6
else
else
  cat > conftest.$ac_ext <
  cat > conftest.$ac_ext <
#line 1526 "configure"
#line 1528 "configure"
#include "confdefs.h"
#include "confdefs.h"
#include 
#include 
#include 
#include 
 
 
#if defined(S_ISBLK) && defined(S_IFDIR)
#if defined(S_ISBLK) && defined(S_IFDIR)
Line 1575... Line 1577...
ac_header_dirent=no
ac_header_dirent=no
for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h
for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h
do
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6
echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6
echo "configure:1581: checking for $ac_hdr that defines DIR" >&5
echo "configure:1583: checking for $ac_hdr that defines DIR" >&5
if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then
if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
  echo $ac_n "(cached) $ac_c" 1>&6
else
else
  cat > conftest.$ac_ext <
  cat > conftest.$ac_ext <
#line 1586 "configure"
#line 1588 "configure"
#include "confdefs.h"
#include "confdefs.h"
#include 
#include 
#include <$ac_hdr>
#include <$ac_hdr>
int main() {
int main() {
DIR *dirp = 0;
DIR *dirp = 0;
; return 0; }
; return 0; }
EOF
EOF
if { (eval echo configure:1594: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:1596: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  rm -rf conftest*
  eval "ac_cv_header_dirent_$ac_safe=yes"
  eval "ac_cv_header_dirent_$ac_safe=yes"
else
else
  echo "configure: failed program was:" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  cat conftest.$ac_ext >&5
Line 1613... Line 1615...
fi
fi
done
done
# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
# Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
if test $ac_header_dirent = dirent.h; then
if test $ac_header_dirent = dirent.h; then
echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6
echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6
echo "configure:1619: checking for opendir in -ldir" >&5
echo "configure:1621: checking for opendir in -ldir" >&5
ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'`
ac_lib_var=`echo dir'_'opendir | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
  echo $ac_n "(cached) $ac_c" 1>&6
else
else
  ac_save_LIBS="$LIBS"
  ac_save_LIBS="$LIBS"
LIBS="-ldir  $LIBS"
LIBS="-ldir  $LIBS"
cat > conftest.$ac_ext <
cat > conftest.$ac_ext <
#line 1627 "configure"
#line 1629 "configure"
#include "confdefs.h"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
    builtin and then its argument prototype would still apply.  */
char opendir();
char opendir();
 
 
int main() {
int main() {
opendir()
opendir()
; return 0; }
; return 0; }
EOF
EOF
if { (eval echo configure:1638: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:1640: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  rm -rf conftest*
  eval "ac_cv_lib_$ac_lib_var=yes"
  eval "ac_cv_lib_$ac_lib_var=yes"
else
else
  echo "configure: failed program was:" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  cat conftest.$ac_ext >&5
Line 1654... Line 1656...
  echo "$ac_t""no" 1>&6
  echo "$ac_t""no" 1>&6
fi
fi
 
 
else
else
echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6
echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6
echo "configure:1660: checking for opendir in -lx" >&5
echo "configure:1662: checking for opendir in -lx" >&5
ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'`
ac_lib_var=`echo x'_'opendir | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
  echo $ac_n "(cached) $ac_c" 1>&6
else
else
  ac_save_LIBS="$LIBS"
  ac_save_LIBS="$LIBS"
LIBS="-lx  $LIBS"
LIBS="-lx  $LIBS"
cat > conftest.$ac_ext <
cat > conftest.$ac_ext <
#line 1668 "configure"
#line 1670 "configure"
#include "confdefs.h"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
    builtin and then its argument prototype would still apply.  */
char opendir();
char opendir();
 
 
int main() {
int main() {
opendir()
opendir()
; return 0; }
; return 0; }
EOF
EOF
if { (eval echo configure:1679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:1681: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  rm -rf conftest*
  eval "ac_cv_lib_$ac_lib_var=yes"
  eval "ac_cv_lib_$ac_lib_var=yes"
else
else
  echo "configure: failed program was:" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  cat conftest.$ac_ext >&5
Line 1698... Line 1700...
fi
fi
 
 
for ac_func in strcasecmp select setenv putenv tcgetattr setlocale lstat
for ac_func in strcasecmp select setenv putenv tcgetattr setlocale lstat
do
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:1704: checking for $ac_func" >&5
echo "configure:1706: checking for $ac_func" >&5
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
  echo $ac_n "(cached) $ac_c" 1>&6
else
else
  cat > conftest.$ac_ext <
  cat > conftest.$ac_ext <
#line 1709 "configure"
#line 1711 "configure"
#include "confdefs.h"
#include "confdefs.h"
/* System header to define __stub macros and hopefully few prototypes,
/* System header to define __stub macros and hopefully few prototypes,
    which can conflict with char $ac_func(); below.  */
    which can conflict with char $ac_func(); below.  */
#include 
#include 
/* Override any gcc2 internal prototype to avoid an error.  */
/* Override any gcc2 internal prototype to avoid an error.  */
Line 1726... Line 1728...
$ac_func();
$ac_func();
#endif
#endif
 
 
; return 0; }
; return 0; }
EOF
EOF
if { (eval echo configure:1732: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:1734: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  rm -rf conftest*
  eval "ac_cv_func_$ac_func=yes"
  eval "ac_cv_func_$ac_func=yes"
else
else
  echo "configure: failed program was:" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  cat conftest.$ac_ext >&5
Line 1751... Line 1753...
  echo "$ac_t""no" 1>&6
  echo "$ac_t""no" 1>&6
fi
fi
done
done
 
 
echo $ac_n "checking for working strcoll""... $ac_c" 1>&6
echo $ac_n "checking for working strcoll""... $ac_c" 1>&6
echo "configure:1757: checking for working strcoll" >&5
echo "configure:1759: checking for working strcoll" >&5
if eval "test \"`echo '$''{'ac_cv_func_strcoll_works'+set}'`\" = set"; then
if eval "test \"`echo '$''{'ac_cv_func_strcoll_works'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
  echo $ac_n "(cached) $ac_c" 1>&6
else
else
  if test "$cross_compiling" = yes; then
  if test "$cross_compiling" = yes; then
  ac_cv_func_strcoll_works=no
  ac_cv_func_strcoll_works=no
else
else
  cat > conftest.$ac_ext <
  cat > conftest.$ac_ext <
#line 1765 "configure"
#line 1767 "configure"
#include "confdefs.h"
#include "confdefs.h"
#include 
#include 
main ()
main ()
{
{
  exit (strcoll ("abc", "def") >= 0 ||
  exit (strcoll ("abc", "def") >= 0 ||
        strcoll ("ABC", "DEF") >= 0 ||
        strcoll ("ABC", "DEF") >= 0 ||
        strcoll ("123", "456") >= 0);
        strcoll ("123", "456") >= 0);
}
}
EOF
EOF
if { (eval echo configure:1775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
if { (eval echo configure:1777: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
then
  ac_cv_func_strcoll_works=yes
  ac_cv_func_strcoll_works=yes
else
else
  echo "configure: failed program was:" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  cat conftest.$ac_ext >&5
Line 1798... Line 1800...
                termcap.h termios.h termio.h sys/file.h locale.h\
                termcap.h termios.h termio.h sys/file.h locale.h\
                net/ethernet.h
                net/ethernet.h
do
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
echo "configure:1804: checking for $ac_hdr" >&5
echo "configure:1806: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
  echo $ac_n "(cached) $ac_c" 1>&6
else
else
  cat > conftest.$ac_ext <
  cat > conftest.$ac_ext <
#line 1809 "configure"
#line 1811 "configure"
#include "confdefs.h"
#include "confdefs.h"
#include <$ac_hdr>
#include <$ac_hdr>
EOF
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:1814: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
{ (eval echo configure:1816: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
if test -z "$ac_err"; then
if test -z "$ac_err"; then
  rm -rf conftest*
  rm -rf conftest*
  eval "ac_cv_header_$ac_safe=yes"
  eval "ac_cv_header_$ac_safe=yes"
else
else
Line 1836... Line 1838...
fi
fi
done
done
 
 
 
 
cat > conftest.$ac_ext <
cat > conftest.$ac_ext <
#line 1842 "configure"
#line 1844 "configure"
#include "confdefs.h"
#include "confdefs.h"
 
 
int main() {
int main() {
long long ll; unsigned long long ull;
long long ll; unsigned long long ull;
; return 0; }
; return 0; }
EOF
EOF
if { (eval echo configure:1849: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:1851: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  rm -rf conftest*
  cat >> confdefs.h <<\EOF
  cat >> confdefs.h <<\EOF
#define CC_HAS_LONG_LONG 1
#define CC_HAS_LONG_LONG 1
EOF
EOF
 
 
Line 1859... Line 1861...
 
 
# Check whether --enable-readline or --disable-readline was given.
# Check whether --enable-readline or --disable-readline was given.
if test "${enable_readline+set}" = set; then
if test "${enable_readline+set}" = set; then
  enableval="$enable_readline"
  enableval="$enable_readline"
  echo $ac_n "checking for add_history in -lreadline""... $ac_c" 1>&6
  echo $ac_n "checking for add_history in -lreadline""... $ac_c" 1>&6
echo "configure:1865: checking for add_history in -lreadline" >&5
echo "configure:1867: checking for add_history in -lreadline" >&5
ac_lib_var=`echo readline'_'add_history | sed 'y%./+-%__p_%'`
ac_lib_var=`echo readline'_'add_history | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
  echo $ac_n "(cached) $ac_c" 1>&6
else
else
  ac_save_LIBS="$LIBS"
  ac_save_LIBS="$LIBS"
LIBS="-lreadline  $LIBS"
LIBS="-lreadline  $LIBS"
cat > conftest.$ac_ext <
cat > conftest.$ac_ext <
#line 1873 "configure"
#line 1875 "configure"
#include "confdefs.h"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error.  */
/* Override any gcc2 internal prototype to avoid an error.  */
/* We use char because int might match the return type of a gcc2
/* We use char because int might match the return type of a gcc2
    builtin and then its argument prototype would still apply.  */
    builtin and then its argument prototype would still apply.  */
char add_history();
char add_history();
 
 
int main() {
int main() {
add_history()
add_history()
; return 0; }
; return 0; }
EOF
EOF
if { (eval echo configure:1884: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:1886: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
  rm -rf conftest*
  rm -rf conftest*
  eval "ac_cv_lib_$ac_lib_var=yes"
  eval "ac_cv_lib_$ac_lib_var=yes"
else
else
  echo "configure: failed program was:" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  cat conftest.$ac_ext >&5
Line 1926... Line 1928...
solaris*) LIBS="-lsocket -lnsl" ;;
solaris*) LIBS="-lsocket -lnsl" ;;
esac
esac
 
 
 
 
echo $ac_n "checking whether to enable profiling""... $ac_c" 1>&6
echo $ac_n "checking whether to enable profiling""... $ac_c" 1>&6
echo "configure:1932: checking whether to enable profiling" >&5
echo "configure:1934: checking whether to enable profiling" >&5
# Check whether --enable-profiling or --disable-profiling was given.
# Check whether --enable-profiling or --disable-profiling was given.
if test "${enable_profiling+set}" = set; then
if test "${enable_profiling+set}" = set; then
  enableval="$enable_profiling"
  enableval="$enable_profiling"
 
 
    case "$enableval" in
    case "$enableval" in
Line 1939... Line 1941...
 
 
fi
fi
 
 
echo "$ac_t""${enable_profiling-no}" 1>&6
echo "$ac_t""${enable_profiling-no}" 1>&6
 
 
 
echo $ac_n "checking whether to compile fsim""... $ac_c" 1>&6
 
echo "configure:1948: checking whether to compile fsim" >&5
 
# Check whether --enable-fsim or --disable-fsim was given.
 
if test "${enable_fsim+set}" = set; then
 
  enableval="$enable_fsim"
 
 
 
    case "$enableval" in
 
  no)  fast_sim=0 ;;
 
        yes) fast_sim=1 ;;
 
    esac
 
 
 
fi
 
 
 
echo "$ac_t""${enable_fsim-no}" 1>&6
 
 
 
cat >> confdefs.h <<\EOF
 
#define FAST_SIM $fast_sim
 
EOF
 
 
 
 
echo $ac_n "checking for implementation-specific data""... $ac_c" 1>&6
echo $ac_n "checking for implementation-specific data""... $ac_c" 1>&6
echo "configure:1946: checking for implementation-specific data" >&5
echo "configure:1968: checking for implementation-specific data" >&5
# Check whether --enable-impl or --disable-impl was given.
# Check whether --enable-impl or --disable-impl was given.
if test "${enable_impl+set}" = set; then
if test "${enable_impl+set}" = set; then
  enableval="$enable_impl"
  enableval="$enable_impl"
 
 
    case "$enableval" in
    case "$enableval" in

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.