Line 26... |
Line 26... |
# Process this file with autoconf to produce a configure script.
|
# Process this file with autoconf to produce a configure script.
|
|
|
|
|
# Use a full version number (x.y.z, possibly with "rcn" as a suffix) when
|
# Use a full version number (x.y.z, possibly with "rcn" as a suffix) when
|
# preparing a release, otherwise use a the date version (yyyy-mm-dd).
|
# preparing a release, otherwise use a the date version (yyyy-mm-dd).
|
AC_INIT([or1ksim], [2010-06-11], [openrisc@opencores.org])
|
AC_INIT([or1ksim], [2010-06-13], [openrisc@opencores.org])
|
AC_CONFIG_MACRO_DIR([m4])
|
AC_CONFIG_MACRO_DIR([m4])
|
|
|
# Generically use extensions such as _GNU_SOURCE if available.
|
# Generically use extensions such as _GNU_SOURCE if available.
|
AC_USE_SYSTEM_EXTENSIONS
|
AC_USE_SYSTEM_EXTENSIONS
|
|
|
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 116 2010-06-11 18:03:40Z jeremybennett $ using automake version] AC_ACVERSION)
|
AC_REVISION([$Id: configure.ac 118 2010-06-13 21:07:24Z jeremybennett $ 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 92... |
Line 92... |
|
|
AC_TYPE_SIGNAL
|
AC_TYPE_SIGNAL
|
AC_CHECK_HEADERS(unistd.h stdlib.h varargs.h stdarg.h string.h strings.h \
|
AC_CHECK_HEADERS(unistd.h stdlib.h varargs.h stdarg.h string.h strings.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 getopt.h \
|
termcap.h termios.h termio.h sys/file.h locale.h getopt.h \
|
net/ethernet.h sys/ethernet.h malloc.h inttypes.h libintl.h)
|
net/ethernet.h sys/ethernet.h malloc.h inttypes.h libintl.h \
|
|
limits.h)
|
AC_CHECK_FUNCS(strcasecmp select setenv putenv tcgetattr setlocale lstat)
|
AC_CHECK_FUNCS(strcasecmp select setenv putenv tcgetattr setlocale lstat)
|
AC_CHECK_FUNCS(grantpt unlockpt ptsname on_exit)
|
AC_CHECK_FUNCS(grantpt unlockpt ptsname on_exit)
|
AC_CHECK_FUNCS(basename)
|
AC_CHECK_FUNCS(basename)
|
AC_FUNC_STRCOLL
|
AC_FUNC_STRCOLL
|
AC_CHECK_DECLS([I_PUSH, rl_event_hook], [], [], \
|
AC_CHECK_DECLS([I_PUSH, rl_event_hook], [], [], \
|