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

Subversion Repositories or1k

[/] [or1k/] [tags/] [nog_patch_47/] [or1ksim/] [testbench/] [configure] - Diff between revs 479 and 493

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

Rev 479 Rev 493
Line 35... Line 35...
 
 
# Defaults:
# Defaults:
ac_help=
ac_help=
ac_default_prefix=/usr/local
ac_default_prefix=/usr/local
# Any additions from configure.in:
# Any additions from configure.in:
 
ac_help="$ac_help
 
  --enable-opt      enable optimizations
 
  --enable-opt=level     same as gcc -O switch  "
 
 
# 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
# dashes changed to underlines.
# dashes changed to underlines.
build=NONE
build=NONE
Line 571... Line 574...
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:577: checking host system type" >&5
echo "configure:580: 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 603... Line 606...
# 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:609: checking for a BSD compatible install" >&5
echo "configure:612: 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 656... Line 659...
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:662: checking whether build environment is sane" >&5
echo "configure:665: 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 713... Line 716...
 
 
# 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:719: checking whether ${MAKE-make} sets \${MAKE}" >&5
echo "configure:722: 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 759... Line 762...
 
 
 
 
 
 
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:765: checking for working aclocal" >&5
echo "configure:768: 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 772... Line 775...
   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:778: checking for working autoconf" >&5
echo "configure:781: 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 785... Line 788...
   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:791: checking for working automake" >&5
echo "configure:794: 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 798... Line 801...
   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:804: checking for working autoheader" >&5
echo "configure:807: 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 811... Line 814...
   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:817: checking for working makeinfo" >&5
echo "configure:820: 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 826... Line 829...
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:832: checking whether ${MAKE-make} sets \${MAKE}" >&5
echo "configure:835: 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 864... Line 867...
# 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:870: checking for a BSD compatible install" >&5
echo "configure:873: 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 917... Line 920...
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 build system type""... $ac_c" 1>&6
echo $ac_n "checking build system type""... $ac_c" 1>&6
echo "configure:923: checking build system type" >&5
echo "configure:926: 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 943... Line 946...
fi
fi
 
 
# Extract the first word of "${ac_tool_prefix}$target-gcc", so it can be a program name with args.
# Extract the first word of "${ac_tool_prefix}$target-gcc", so it can be a program name with args.
set dummy ${ac_tool_prefix}$target-gcc; ac_word=$2
set dummy ${ac_tool_prefix}$target-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:949: checking for $ac_word" >&5
echo "configure:952: 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 975... Line 978...
if test -z "$ac_cv_prog_CC"; then
if test -z "$ac_cv_prog_CC"; then
if test -n "$ac_tool_prefix"; then
if test -n "$ac_tool_prefix"; then
  # Extract the first word of "$target-gcc", so it can be a program name with args.
  # Extract the first word of "$target-gcc", so it can be a program name with args.
set dummy $target-gcc; ac_word=$2
set dummy $target-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:981: checking for $ac_word" >&5
echo "configure:984: 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 1010... Line 1013...
fi
fi
 
 
# Extract the first word of "${ac_tool_prefix}$target-ranlib", so it can be a program name with args.
# Extract the first word of "${ac_tool_prefix}$target-ranlib", so it can be a program name with args.
set dummy ${ac_tool_prefix}$target-ranlib; ac_word=$2
set dummy ${ac_tool_prefix}$target-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:1016: checking for $ac_word" >&5
echo "configure:1019: 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 1042... Line 1045...
if test -z "$ac_cv_prog_RANLIB"; then
if test -z "$ac_cv_prog_RANLIB"; then
if test -n "$ac_tool_prefix"; then
if test -n "$ac_tool_prefix"; then
  # Extract the first word of "$target-ranlib", so it can be a program name with args.
  # Extract the first word of "$target-ranlib", so it can be a program name with args.
set dummy $target-ranlib; ac_word=$2
set dummy $target-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:1048: checking for $ac_word" >&5
echo "configure:1051: 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 1077... Line 1080...
fi
fi
 
 
# Extract the first word of "${ac_tool_prefix}$target-ld", so it can be a program name with args.
# Extract the first word of "${ac_tool_prefix}$target-ld", so it can be a program name with args.
set dummy ${ac_tool_prefix}$target-ld; ac_word=$2
set dummy ${ac_tool_prefix}$target-ld; 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:1083: checking for $ac_word" >&5
echo "configure:1086: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_LD'+set}'`\" = set"; then
if eval "test \"`echo '$''{'ac_cv_prog_LD'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
  echo $ac_n "(cached) $ac_c" 1>&6
else
else
  if test -n "$LD"; then
  if test -n "$LD"; then
  ac_cv_prog_LD="$LD" # Let the user override the test.
  ac_cv_prog_LD="$LD" # Let the user override the test.
