X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=configure.ac;h=4a17b8e497f066779ec4d227b706418142aa8cb4;hb=07a52aeaff0d8f429d9a740f49a85f22d51cf597;hp=920af39297aacc5fdc80f71f99b4dab56fadf30f;hpb=b10548f0ddf7ac9deb85372332686c6d8651a1f6;p=chaz%2Fopenbox diff --git a/configure.ac b/configure.ac index 920af392..4a17b8e4 100644 --- a/configure.ac +++ b/configure.ac @@ -21,6 +21,8 @@ AM_MAINTAINER_MODE OB_DEBUG # Pick compiler specific/build target flags, and set $CVS OB_COMPILER_FLAGS +AC_C_CONST +AC_C_INLINE PKG_CHECK_MODULES([GLIB], [glib-2.0]) AC_SUBST(GLIB_CFLAGS) @@ -29,7 +31,13 @@ AC_SUBST(GLIB_LIBS) PKG_CHECK_MODULES([GMODULE], [gmodule-2.0]) AC_SUBST(GMODULE_CFLAGS) AC_SUBST(GMODULE_LIBS) - + +AC_PATH_PROG([FLEX], [flex]) +test "$FLEX" || AC_MSG_ERROR([flex not found]) + +AC_PATH_PROG([YACC], [yacc]) +test "YACC" || AC_MSG_ERROR([yacc not found]) + AC_PROG_LIBTOOL LIBTOOL="$LIBTOOL --silent" AC_PROG_INSTALL @@ -38,8 +46,8 @@ ALL_LINGUAS="" AM_GNU_GETTEXT_VERSION(0.11.5) AM_GNU_GETTEXT([external]) -AC_CHECK_HEADERS(ctype.h fcntl.h locale.h signal.h string.h stdlib.h) -AC_CHECK_HEADERS(unistd.h sys/select.h sys/time.h sys/wait.h) +AC_CHECK_HEADERS(ctype.h fcntl.h locale.h signal.h string.h stdio.h stdlib.h) +AC_CHECK_HEADERS(unistd.h sys/stat.h sys/select.h sys/time.h sys/wait.h) # AC_HEADER_TIME # AC_TYPE_SIGNAL