]> Dogcows Code - chaz/openbox/blob - configure.ac
calcDefaultSizes is protected
[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([awk_cmd], [awk]) # used by swig.m4
17 test "$awk_cmd" || AC_MSG_ERROR([awk not found])
18 AC_PATH_PROG([regex_cmd], [sed])
19 test "$regex_cmd" || AC_MSG_ERROR([sed not found])
20
21 AM_MAINTAINER_MODE
22 # Determine build target
23 OB_DEBUG
24 # Pick compiler specific/build target flags
25 OB_COMPILER_FLAGS
26 AC_C_BIGENDIAN
27
28 SWIG_PROG(1.3.14)
29 SWIG_ENABLE_CXX
30 SWIG_MULTI_MODULE_SUPPORT
31 SWIG_PYTHON
32
33 AC_PROG_LN_S
34 AC_PROG_LIBTOOL
35 LIBTOOL="$LIBTOOL --silent"
36 AC_PROG_INSTALL
37
38 ALL_LINGUAS=""
39 AM_GNU_GETTEXT_VERSION(0.11.5)
40 AM_GNU_GETTEXT([external])
41
42 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)
43 # AC_HEADER_TIME
44 # AC_TYPE_SIGNAL
45
46 # Check for Xft2
47 XFT_DEVEL(2.0.0)
48
49 # Check for X11 extensions
50 X11_EXT_XKB
51 X11_EXT_SHAPE
52 X11_EXT_XINERAMA
53
54 AC_CONFIG_FILES([Makefile po/Makefile.in
55 otk/Makefile
56 src/Makefile
57 tools/Makefile
58 wrap/Makefile
59 scripts/Makefile
60 doc/Makefile
61 doc/doxygen/Makefile
62 data/Makefile
63 data/buttons/Makefile
64 data/styles/Makefile
65 ])
66 AC_OUTPUT
67
68 AC_MSG_RESULT
69 AC_MSG_RESULT([$PACKAGE version $VERSION configured successfully.])
70
71 AC_MSG_RESULT
72 if test "$DEBUG" = "yes"; then
73 AC_MSG_RESULT([Creating a DEBUG build.])
74 else
75 AC_MSG_RESULT([Creating a RELEASE build.])
76 fi
77 AC_MSG_RESULT([Using '$prefix' for installation.])
78 AC_MSG_RESULT([Using '$CXX' for C++ compiler.])
79 AC_MSG_RESULT([Building with '$CPPFLAGS' for C++ preprocessor flags.])
80 AC_MSG_RESULT([Building with '$CXXFLAGS' for C++ compiler flags.])
81 AC_MSG_RESULT([Building with '$LIBS' for linker flags.])
82 AC_MSG_RESULT
83 AC_MSG_RESULT([configure complete, now type \"make\"])
This page took 0.03657 seconds and 4 git commands to generate.