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

Subversion Repositories or1k

[/] [or1k/] [tags/] [nog_patch_47/] [or1ksim/] [testbench/] [configure] - Diff between revs 568 and 889

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

Rev 568 Rev 889
Line 20... Line 20...
 
 
 
 
 
 
 
 
 
 
 
# isc-posix.m4 serial 1 (gettext-0.10.40)
 
 
 
# This test replaces the one in autoconf.
 
# Currently this macro should have the same name as the autoconf macro
 
# because gettext's gettext.m4 (distributed in the automake package)
 
# still uses it.  Otherwise, the use in gettext.m4 makes autoheader
 
# give these diagnostics:
 
#   configure.in:556: AC_TRY_COMPILE was called before AC_ISC_POSIX
 
#   configure.in:556: AC_TRY_RUN was called before AC_ISC_POSIX
 
 
 
 
 
 
 
 
 
 
# Define a conditional.
# Define a conditional.
 
 
 
 
 
 
# Guess values for system-dependent variables and create Makefiles.
# Guess values for system-dependent variables and create Makefiles.
Line 574... Line 588...
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:580: checking host system type" >&5
echo "configure:594: 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 606... Line 620...
# 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:612: checking for a BSD compatible install" >&5
echo "configure:626: 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 659... Line 673...
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:665: checking whether build environment is sane" >&5
echo "configure:679: 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 716... Line 730...
 
 
# 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:722: checking whether ${MAKE-make} sets \${MAKE}" >&5
echo "configure:736: 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 762... Line 776...
 
 
 
 
 
 
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:768: checking for working aclocal" >&5
echo "configure:782: 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 775... Line 789...
   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:781: checking for working autoconf" >&5
echo "configure:795: 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 788... Line 802...
   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:794: checking for working automake" >&5
echo "configure:808: 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 801... Line 815...
   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:807: checking for working autoheader" >&5
echo "configure:821: 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 814... Line 828...
   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:820: checking for working makeinfo" >&5
echo "configure:834: 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 829... Line 843...
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:835: checking whether ${MAKE-make} sets \${MAKE}" >&5
echo "configure:849: 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 867... Line 881...
# 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:873: checking for a BSD compatible install" >&5
echo "configure:887: 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 920... Line 934...
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:926: checking build system type" >&5
echo "configure:940: 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 946... Line 960...
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:952: checking for $ac_word" >&5
echo "configure:966: 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 978... Line 992...
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:984: checking for $ac_word" >&5
echo "configure:998: 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 1013... Line 1027...
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:1019: checking for $ac_word" >&5
echo "configure:1033: 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 1045... Line 1059...
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:1051: checking for $ac_word" >&5
echo "configure:1065: 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 1080... Line 1094...
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:1086: checking for $ac_word" >&5
echo "configure:1100: 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 1112... Line 1126...
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:1118: checking for $ac_word" >&5
echo "configure:1132: 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 1147... Line 1161...
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:1153: checking for $ac_word" >&5
echo "configure:1167: 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 1179... Line 1193...
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:1185: checking for $ac_word" >&5
echo "configure:1199: 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 1225...
else
else
  SIM="sim"
  SIM="sim"
fi
fi
fi
fi
 
 
 
 
 
        echo $ac_n "checking for strerror in -lcposix""... $ac_c" 1>&6
 
echo "configure:1233: checking for strerror in -lcposix" >&5
 
