]> Dogcows Code - chaz/openbox/blob - configure.ac
remove the XImage from Surface
[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
25 AC_PROG_LIBTOOL
26 LIBTOOL="$LIBTOOL --silent"
27 AC_PROG_INSTALL
28
29 ALL_LINGUAS=""
30 AM_GNU_GETTEXT_VERSION(0.11.5)
31 AM_GNU_GETTEXT([external])
32
33 PYTHON_DEVEL
34
35 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)
36 AC_HEADER_TIME
37 # AC_TYPE_SIGNAL
38
39 # Check for Xft2
40 XFT_DEVEL(2.0.0)
41
42 # Check for X11 extensions
43 X11_EXT_XKB
44 X11_EXT_SHAPE
45 X11_EXT_XINERAMA
46
47 AC_CONFIG_FILES([Makefile po/Makefile.in
48 otk/Makefile
49 src/Makefile
50 scripts/Makefile
51 doc/Makefile
52 doc/doxygen/Makefile
53 data/Makefile
54 data/buttons/Makefile
55 data/styles/Makefile
56 ])
57 AC_OUTPUT
58
59 AC_MSG_RESULT
60 AC_MSG_RESULT([$PACKAGE version $VERSION configured successfully.])
61
62 AC_MSG_RESULT
63 if test "$DEBUG" = "yes"; then
64 AC_MSG_RESULT([Creating a DEBUG build.])
65 else
66 AC_MSG_RESULT([Creating a RELEASE build.])
67 fi
68 AC_MSG_RESULT([Using '$prefix' for installation.])
69 AC_MSG_RESULT([Using '$CXX' for C++ compiler.])
70 AC_MSG_RESULT([Building with '$CXXFLAGS' for C++ compiler flags.])
71 AC_MSG_RESULT([Building with '$LIBS' for linker flags.])
72 AC_MSG_RESULT
73 AC_MSG_RESULT([configure complete, now type \"make\"])
This page took 0.036167 seconds and 4 git commands to generate.