AC_PROG_CC
AC_PROG_CXX
-LT_INIT
+m4_ifdef([LT_INIT], [LT_INIT], [AC_PROG_LIBTOOL])
AC_CONFIG_MACRO_DIR([m4])
AC_CHECK_HEADERS([dbox/fp.h dbox/lcd-ks0713.h])
[with_libsdl=$withval],[with_libsdl=no])
if test "$with_libsdl" = "yes"; then
PKG_CHECK_MODULES(LIBSDL, sdl)
- AC_DEFINE([WITH_SDL],[1],[Define to 1 if you have libsdl])
fi
AM_CONDITIONAL(HAVE_LIBSDL, test "$with_libsdl" = "yes")