Line 56... |
Line 56... |
AC_CHECK_FUNCS(strndup grantpt unlockpt ptsname on_exit isblank)
|
AC_CHECK_FUNCS(strndup grantpt unlockpt ptsname on_exit isblank)
|
AC_FUNC_STRCOLL
|
AC_FUNC_STRCOLL
|
AC_CHECK_HEADERS(unistd.h stdlib.h varargs.h stdarg.h string.h \
|
AC_CHECK_HEADERS(unistd.h stdlib.h varargs.h stdarg.h string.h \
|
sys/ptem.h sys/pte.h sys/stream.h sys/stropts.h sys/select.h \
|
sys/ptem.h sys/pte.h sys/stream.h sys/stropts.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 sys/ethernet.h malloc.h)
|
net/ethernet.h sys/ethernet.h malloc.h inttypes.h)
|
AC_C_BIGENDIAN
|
AC_C_BIGENDIAN
|
|
|
dnl check for "long long" (added by Erez)
|
dnl check for "long long" (added by Erez)
|
AC_TRY_COMPILE(,[long long ll; unsigned long long ull;],AC_DEFINE(CC_HAS_LONG_LONG))
|
AC_TRY_COMPILE(,[long long ll; unsigned long long ull;],AC_DEFINE(CC_HAS_LONG_LONG))
|
|
|
|
dnl check for {u,}int{8,16,32}_t in inttypes.h
|
|
AC_CHECK_TYPES([uint8_t, uint16_t, uint32_t],,, [#include ])
|
|
AC_CHECK_TYPES([int8_t, int16_t, int32_t],,, [#include ])
|
|
|
|
AC_CHECK_SIZEOF(char, 1)
|
|
AC_CHECK_SIZEOF(short, 1)
|
|
AC_CHECK_SIZEOF(int, 1)
|
|
AC_CHECK_SIZEOF(long, 1)
|
|
|
dnl check for GNU readline
|
dnl check for GNU readline
|
AC_ARG_ENABLE(readline,
|
AC_ARG_ENABLE(readline,
|
[ --enable-readline Use GNU readline], AC_CHECK_LIB(readline, add_history))
|
[ --enable-readline Use GNU readline], AC_CHECK_LIB(readline, add_history))
|
|
|
dnl yuck
|
dnl yuck
|
Line 222... |
Line 231... |
INCLUDES="$INCLUDES -I\${top_srcdir} -I\${top_srcdir}/cpu/common \
|
INCLUDES="$INCLUDES -I\${top_srcdir} -I\${top_srcdir}/cpu/common \
|
-I\${top_srcdir}/cpu/or1k -I\${top_srcdir}/cache -I\${top_srcdir}/mmu \
|
-I\${top_srcdir}/cpu/or1k -I\${top_srcdir}/cache -I\${top_srcdir}/mmu \
|
-I\${top_srcdir}/bpb -I\${top_srcdir}/peripheral -I\${top_srcdir}/tick \
|
-I\${top_srcdir}/bpb -I\${top_srcdir}/peripheral -I\${top_srcdir}/tick \
|
-I\${top_srcdir}/peripheral/channels -I\${top_srcdir}/pm -I\${top_srcdir}/pic \
|
-I\${top_srcdir}/peripheral/channels -I\${top_srcdir}/pm -I\${top_srcdir}/pic \
|
-I\${top_srcdir}/debug -I\${top_srcdir}/vapi -I\${top_srcdir}/support \
|
-I\${top_srcdir}/debug -I\${top_srcdir}/vapi -I\${top_srcdir}/support \
|
-I\${top_srcdir}/cuc"
|
-I\${top_srcdir}/cuc -I\${top_srcdir}/port"
|
AC_SUBST(INCLUDES)
|
AC_SUBST(INCLUDES)
|
|
|
AC_OUTPUT([Makefile bpb/Makefile cache/Makefile cpu/Makefile
|
AC_OUTPUT([Makefile bpb/Makefile cache/Makefile cpu/Makefile
|
cpu/common/Makefile cpu/or32/Makefile cuc/Makefile
|
cpu/common/Makefile cpu/or32/Makefile cuc/Makefile
|
cpu/or1k/Makefile cpu/dlx/Makefile debug/Makefile
|
cpu/or1k/Makefile cpu/dlx/Makefile debug/Makefile
|
support/Makefile mmu/Makefile peripheral/Makefile tick/Makefile
|
support/Makefile mmu/Makefile peripheral/Makefile tick/Makefile
|
peripheral/channels/Makefile
|
peripheral/channels/Makefile
|
pm/Makefile pic/Makefile vapi/Makefile extras/Makefile],
|
pm/Makefile pic/Makefile vapi/Makefile port/Makefile],
|
[
|
[
|
# Makefile uses this timestamp file to record whether config.h is up to date.
|
# Makefile uses this timestamp file to record whether config.h is up to date.
|
echo > stamp-h
|
echo > stamp-h
|
])
|
])
|