diff options
author | Keith Packard <keithp@keithp.com> | 2009-08-17 20:47:31 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2009-08-17 20:47:31 -0700 |
commit | 7cba411de0780c65e3490ab67186a514f0ea42ec (patch) | |
tree | 006cde07f7cf8b600bcf4e95f0fdce2cd93812f6 /configure.ac | |
parent | f48dcffae761700355a17b59345d55a60703f0c4 (diff) |
test for sdcc, nickle and readline
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 495e1185..e3bc2df9 100644 --- a/configure.ac +++ b/configure.ac @@ -53,6 +53,18 @@ if test "x$HAVE_FLITE_H" = "xyes" -a "x$HAVE_LIBFLITE" = "xyes"; then fi AM_CONDITIONAL(USE_FLITE,test "x$HAVE_FLITE_H" = "xyes" -a "x$HAVE_LIBFLITE" = "xyes") +AC_CHECK_PROG([HAVE_SDCC], [sdcc], yes, no) +if test "x$HAVE_SDCC" = "xno"; then + AC_MSG_ERROR([Please install sdcc to build AltOs]) +fi + +AC_CHECK_PROG([HAVE_NICKLE], [nickle], yes, no) +if test "x$HAVE_NICKLE" = "xno"; then + AC_MSG_ERROR([Please install nickle to build AltOs]) +fi + +AC_CHECK_LIB(readline, readline) + PKG_CHECK_MODULES([GNOME], [gtk+-2.0 libglade-2.0 gconf-2.0]) PKG_CHECK_MODULES([LIBUSB], [libusb-1.0]) |