Line 44... |
Line 44... |
AC_PROG_LIBTOOL
|
AC_PROG_LIBTOOL
|
AM_INIT_AUTOMAKE
|
AM_INIT_AUTOMAKE
|
|
|
AC_CONFIG_HEADERS([config.h])
|
AC_CONFIG_HEADERS([config.h])
|
|
|
AC_REVISION([$Id: configure.ac 230 2010-08-01 18:29:47Z jeremybennett $ using automake version] AC_ACVERSION)
|
AC_REVISION([$Id: configure.ac 233 2010-08-02 23:25:25Z julius $ using automake version] AC_ACVERSION)
|
|
|
# make sure we are using a recent autoconf version
|
# make sure we are using a recent autoconf version
|
AC_PREREQ(2.59)
|
AC_PREREQ(2.59)
|
|
|
# yuck.
|
# yuck.
|
Line 174... |
Line 174... |
|
|
AC_CHECK_SIZEOF(char, 1)
|
AC_CHECK_SIZEOF(char, 1)
|
AC_CHECK_SIZEOF(short, 1)
|
AC_CHECK_SIZEOF(short, 1)
|
AC_CHECK_SIZEOF(int, 1)
|
AC_CHECK_SIZEOF(int, 1)
|
AC_CHECK_SIZEOF(long, 1)
|
AC_CHECK_SIZEOF(long, 1)
|
|
AC_CHECK_SIZEOF(long long, 1)
|
|
|
#Check for compare function type for qsort (needed by some Linuxes)
|
#Check for compare function type for qsort (needed by some Linuxes)
|
AC_CHECK_TYPES([__compar_fn_t])
|
AC_CHECK_TYPES([__compar_fn_t])
|
|
|
# check for GNU readline
|
# check for GNU readline
|
Line 340... |
Line 341... |
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}/port -I\${top_srcdir}/argtable2"
|
-I\${top_srcdir}/cuc -I\${top_srcdir}/port -I\${top_srcdir}/argtable2 \
|
|
-I\${top_srcdir}/softfloat"
|
AC_SUBST(INCLUDES)
|
AC_SUBST(INCLUDES)
|
|
|
AC_CONFIG_FILES([Makefile \
|
AC_CONFIG_FILES([Makefile \
|
argtable2/Makefile \
|
argtable2/Makefile \
|
bpb/Makefile \
|
bpb/Makefile \
|
cache/Makefile \
|
cache/Makefile \
|
cpu/Makefile \
|
cpu/Makefile \
|
cpu/common/Makefile \
|
cpu/common/Makefile \
|
cpu/or1k/Makefile \
|
cpu/or1k/Makefile \
|
cuc/Makefile \
|
cuc/Makefile \
|
|
softfloat/Makefile \
|
debug/Makefile \
|
debug/Makefile \
|
doc/Makefile \
|
doc/Makefile \
|
mmu/Makefile \
|
mmu/Makefile \
|
peripheral/Makefile \
|
peripheral/Makefile \
|
peripheral/channels/Makefile \
|
peripheral/channels/Makefile \
|