wmclock: Bump to version 1.0.15.
[dockapps.git] / libdockapp / configure.ac
blobe08afc6ab8299a56eb09630bbc9027474479d4df
1 AC_INIT([libdockapp],[0.6.4],[wmaker-dev@lists.windowmaker.org])
2 AC_CONFIG_SRCDIR([src/dockapp.h])
3 AM_INIT_AUTOMAKE
5 LT_INIT
7 dnl Specify whether to install font and examples
8 dnl ============================================
10 AC_ARG_WITH(font,
11     [  --with-font             install the dockapp font (default=yes)],
12     with_font=$withval,
13     with_font=yes)
15 AC_ARG_WITH(examples,
16     [  --with-examples         install the examples (default=yes)],
17     with_examples=$withval,
18     with_examples=yes)
20 AM_CONDITIONAL(COND_FONT, [test "$with_font" = yes])
21 AM_CONDITIONAL(COND_EXAMPLES, [test "$with_examples" = yes])
23 dnl Checks for programs.
24 AC_PROG_CC
25 AC_PROG_INSTALL
27 dnl Checks for libraries.
28 AC_PATH_XTRA
30 PKG_CHECK_MODULES([X11],[x11])
31 PKG_CHECK_MODULES([Xext],[xext])
32 PKG_CHECK_MODULES([xpm],[xpm])
34 dnl Checks for header files.
37 dnl Checks for typedefs, structures, and compiler characteristics.
39 dnl Debugging
40 dnl =========
41 AC_ARG_ENABLE(debug,
42             [  --enable-debug        enable debugging ],, enable_debug=no)
43 if test "$enable_debug" = yes; then
44     DFLAGS="-Wall -g -ansi -pedantic"
46 AC_SUBST(DFLAGS)
48 dnl Font-util macros
49 dnl ================
51 m4_ifndef([XORG_FONT_MACROS_VERSION],
52           [m4_fatal([must install X.Org font-util 1.1 or later before running autoconf/autogen])])
53 XORG_FONT_MACROS_VERSION(1.1)
54 XORG_FONT_COMMON_UTILS()
55 XORG_FONTDIR([misc])
57 AC_CONFIG_FILES([Makefile
58         src/Makefile
59         fonts/Makefile
60         examples/Makefile])
61 AC_OUTPUT