]> Dogcows Code - chaz/openbox/blob - configure.ac
another attempt at fixing strange endian issues
[chaz/openbox] / configure.ac
1 AC_PREREQ([2.50])
2 AC_INIT([src/main.cc])
3 AC_CONFIG_HEADERS(config.h)
4 AC_LANG([C++])
5 AC_ENABLE_STATIC([no])
6 AC_ENABLE_SHARED([yes])
7
8 AC_PREFIX_DEFAULT([/usr/local])
9 if test "$prefix" = "NONE"; then
10 prefix=$ac_default_prefix
11 ac_configure_args="$ac_configure_args --prefix $prefix"
12 fi
13
14 AM_INIT_AUTOMAKE([openbox], [2.90.0cvs])
15
16 AC_PATH_PROG([regex_cmd], [sed])
17 test "$regex_cmd" || AC_MSG_ERROR([sed not found])
18
19 AM_MAINTAINER_MODE
20 # Determine build target
21 OB_DEBUG
22 # Pick compiler specific/build target flags
23 OB_COMPILER_FLAGS
24 AC_C_BIGENDIAN
25
26 AC_PROG_LIBTOOL
27 LIBTOOL="$LIBTOOL --silent"
28 AC_PROG_INSTALL
29
30 ALL_LINGUAS=""
31 AM_GNU_GETTEXT_VERSION(0.11.5)
32 AM_GNU_GETTEXT([external])
33
34 PYTHON_DEVEL
35
36 AC_CHECK_HEADERS(ctype.h dirent.h fcntl.h libgen.h locale.h nl_types.h process.h signal.h stdarg.h stdint.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)
37 AC_HEADER_TIME
38 # AC_TYPE_SIGNAL
39
40 # Check for Xft2
41 XFT_DEVEL(2.0.0)
42
43 # Check for X11 extensions
44 X11_EXT_XKB
45 X11_EXT_SHAPE
46 X11_EXT_XINERAMA
47
48 AC_CONFIG_FILES([Makefile po/Makefile.in
49 otk/Makefile
50 src/Makefile
51 scripts/Makefile
52 doc/Makefile
53 doc/doxygen/Makefile
54 data/Makefile
55 data/buttons/Makefile
56 data/styles/Makefile
57 ])
58 AC_OUTPUT
59
60 AC_MSG_RESULT
61 AC_MSG_RESULT([$PACKAGE version $VERSION configured successfully.])
62
63 AC_MSG_RESULT
64 if test "$DEBUG" = "yes"; then
65 AC_MSG_RESULT([Creating a DEBUG build.])
66 else
67 AC_MSG_RESULT([Creating a RELEASE build.])
68 fi
69 AC_MSG_RESULT([Using '$prefix' for installation.])
70 AC_MSG_RESULT([Using '$CXX' for C++ compiler.])
71 AC_MSG_RESULT([Building with '$CXXFLAGS' for C++ compiler flags.])
72 AC_MSG_RESULT([Building with '$LIBS' for linker flags.])
73 AC_MSG_RESULT
74 AC_MSG_RESULT([configure complete, now type \"make\"])
This page took 0.040601 seconds and 4 git commands to generate.