X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=configure.ac;h=c5302aa4cf9a049e9f71f916ac8bb04becfde1fb;hb=07a7f6a31a06548e98ed10a3a68851db54ff4034;hp=50d81b29ada2f28e2b5bec162a85a730693a3d0f;hpb=08dc1566395412dc9f6ce85e063455e654f87af6;p=chaz%2Fopenbox diff --git a/configure.ac b/configure.ac index 50d81b29..c5302aa4 100644 --- a/configure.ac +++ b/configure.ac @@ -13,6 +13,8 @@ fi AM_INIT_AUTOMAKE([openbox], [2.90.0cvs]) +AC_PATH_PROG([awk_cmd], [awk]) # used by swig.m4 +test "$awk_cmd" || AC_MSG_ERROR([awk not found]) AC_PATH_PROG([regex_cmd], [sed]) test "$regex_cmd" || AC_MSG_ERROR([sed not found]) @@ -21,7 +23,14 @@ AM_MAINTAINER_MODE OB_DEBUG # Pick compiler specific/build target flags OB_COMPILER_FLAGS +AC_C_BIGENDIAN +SWIG_PROG(1.3.14) +SWIG_ENABLE_CXX +SWIG_MULTI_MODULE_SUPPORT +SWIG_PYTHON + +AC_PROG_LN_S AC_PROG_LIBTOOL LIBTOOL="$LIBTOOL --silent" AC_PROG_INSTALL @@ -30,10 +39,8 @@ ALL_LINGUAS="" AM_GNU_GETTEXT_VERSION(0.11.5) AM_GNU_GETTEXT([external]) -PYTHON_DEVEL - -AC_CHECK_HEADERS(ctype.h dirent.h fcntl.h libgen.h locale.h nl_types.h process.h signal.h stdarg.h stdio.h stdlib.h string.h time.h unistd.h sys/param.h sys/select.h sys/signal.h sys/stat.h sys/time.h sys/types.h sys/wait.h) -AC_HEADER_TIME +AC_CHECK_HEADERS(fcntl.h signal.h stdarg.h stdint.h unistd.h sys/select.h sys/signal.h sys/stat.h sys/time.h sys/types.h sys/wait.h) +# AC_HEADER_TIME # AC_TYPE_SIGNAL # Check for Xft2 @@ -47,9 +54,8 @@ X11_EXT_XINERAMA AC_CONFIG_FILES([Makefile po/Makefile.in otk/Makefile src/Makefile + wrap/Makefile scripts/Makefile - util/Makefile - util/epist/Makefile doc/Makefile doc/doxygen/Makefile data/Makefile @@ -69,8 +75,8 @@ else fi AC_MSG_RESULT([Using '$prefix' for installation.]) AC_MSG_RESULT([Using '$CXX' for C++ compiler.]) +AC_MSG_RESULT([Building with '$CPPFLAGS' for C++ preprocessor flags.]) AC_MSG_RESULT([Building with '$CXXFLAGS' for C++ compiler flags.]) AC_MSG_RESULT([Building with '$LIBS' for linker flags.]) AC_MSG_RESULT AC_MSG_RESULT([configure complete, now type \"make\"]) -AC_MSG_RESULT