Line 1109... Line 1112...
if test -z "$ac_cv_prog_LD"; then
if test -z "$ac_cv_prog_LD"; then
if test -n "$ac_tool_prefix"; then
if test -n "$ac_tool_prefix"; then
  # Extract the first word of "$target-ld", so it can be a program name with args.
  # Extract the first word of "$target-ld", so it can be a program name with args.
set dummy $target-ld; ac_word=$2
set dummy $target-ld; 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:1115: checking for $ac_word" >&5
echo "configure:1118: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_LD'+set}'`\" = set"; then
if eval "test \"`echo '$''{'ac_cv_prog_LD'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
  echo $ac_n "(cached) $ac_c" 1>&6
else
else
  if test -n "$LD"; then
  if test -n "$LD"; then
  ac_cv_prog_LD="$LD" # Let the user override the test.
  ac_cv_prog_LD="$LD" # Let the user override the test.
Line 1144... Line 1147...
fi
fi
 
 
# Extract the first word of "${ac_tool_prefix}$target-sim", so it can be a program name with args.
# Extract the first word of "${ac_tool_prefix}$target-sim", so it can be a program name with args.
set dummy ${ac_tool_prefix}$target-sim; ac_word=$2
set dummy ${ac_tool_prefix}$target-sim; 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:1150: checking for $ac_word" >&5
echo "configure:1153: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_SIM'+set}'`\" = set"; then
if eval "test \"`echo '$''{'ac_cv_prog_SIM'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
  echo $ac_n "(cached) $ac_c" 1>&6
else
else
  if test -n "$SIM"; then
  if test -n "$SIM"; then
  ac_cv_prog_SIM="$SIM" # Let the user override the test.
  ac_cv_prog_SIM="$SIM" # Let the user override the test.
Line 1176... Line 1179...
if test -z "$ac_cv_prog_SIM"; then
if test -z "$ac_cv_prog_SIM"; then
if test -n "$ac_tool_prefix"; then
if test -n "$ac_tool_prefix"; then
  # Extract the first word of "$target-sim", so it can be a program name with args.
  # Extract the first word of "$target-sim", so it can be a program name with args.
set dummy $target-sim; ac_word=$2
set dummy $target-sim; 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:1182: checking for $ac_word" >&5
echo "configure:1185: checking for $ac_word" >&5
if eval "test \"`echo '$''{'ac_cv_prog_SIM'+set}'`\" = set"; then
if eval "test \"`echo '$''{'ac_cv_prog_SIM'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
  echo $ac_n "(cached) $ac_c" 1>&6
else
else
  if test -n "$SIM"; then
  if test -n "$SIM"; then
  ac_cv_prog_SIM="$SIM" # Let the user override the test.
  ac_cv_prog_SIM="$SIM" # Let the user override the test.
Line 1211... Line 1214...
fi
fi
 
 
# 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:1217: checking for $ac_word" >&5
echo "configure:1220: 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 1241... Line 1244...
 
 
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:1247: checking for $ac_word" >&5
echo "configure:1250: 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 1292... Line 1295...
    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:1298: checking for $ac_word" >&5
echo "configure:1301: 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 1324... Line 1327...
  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:1330: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
