]> Dogcows Code - chaz/openbox/blob - configure.ac
add comment about the two different area Rects
[chaz/openbox] / configure.ac
1 AC_PREREQ([2.50])
2 AC_INIT([openbox], [2.90.0cvs], [http://bugzilla.icculus.org])
3 AC_CONFIG_SRCDIR([kernel/openbox.c])
4
5 AC_PREFIX_DEFAULT([/usr/local])
6 test "$prefix" = "NONE" && prefix=$ac_default_prefix
7
8 AC_PATH_PROG([SED], [sed])
9 test "$SED" || AC_MSG_ERROR([sed not found])
10
11 # Determine build target
12 OB_DEBUG
13 # Pick compiler specific/build target flags, and set $CVS
14 OB_COMPILER_FLAGS
15 AC_C_CONST
16 AC_C_INLINE
17
18 AC_PROG_MAKE_SET
19
20 if test "$CVS" = "yes"; then
21 AC_PATH_PROG([FLEX], [flex])
22 test "$FLEX" || AC_MSG_ERROR([flex not found])
23
24 AC_PATH_PROG([BISON], [bison])
25 test "BISON" || AC_MSG_ERROR([bison not found])
26 fi
27
28 AC_DISABLE_STATIC
29 AC_LIBTOOL_DLOPEN
30 AC_PROG_LIBTOOL
31 AC_SUBST(LIBTOOL_DEPS)
32 LIBTOOL="$LIBTOOL --silent"
33
34 AC_PROG_INSTALL
35
36 OB_NLS
37 ## XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX ##
38 ##ALL_LINGUAS=""
39 ##AM_GNU_GETTEXT_VERSION(0.11.5)
40 ##AM_GNU_GETTEXT([external])
41 ## XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX ##
42
43 AC_CHECK_HEADERS(ctype.h fcntl.h locale.h signal.h string.h stdio.h stdlib.h)
44 AC_CHECK_HEADERS(unistd.h sys/stat.h sys/select.h sys/time.h sys/wait.h)
45 # AC_HEADER_TIME
46 # AC_TYPE_SIGNAL
47
48 PKG_CHECK_MODULES([GLIB], [glib-2.0])
49 AC_SUBST(GLIB_CFLAGS)
50 AC_SUBST(GLIB_LIBS)
51
52 PKG_CHECK_MODULES([GMODULE], [gmodule-2.0])
53 AC_SUBST(GMODULE_CFLAGS)
54 AC_SUBST(GMODULE_LIBS)
55
56 PKG_CHECK_MODULES(XFT, xft)
57 AC_SUBST(XFT_CFLAGS)
58 AC_SUBST(XFT_LIBS)
59
60 # Check for X11 extensions
61 X11_EXT_XKB
62 X11_EXT_SHAPE
63 X11_EXT_XINERAMA
64
65 AC_CONFIG_FILES([Makefile build/Makefile.incl])
66 AC_OUTPUT
67
68 AC_MSG_RESULT
69 if test "$DEBUG" = "yes"; then
70 AC_MSG_RESULT([Creating a DEBUG build.])
71 else
72 AC_MSG_RESULT([Creating a RELEASE build.])
73 fi
74 AC_MSG_RESULT
75 AC_MSG_RESULT([configure complete, now type \"make\"])
This page took 0.034098 seconds and 4 git commands to generate.