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