X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=configure.ac;h=ec82b835313f5461331a04be3b889e67766b7d02;hb=c0568cd7ef9542540b11068c002bb6a8d35f3d84;hp=920af39297aacc5fdc80f71f99b4dab56fadf30f;hpb=b10548f0ddf7ac9deb85372332686c6d8651a1f6;p=chaz%2Fopenbox diff --git a/configure.ac b/configure.ac index 920af392..ec82b835 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,10 @@ 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_PROG_LIBTOOL LIBTOOL="$LIBTOOL --silent" AC_PROG_INSTALL @@ -38,8 +43,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