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

Subversion Repositories or1k

[/] [or1k/] [tags/] [nog_patch_58/] [or1ksim/] [testbench/] [configure] - Diff between revs 258 and 308

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

Rev 258 Rev 308
Line 1141... Line 1141...
else
else
  LD="ld"
  LD="ld"
fi
fi
fi
fi
 
 
 
# 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
 
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
 
echo "configure:1150: checking for $ac_word" >&5
 
if eval "test \"`echo '$''{'ac_cv_prog_SIM'+set}'`\" = set"; then
 
  echo $ac_n "(cached) $ac_c" 1>&6
 
else
 
  if test -n "$SIM"; then
 
  ac_cv_prog_SIM="$SIM" # Let the user override the test.
 
else
 
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
 
  ac_dummy="$PATH"
 
  for ac_dir in $ac_dummy; do
 
    test -z "$ac_dir" && ac_dir=.
 
    if test -f $ac_dir/$ac_word; then
 
      ac_cv_prog_SIM="${ac_tool_prefix}$target-sim"
 
      break
 
    fi
 
  done
 
  IFS="$ac_save_ifs"
 
fi
 
fi
 
SIM="$ac_cv_prog_SIM"
 
if test -n "$SIM"; then
 
  echo "$ac_t""$SIM" 1>&6
 
else
 
  echo "$ac_t""no" 1>&6
 
fi
 
 
 
 
 
if test -z "$ac_cv_prog_SIM"; then
 
if test -n "$ac_tool_prefix"; then
 
  # Extract the first word of "$target-sim", so it can be a program name with args.
 
set dummy $target-sim; ac_word=$2
 
echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
 
echo "configure:1182: checking for $ac_word" >&5
 
if eval "test \"`echo '$''{'ac_cv_prog_SIM'+set}'`\" = set"; then
 
  echo $ac_n "(cached) $ac_c" 1>&6
 
else
 
  if test -n "$SIM"; then
 
  ac_cv_prog_SIM="$SIM" # Let the user override the test.
 
else
 
  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS=":"
 
  ac_dummy="$PATH"
 
  for ac_dir in $ac_dummy; do
 
    test -z "$ac_dir" && ac_dir=.
 
    if test -f $ac_dir/$ac_word; then
 
      ac_cv_prog_SIM="$target-sim"
 
      break
 
    fi
 
  done
 
  IFS="$ac_save_ifs"
 
  test -z "$ac_cv_prog_SIM" && ac_cv_prog_SIM="sim"
 
fi
 
fi
 
SIM="$ac_cv_prog_SIM"
 
if test -n "$SIM"; then
 
  echo "$ac_t""$SIM" 1>&6
 
else
 
  echo "$ac_t""no" 1>&6
 
fi
 
 
 
else
 
  SIM="sim"
 
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:1150: checking for $ac_word" >&5
echo "configure:1217: 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 1174... Line 1241...
 
 
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:1180: checking for $ac_word" >&5
echo "configure:1247: 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 1225... Line 1292...
    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:1231: checking for $ac_word" >&5
echo "configure:1298: 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 1257... Line 1324...
  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:1263: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
echo "configure:1330: 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 1274 "configure"
#line 1341 "configure"
#include "confdefs.h"
#include "confdefs.h"
 
 
main(){return(0);}
main(){return(0);}
EOF
EOF
if { (eval echo configure:1279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:1346: \"$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 1299... Line 1366...
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:1305: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
echo "configure:1372: 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:1310: checking whether we are using GNU C" >&5
echo "configure:1377: 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:1319: \"$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:1386: \"$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 1332... Line 1399...
 
 
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:1338: checking whether ${CC-cc} accepts -g" >&5
echo "configure:1405: 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 1364... Line 1431...
    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:1370: checking for POSIXized ISC" >&5
echo "configure:1437: 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 1385... Line 1452...
  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:1391: checking how to run the C preprocessor" >&5
echo "configure:1458: 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 1400... Line 1467...
  # 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 1406 "configure"
#line 1473 "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:1412: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
{ (eval echo configure:1479: \"$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 1423 "configure"
#line 1490 "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:1429: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
{ (eval echo configure:1496: \"$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 1440 "configure"
#line 1507 "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:1446: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
{ (eval echo configure:1513: \"$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 1465... Line 1532...
  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:1471: checking for ANSI C header files" >&5
echo "configure:1538: 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 1476 "configure"
#line 1543 "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:1484: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
{ (eval echo configure:1551: \"$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 1495... Line 1562...
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 1501 "configure"
#line 1568 "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 1513... Line 1580...
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 1519 "configure"
#line 1586 "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 1534... Line 1601...
  # /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 1540 "configure"
#line 1607 "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:1551: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
if { (eval echo configure:1618: \"$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 1574... Line 1641...
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:1580: checking whether ${CC-cc} needs -traditional" >&5
echo "configure:1647: 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 1586 "configure"
#line 1653 "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 1598... Line 1665...
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 1604 "configure"
#line 1671 "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 1622... Line 1689...
fi
fi
 
 
 
 
set -- $CFLAGS
set -- $CFLAGS
COMPILE_OR1K=unknown
COMPILE_OR1K=unknown
 
 
 
TESTS_ENV=
case $target in
case $target in
        or1k*|or32*)
        or1k*|or32*)
                CFLAGS="$CFLAGS -nostdlib"
                CFLAGS="$CFLAGS -nostdlib"
                COMPILE=or1k
                COMPILE=or1k
 
                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='#'
Line 1643... Line 1714...
 
 
 
 
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:1649: checking for working const" >&5
echo "configure:1720: 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 1654 "configure"
#line 1725 "configure"
#include "confdefs.h"
#include "confdefs.h"
 
 
int main() {
int main() {
 
 
/* Ultrix mips cc rejects this.  */
/* Ultrix mips cc rejects this.  */
Line 1697... Line 1768...
  const int foo = 10;
  const int foo = 10;
}
}
 
 
; return 0; }
; return 0; }
EOF
EOF
if { (eval echo configure:1703: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:1774: \"$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 1718... Line 1789...
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:1724: checking for inline" >&5
echo "configure:1795: 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 1731 "configure"
#line 1802 "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:1738: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:1809: \"$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
Line 1927... Line 1998...
s%@build_vendor@%$build_vendor%g
s%@build_vendor@%$build_vendor%g
s%@build_os@%$build_os%g
s%@build_os@%$build_os%g
s%@CC@%$CC%g
s%@CC@%$CC%g
s%@RANLIB@%$RANLIB%g
s%@RANLIB@%$RANLIB%g
s%@LD@%$LD%g
s%@LD@%$LD%g
 
s%@SIM@%$SIM%g
s%@CPP@%$CPP%g
s%@CPP@%$CPP%g
s%@MAKE_SHELL@%$MAKE_SHELL%g
s%@MAKE_SHELL@%$MAKE_SHELL%g
 
s%@TESTS_ENV@%$TESTS_ENV%g
s%@OR1K_EXCEPT_TRUE@%$OR1K_EXCEPT_TRUE%g
s%@OR1K_EXCEPT_TRUE@%$OR1K_EXCEPT_TRUE%g
s%@OR1K_EXCEPT_FALSE@%$OR1K_EXCEPT_FALSE%g
s%@OR1K_EXCEPT_FALSE@%$OR1K_EXCEPT_FALSE%g
s%@INCLUDES@%$INCLUDES%g
s%@INCLUDES@%$INCLUDES%g
 
 
CEOF
CEOF

powered by: WebSVN 2.1.0

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