ac_lib_var=`echo cposix'_'strerror | 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="-lcposix  $LIBS"
 
cat > conftest.$ac_ext <
 
#line 1241 "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 strerror();
 
 
 
int main() {
 
strerror()
 
; return 0; }
 
EOF
 
if { (eval echo configure:1252: \"$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
 
  LIBS="$LIBS -lcposix"
 
else
 
  echo "$ac_t""no" 1>&6
 
fi
 
 
 
 
 
 
 
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
 
echo "configure:1275: checking how to run the C preprocessor" >&5
 
# On Suns, sometimes $CPP names a directory.
 
if test -n "$CPP" && test -d "$CPP"; then
 
  CPP=
 
fi
 
if test -z "$CPP"; then
 
if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
 
  echo $ac_n "(cached) $ac_c" 1>&6
 
else
 
    # This must be in double quotes, not single quotes, because CPP may get
 
  # substituted into the Makefile and "${CC-cc}" will confuse make.
 
  CPP="${CC-cc} -E"
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
  # not just through cpp.
 
  cat > conftest.$ac_ext <
 
#line 1290 "configure"
 
#include "confdefs.h"
 
#include 
 
Syntax Error
 
EOF
 
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
 
{ (eval echo configure:1296: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
 
if test -z "$ac_err"; then
 
  :
 
else
 
  echo "$ac_err" >&5
 
  echo "configure: failed program was:" >&5
 
  cat conftest.$ac_ext >&5
 
  rm -rf conftest*
 
  CPP="${CC-cc} -E -traditional-cpp"
 
  cat > conftest.$ac_ext <
 
#line 1307 "configure"
 
#include "confdefs.h"
 
#include 
 
Syntax Error
 
EOF
 
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
 
{ (eval echo configure:1313: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
 
if test -z "$ac_err"; then
 
  :
 
else
 
  echo "$ac_err" >&5
 
  echo "configure: failed program was:" >&5
 
  cat conftest.$ac_ext >&5
 
  rm -rf conftest*
 
  CPP="${CC-cc} -nologo -E"
 
  cat > conftest.$ac_ext <
 
#line 1324 "configure"
 
#include "confdefs.h"
 
#include 
 
Syntax Error
 
EOF
 
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
 
{ (eval echo configure:1330: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
 
if test -z "$ac_err"; then
 
  :
 
else
 
  echo "$ac_err" >&5
 
  echo "configure: failed program was:" >&5
 
  cat conftest.$ac_ext >&5
 
  rm -rf conftest*
 
  CPP=/lib/cpp
 
fi
 
rm -f conftest*
 
fi
 
rm -f conftest*
 
fi
 
rm -f conftest*
 
  ac_cv_prog_CPP="$CPP"
 
fi
 
  CPP="$ac_cv_prog_CPP"
 
else
 
  ac_cv_prog_CPP="$CPP"
 
fi
 
echo "$ac_t""$CPP" 1>&6
 
 
 
echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
 
echo "configure:1355: checking for ANSI C header files" >&5
 
if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
 
  echo $ac_n "(cached) $ac_c" 1>&6
 
else
 
  cat > conftest.$ac_ext <
 
#line 1360 "configure"
 
#include "confdefs.h"
 
#include 
 
#include 
 
#include 
 
#include 
 
EOF
 
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
 
{ (eval echo configure:1368: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
 
if test -z "$ac_err"; then
 
  rm -rf conftest*
 
  ac_cv_header_stdc=yes
 
else
 
  echo "$ac_err" >&5
 
  echo "configure: failed program was:" >&5
 
  cat conftest.$ac_ext >&5
 
  rm -rf conftest*
 
  ac_cv_header_stdc=no
 
fi
 
rm -f conftest*
 
 
 
if test $ac_cv_header_stdc = yes; then
 
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 
cat > conftest.$ac_ext <
 
#line 1385 "configure"
 
#include "confdefs.h"
 
#include 
 
EOF
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
  egrep "memchr" >/dev/null 2>&1; then
 
  :
 
else
 
  rm -rf conftest*
 
  ac_cv_header_stdc=no
 
fi
 
rm -f conftest*
 
 
 
fi
 
 
 
if test $ac_cv_header_stdc = yes; then
 
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 
cat > conftest.$ac_ext <
 
#line 1403 "configure"
 
#include "confdefs.h"
 
#include 
 
EOF
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
  egrep "free" >/dev/null 2>&1; then
 
  :
 
else
 
  rm -rf conftest*
 
  ac_cv_header_stdc=no
 
fi
 
rm -f conftest*
 
 
 
fi
 
 
 
if test $ac_cv_header_stdc = yes; then
 
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 
if test "$cross_compiling" = yes; then
 
  :
 
else
 
  cat > conftest.$ac_ext <
 
#line 1424 "configure"
 
#include "confdefs.h"
 
#include 
 
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 
#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 
int main () { int i; for (i = 0; i < 256; i++)
 
if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
 
exit (0); }
 
 
 
EOF
 
if { (eval echo configure:1435: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
 
then
 
  :
 
else
 
  echo "configure: failed program was:" >&5
 
  cat conftest.$ac_ext >&5
 
  rm -fr conftest*
 
  ac_cv_header_stdc=no
 
fi
 
rm -fr conftest*
 
fi
 
 
 
fi
 
fi
 
 
 
echo "$ac_t""$ac_cv_header_stdc" 1>&6
 
if test $ac_cv_header_stdc = yes; then
 
  cat >> confdefs.h <<\EOF
 
#define STDC_HEADERS 1
 
EOF
 
 
 
fi
 
 
 
 
 
MAKE_SHELL=/bin/sh
 
 
 
 
# 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:1220: checking for $ac_word" >&5
echo "configure:1465: 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 1244... Line 1489...
 
 
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:1250: checking for $ac_word" >&5
echo "configure:1495: 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 1295... Line 1540...
    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:1301: checking for $ac_word" >&5
echo "configure:1546: 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 1327... Line 1572...
  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:1333: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
echo "configure:1578: 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 1344 "configure"
#line 1589 "configure"
#include "confdefs.h"
#include "confdefs.h"
 
 
main(){return(0);}
main(){return(0);}
EOF
EOF
if { (eval echo configure:1349: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:1594: \"$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 1369... Line 1614...
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:1375: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
echo "configure:1620: 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:1380: checking whether we are using GNU C" >&5
echo "configure:1625: 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:1389: \"$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:1634: \"$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 1402... Line 1647...
 
 
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:1408: checking whether ${CC-cc} accepts -g" >&5
echo "configure:1653: 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 1433... Line 1678...
  else
  else
    CFLAGS=
    CFLAGS=
  fi
  fi
fi
fi
 
 
echo $ac_n "checking for POSIXized ISC""... $ac_c" 1>&6
 
echo "configure:1440: checking for POSIXized ISC" >&5
 
if test -d /etc/conf/kconfig.d &&
 
  grep _POSIX_VERSION /usr/include/sys/unistd.h >/dev/null 2>&1
 
then
 
  echo "$ac_t""yes" 1>&6
 
  ISC=yes # If later tests want to check for ISC.
 
  cat >> confdefs.h <<\EOF
 
#define _POSIX_SOURCE 1
 
EOF
 
 
 
  if test "$GCC" = yes; then
 
    CC="$CC -posix"
 
  else
 
    CC="$CC -Xp"
 
  fi
 
else
 
  echo "$ac_t""no" 1>&6
 
  ISC=
 
fi
 
 
 
echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
 
echo "configure:1461: checking how to run the C preprocessor" >&5
 
# On Suns, sometimes $CPP names a directory.
 
if test -n "$CPP" && test -d "$CPP"; then
 
  CPP=
 
fi
 
if test -z "$CPP"; then
 
if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
 
  echo $ac_n "(cached) $ac_c" 1>&6
 
else
 
    # This must be in double quotes, not single quotes, because CPP may get
 
  # substituted into the Makefile and "${CC-cc}" will confuse make.
 
  CPP="${CC-cc} -E"
 
  # On the NeXT, cc -E runs the code through the compiler's parser,
 
  # not just through cpp.
 
  cat > conftest.$ac_ext <
 
#line 1476 "configure"
 
#include "confdefs.h"
 
#include 
 
Syntax Error
 
EOF
 
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
 
{ (eval echo configure:1482: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
 
if test -z "$ac_err"; then
 
  :
 
else
 
  echo "$ac_err" >&5
 
  echo "configure: failed program was:" >&5
 
  cat conftest.$ac_ext >&5
 
  rm -rf conftest*
 
  CPP="${CC-cc} -E -traditional-cpp"
 
  cat > conftest.$ac_ext <
 
#line 1493 "configure"
 
#include "confdefs.h"
 
#include 
 
Syntax Error
 
EOF
 
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
 
{ (eval echo configure:1499: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
 
if test -z "$ac_err"; then
 
  :
 
else
 
  echo "$ac_err" >&5
 
  echo "configure: failed program was:" >&5
 
  cat conftest.$ac_ext >&5
 
  rm -rf conftest*
 
  CPP="${CC-cc} -nologo -E"
 
  cat > conftest.$ac_ext <
 
#line 1510 "configure"
 
#include "confdefs.h"
 
#include 
 
Syntax Error
 
EOF
 
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
 
{ (eval echo configure:1516: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
 
if test -z "$ac_err"; then
 
  :
 
else
 
  echo "$ac_err" >&5
 
  echo "configure: failed program was:" >&5
 
  cat conftest.$ac_ext >&5
 
  rm -rf conftest*
 
  CPP=/lib/cpp
 
fi
 
rm -f conftest*
 
fi
 
rm -f conftest*
 
fi
 
rm -f conftest*
 
  ac_cv_prog_CPP="$CPP"
 
fi
 
  CPP="$ac_cv_prog_CPP"
 
else
 
  ac_cv_prog_CPP="$CPP"
 
fi
 
echo "$ac_t""$CPP" 1>&6
 
 
 
echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
 
echo "configure:1541: checking for ANSI C header files" >&5
 
if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
 
  echo $ac_n "(cached) $ac_c" 1>&6
 
else
 
  cat > conftest.$ac_ext <
 
#line 1546 "configure"
 
#include "confdefs.h"
 
#include 
 
#include 
 
#include 
 
#include 
 
EOF
 
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
 
{ (eval echo configure:1554: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
 
ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
 
if test -z "$ac_err"; then
 
  rm -rf conftest*
 
  ac_cv_header_stdc=yes
 
else
 
  echo "$ac_err" >&5
 
  echo "configure: failed program was:" >&5
 
  cat conftest.$ac_ext >&5
 
  rm -rf conftest*
 
  ac_cv_header_stdc=no
 
fi
 
rm -f conftest*
 
 
 
if test $ac_cv_header_stdc = yes; then
 
  # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
 
cat > conftest.$ac_ext <
 
#line 1571 "configure"
 
#include "confdefs.h"
 
#include 
 
EOF
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
  egrep "memchr" >/dev/null 2>&1; then
 
  :
 
else
 
  rm -rf conftest*
 
  ac_cv_header_stdc=no
 
fi
 
rm -f conftest*
 
 
 
fi
 
 
 
if test $ac_cv_header_stdc = yes; then
 
  # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
 
cat > conftest.$ac_ext <
 
#line 1589 "configure"
 
#include "confdefs.h"
 
#include 
 
EOF
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
  egrep "free" >/dev/null 2>&1; then
 
  :
 
else
 
  rm -rf conftest*
 
  ac_cv_header_stdc=no
 
fi
 
rm -f conftest*
 
 
 
fi
 
 
 
if test $ac_cv_header_stdc = yes; then
 
  # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
 
if test "$cross_compiling" = yes; then
 
  :
 
else
 
  cat > conftest.$ac_ext <
 
#line 1610 "configure"
 
#include "confdefs.h"
 
#include 
 
#define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
 
#define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
 
#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
 
int main () { int i; for (i = 0; i < 256; i++)
 
if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
 
exit (0); }
 
 
 
EOF
 
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
 
  :
 
else
 
  echo "configure: failed program was:" >&5
 
  cat conftest.$ac_ext >&5
 
  rm -fr conftest*
 
  ac_cv_header_stdc=no
 
fi
 
rm -fr conftest*
 
fi
 
 
 
fi
 
fi
 
 
 
echo "$ac_t""$ac_cv_header_stdc" 1>&6
 
if test $ac_cv_header_stdc = yes; then
 
  cat >> confdefs.h <<\EOF
 
#define STDC_HEADERS 1
 
EOF
 
 
 
fi
 
 
 
 
 
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:1650: checking whether ${CC-cc} needs -traditional" >&5
echo "configure:1686: 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 1656 "configure"
#line 1692 "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 1668... Line 1704...
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 1674 "configure"
#line 1710 "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 1716... Line 1752...
  OR1K_EXCEPT_FALSE=
  OR1K_EXCEPT_FALSE=
fi
fi
 
 
 
 
echo $ac_n "checking whether to enable optimizations""... $ac_c" 1>&6
echo $ac_n "checking whether to enable optimizations""... $ac_c" 1>&6
echo "configure:1722: checking whether to enable optimizations" >&5
echo "configure:1758: checking whether to enable optimizations" >&5
# Check whether --enable-opt or --disable-opt was given.
# Check whether --enable-opt or --disable-opt was given.
if test "${enable_opt+set}" = set; then
if test "${enable_opt+set}" = set; then
  enableval="$enable_opt"
  enableval="$enable_opt"
 
 
    case "$enableval" in
    case "$enableval" in
Line 1736... Line 1772...
 
 
echo "$ac_t""${enable_opt-default}" 1>&6
echo "$ac_t""${enable_opt-default}" 1>&6
 
 
case "$enable_debugging" in
case "$enable_debugging" in
    yes) echo $ac_n "checking for malloc in -lefence""... $ac_c" 1>&6
    yes) echo $ac_n "checking for malloc in -lefence""... $ac_c" 1>&6
echo "configure:1742: checking for malloc in -lefence" >&5
echo "configure:1778: checking for malloc in -lefence" >&5
ac_lib_var=`echo efence'_'malloc | sed 'y%./+-%__p_%'`
ac_lib_var=`echo efence'_'malloc | 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="-lefence  $LIBS"
LIBS="-lefence  $LIBS"
cat > conftest.$ac_ext <
cat > conftest.$ac_ext <
#line 1750 "configure"
#line 1786 "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 malloc();
char malloc();
 
 
int main() {
int main() {
malloc()
malloc()
; return 0; }
; return 0; }
EOF
EOF
if { (eval echo configure:1761: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:1797: \"$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 1788... Line 1824...
 
 
 
 
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:1794: checking for working const" >&5
echo "configure:1830: 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 1799 "configure"
#line 1835 "configure"
#include "confdefs.h"
#include "confdefs.h"
 
 
int main() {
int main() {
 
 
/* Ultrix mips cc rejects this.  */
/* Ultrix mips cc rejects this.  */
Line 1842... Line 1878...
  const int foo = 10;
  const int foo = 10;
}
}
 
 
; return 0; }
; return 0; }
EOF
EOF
if { (eval echo configure:1848: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:1884: \"$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 1863... Line 1899...
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:1869: checking for inline" >&5
echo "configure:1905: 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 1876 "configure"
#line 1912 "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:1883: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:1919: \"$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.