echo "configure:1333: 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 1341 "configure"
#line 1344 "configure"
#include "confdefs.h"
#include "confdefs.h"
 
 
main(){return(0);}
main(){return(0);}
EOF
EOF
if { (eval echo configure:1346: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:1349: \"$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 1366... Line 1369...
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:1372: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
echo "configure:1375: 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:1377: checking whether we are using GNU C" >&5
echo "configure:1380: 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:1386: \"$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:1389: \"$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 1399... Line 1402...
 
 
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:1405: checking whether ${CC-cc} accepts -g" >&5
echo "configure:1408: 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 1431... Line 1434...
    CFLAGS=
    CFLAGS=
  fi
  fi
fi
fi
 
 
echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6
echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6
echo "configure:1437: checking for POSIXized ISC" >&5
echo "configure:1440: checking for POSIXized ISC" >&5
if test -d /etc/conf/kconfig.d &&
if test -d /etc/conf/kconfig.d &&
  grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1
  grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1
then
then
  echo "$ac_t""yes" 1>&6
  echo "$ac_t""yes" 1>&6
  ISC=yes # If later tests want to check for ISC.
  ISC=yes # If later tests want to check for ISC.
Line 1452... Line 1455...
  echo "$ac_t""no" 1>&6
  echo "$ac_t""no" 1>&6
  ISC=
  ISC=
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:1458: checking how to run the C preprocessor" >&5
echo "configure:1461: 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 1467... Line 1470...
  # 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 1473 "configure"
#line 1476 "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:1479: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
{ (eval echo configure:1482: \"$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 1490 "configure"
#line 1493 "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:1496: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
{ (eval echo configure:1499: \"$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 1507 "configure"
#line 1510 "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:1513: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
{ (eval echo configure:1516: \"$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 1532... Line 1535...
  ac_cv_prog_CPP="$CPP"
  ac_cv_prog_CPP="$CPP"
fi
fi
echo "$ac_t""$CPP" 1>&6
echo "$ac_t""$CPP" 1>&6
 
 
echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
echo "configure:1538: checking for ANSI C header files" >&5
echo "configure:1541: checking for ANSI C header files" >&5
if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
if eval "test \"`echo '$''{'ac_cv_header_stdc'+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 1543 "configure"
#line 1546 "configure"
#include "confdefs.h"
#include "confdefs.h"
#include 
#include 
#include 
#include 
#include 
#include 
#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:1551: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
{ (eval echo configure:1554: \"$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*
  ac_cv_header_stdc=yes
  ac_cv_header_stdc=yes
else
else
Line 1562... Line 1565...
rm -f conftest*
rm -f conftest*
 
 
if test $ac_cv_header_stdc = yes; then
if test $ac_cv_header_stdc = yes; then
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
cat > conftest.$ac_ext <
cat > conftest.$ac_ext <
#line 1568 "configure"
#line 1571 "configure"
#include "confdefs.h"
#include "confdefs.h"
#include 
#include 
EOF
EOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  egrep "memchr" >/dev/null 2>&1; then
  egrep "memchr" >/dev/null 2>&1; then
Line 1580... Line 1583...
fi
fi
 
 
if test $ac_cv_header_stdc = yes; then
if test $ac_cv_header_stdc = yes; then
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
cat > conftest.$ac_ext <
cat > conftest.$ac_ext <
#line 1586 "configure"
#line 1589 "configure"
#include "confdefs.h"
#include "confdefs.h"
#include 
#include 
EOF
EOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  egrep "free" >/dev/null 2>&1; then
  egrep "free" >/dev/null 2>&1; then
Line 1601... Line 1604...
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
if test "$cross_compiling" = yes; then
if test "$cross_compiling" = yes; then
  :
  :
else
else
  cat > conftest.$ac_ext <
  cat > conftest.$ac_ext <
#line 1607 "configure"
#line 1610 "configure"
#include "confdefs.h"
#include "confdefs.h"
#include 
#include 
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
int main () { int i; for (i = 0; i < 256; i++)
int main () { int i; for (i = 0; i < 256; i++)
if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
exit (0); }
exit (0); }
 
 
EOF
EOF
if { (eval echo configure:1618: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
if { (eval echo configure:1621: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
then
then
  :
  :
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 1641... Line 1644...
MAKE_SHELL=/bin/sh
MAKE_SHELL=/bin/sh
 
 
 
 
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:1647: checking whether ${CC-cc} needs -traditional" >&5
echo "configure:1650: 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 1653 "configure"
#line 1656 "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 1665... Line 1668...
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 1671 "configure"
#line 1674 "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 1686... Line 1689...
  if test $ac_cv_prog_gcc_traditional = yes; then
  if test $ac_cv_prog_gcc_traditional = yes; then
    CC="$CC -traditional"
    CC="$CC -traditional"
  fi
  fi
fi
fi
 
 
 
CFLAGS="-Wall"
 
 
set -- $CFLAGS
 
COMPILE_OR1K=unknown
COMPILE_OR1K=unknown
 
 
 
 
TESTS_ENV=
TESTS_ENV=
 
 
OR1K_SRCDIR="./${top_srcdir}"
OR1K_SRCDIR="./${top_srcdir}"
case $target in
case $target in
        or1k*|or32*)
        or1k*|or32*)
                CFLAGS="$CFLAGS -nostdlib -mhard-div"
                CFLAGS="$CFLAGS -nostdlib -mhard-div"
                COMPILE=or1k
                COMPILE=or1k
                TESTS_ENV="$SIM"
                TESTS_ENV="$SIM"
                ;;
                ;;
esac
esac
echo $TESTS_ENV
 
 
 
 
 
if test x$COMPILE = xor1k; then
if test x$COMPILE = xor1k; then
  OR1K_EXCEPT_TRUE=
  OR1K_EXCEPT_TRUE=
  OR1K_EXCEPT_FALSE='#'
  OR1K_EXCEPT_FALSE='#'
else
else
  OR1K_EXCEPT_TRUE='#'
  OR1K_EXCEPT_TRUE='#'
  OR1K_EXCEPT_FALSE=
  OR1K_EXCEPT_FALSE=
fi
fi
 
 
CFLAGS="$CFLAGS -Wall"
 
 
echo $ac_n "checking whether to enable optimizations""... $ac_c" 1>&6
 
echo "configure:1722: checking whether to enable optimizations" >&5
 
# Check whether --enable-opt or --disable-opt was given.
 
if test "${enable_opt+set}" = set; then
 
  enableval="$enable_opt"
 
 
 
    case "$enableval" in
 
        yes)
 
            CFLAGS="$CFLAGS -O"
 
            ;;
 
        *)
 
            CFLAGS="$CFLAGS -O$enableval"
 
            ;;
 
    esac
 
 
 
fi
 
 
 
echo "$ac_t""${enable_opt-default}" 1>&6
 
 
 
case "$enable_debugging" in
 
    yes) echo $ac_n "checking for malloc in -lefence""... $ac_c" 1>&6
 
echo "configure:1742: checking for malloc in -lefence" >&5
 
ac_lib_var=`echo efence'_'malloc | sed 'y%./+-%__p_%'`
 
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
 
  echo $ac_n "(cached) $ac_c" 1>&6
 
else
 
  ac_save_LIBS="$LIBS"
 
LIBS="-lefence  $LIBS"
 
cat > conftest.$ac_ext <
 
#line 1750 "configure"
 
#include "confdefs.h"
 
/* Override any gcc2 internal prototype to avoid an error.  */
 
/* We use char because int might match the return type of a gcc2
 
    builtin and then its argument prototype would still apply.  */
 
char malloc();
 
 
 
int main() {
 
malloc()
 
; return 0; }
 
EOF
 
if { (eval echo configure:1761: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
 
  rm -rf conftest*
 
  eval "ac_cv_lib_$ac_lib_var=yes"
 
else
 
  echo "configure: failed program was:" >&5
 
  cat conftest.$ac_ext >&5
 
  rm -rf conftest*
 
  eval "ac_cv_lib_$ac_lib_var=no"
 
fi
 
rm -f conftest*
 
LIBS="$ac_save_LIBS"
 
 
 
fi
 
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
 
  echo "$ac_t""yes" 1>&6
 
    ac_tr_lib=HAVE_LIB`echo efence | sed -e 's/[^a-zA-Z0-9_]/_/g' \
 
    -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
 
  cat >> confdefs.h <
 
#define $ac_tr_lib 1
 
EOF
 
 
 
  LIBS="-lefence $LIBS"
 
 
 
else
 
  echo "$ac_t""no" 1>&6
 
fi
 
 ;;
 
esac
 
 
 
 
INCLUDES="-I\${top_srcdir}/support"
INCLUDES="-I\${top_srcdir}/support"
 
 
echo $ac_n "checking for working const""... $ac_c" 1>&6
echo $ac_n "checking for working const""... $ac_c" 1>&6
echo "configure:1723: checking for working const" >&5
echo "configure:1794: checking for working const" >&5
if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
if eval "test \"`echo '$''{'ac_cv_c_const'+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 1728 "configure"
#line 1799 "configure"
#include "confdefs.h"
#include "confdefs.h"
 
 
int main() {
int main() {
 
 
/* Ultrix mips cc rejects this.  */
/* Ultrix mips cc rejects this.  */
Line 1771... Line 1842...
  const int foo = 10;
  const int foo = 10;
}
}
 
 
; return 0; }
; return 0; }
EOF
EOF
if { (eval echo configure:1777: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:1848: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  rm -rf conftest*
  ac_cv_c_const=yes
  ac_cv_c_const=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 1792... Line 1863...
EOF
EOF
 
 
fi
fi
 
 
echo $ac_n "checking for inline""... $ac_c" 1>&6
echo $ac_n "checking for inline""... $ac_c" 1>&6
echo "configure:1798: checking for inline" >&5
echo "configure:1869: checking for inline" >&5
if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
  echo $ac_n "(cached) $ac_c" 1>&6
  echo $ac_n "(cached) $ac_c" 1>&6
else
else
  ac_cv_c_inline=no
  ac_cv_c_inline=no
for ac_kw in inline __inline__ __inline; do
for ac_kw in inline __inline__ __inline; do
  cat > conftest.$ac_ext <
  cat > conftest.$ac_ext <
#line 1805 "configure"
#line 1876 "configure"
#include "confdefs.h"
#include "confdefs.h"
 
 
int main() {
int main() {
} $ac_kw foo() {
} $ac_kw foo() {
; return 0; }
; return 0; }
EOF
EOF
if { (eval echo configure:1812: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:1883: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
  rm -rf conftest*
  rm -rf conftest*
  ac_cv_c_inline=$ac_kw; break
  ac_cv_c_inline=$ac_kw; break
else
else
  echo "configure: failed program was:" >&5
  echo "configure: failed program was:" >&5
  cat conftest.$ac_ext >&5
  cat conftest.$ac_ext >&5

powered by: WebSVN 2.1.0

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