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

Subversion Repositories or1k

Compare Revisions

  • This comparison shows the changes necessary to convert path
    /
    from Rev 344 to Rev 345
    Reverse comparison

Rev 344 → Rev 345

/trunk/or1ksim/configure
1799,21 → 1799,22
 
for ac_hdr in unistd.h stdlib.h varargs.h stdarg.h string.h \
sys/ptem.h sys/pte.h sys/stream.h sys/select.h \
termcap.h termios.h termio.h sys/file.h locale.h
termcap.h termios.h termio.h sys/file.h locale.h\
net/ethernet.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
echo "configure:1807: checking for $ac_hdr" >&5
echo "configure:1808: checking for $ac_hdr" >&5
if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
#line 1812 "configure"
#line 1813 "configure"
#include "confdefs.h"
#include <$ac_hdr>
EOF
ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
{ (eval echo configure:1817: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
{ (eval echo configure:1818: \"$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*
1841,7 → 1842,7
 
 
cat > conftest.$ac_ext <<EOF
#line 1845 "configure"
#line 1846 "configure"
#include "confdefs.h"
 
int main() {
1848,7 → 1849,7
long long ll; unsigned long long ull;
; return 0; }
EOF
if { (eval echo configure:1852: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
if { (eval echo configure:1853: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
rm -rf conftest*
cat >> confdefs.h <<\EOF
#define CC_HAS_LONG_LONG 1
1864,7 → 1865,7
if test "${enable_readline+set}" = set; then
enableval="$enable_readline"
echo $ac_n "checking for add_history in -lreadline""... $ac_c" 1>&6
echo "configure:1868: checking for add_history in -lreadline" >&5
echo "configure:1869: checking for add_history in -lreadline" >&5
ac_lib_var=`echo readline'_'add_history | sed 'y%./+-%__p_%'`
if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
1872,7 → 1873,7
ac_save_LIBS="$LIBS"
LIBS="-lreadline $LIBS"
cat > conftest.$ac_ext <<EOF
#line 1876 "configure"
#line 1877 "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
1883,7 → 1884,7
add_history()
; return 0; }
EOF
if { (eval echo configure:1887: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
if { (eval echo configure:1888: \"$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
1931,7 → 1932,7
 
 
echo $ac_n "checking whether to enable profiling""... $ac_c" 1>&6
echo "configure:1935: checking whether to enable profiling" >&5
echo "configure:1936: checking whether to enable profiling" >&5
# Check whether --enable-profiling or --disable-profiling was given.
if test "${enable_profiling+set}" = set; then
enableval="$enable_profiling"
1945,7 → 1946,7
echo "$ac_t""${enable_profiling-no}" 1>&6
 
echo $ac_n "checking whether to disable CPU debugging module""... $ac_c" 1>&6
echo "configure:1949: checking whether to disable CPU debugging module" >&5
echo "configure:1950: checking whether to disable CPU debugging module" >&5
# Check whether --enable-debugmod or --disable-debugmod was given.
if test "${enable_debugmod+set}" = set; then
enableval="$enable_debugmod"
1960,7 → 1961,7
 
 
echo $ac_n "checking for implementation-specific data""... $ac_c" 1>&6
echo "configure:1964: checking for implementation-specific data" >&5
echo "configure:1965: checking for implementation-specific data" >&5
# Check whether --enable-impl or --disable-impl was given.
if test "${enable_impl+set}" = set; then
enableval="$enable_impl"
/trunk/or1ksim/configure.in
58,7 → 58,8
AC_FUNC_STRCOLL
AC_CHECK_HEADERS(unistd.h stdlib.h varargs.h stdarg.h string.h \
sys/ptem.h sys/pte.h sys/stream.h sys/select.h \
termcap.h termios.h termio.h sys/file.h locale.h)
termcap.h termios.h termio.h sys/file.h locale.h\
net/ethernet.h)
 
dnl check for "long long" (added by Erez)
AC_TRY_COMPILE(,[long long ll; unsigned long long ull;],AC_DEFINE(CC_HAS_LONG_LONG))
/trunk/or1ksim/config.h.in
56,6 → 56,9
/* Define if you have the <ndir.h> header file. */
#undef HAVE_NDIR_H
 
/* Define if you have the <net/ethernet.h> header file. */
#undef HAVE_NET_ETHERNET_H
 
/* Define if you have the <stdarg.h> header file. */
#undef HAVE_STDARG_H
 

powered by: WebSVN 2.1.0

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