wmshutdown: Destroy dialog window before shutting down. This is especially useful...
[dockapps.git] / libdockapp / configure.ac
blobd61ddfef55fcedcd9f3d165b62ed683b916d4425
1 AC_INIT([libdockapp],[0.7.2],[wmaker-dev@googlegroups.com])
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 PKG_CHECK_MODULES([X11],[x11])
29 PKG_CHECK_MODULES([Xext],[xext])
30 PKG_CHECK_MODULES([xpm],[xpm])
32 dnl Checks for header files.
35 dnl Checks for typedefs, structures, and compiler characteristics.
37 dnl Debugging
38 dnl =========
39 AC_ARG_ENABLE(debug,
40             [  --enable-debug        enable debugging ],, enable_debug=no)
41 if test "$enable_debug" = yes; then
42     DFLAGS="-Wall -g -ansi -pedantic"
44 AC_SUBST(DFLAGS)
46 dnl Font-util macros
47 dnl ================
49 m4_ifndef([XORG_FONT_MACROS_VERSION],
50           [m4_fatal([must install X.Org font-util 1.1 or later before running autoconf/autogen])])
51 XORG_FONT_MACROS_VERSION(1.1)
52 XORG_FONT_COMMON_UTILS()
53 XORG_FONTDIR([misc])
55 AC_CONFIG_FILES([Makefile
56         src/Makefile
57         fonts/Makefile
58         examples/Makefile])
59 AC_OUTPUT