wmacpi: fix multiple definitions of two global variables.
[dockapps.git] / wmpager / configure.ac
blob6e9e73182fb39dda14a3a949311bf271aad7b5a7
1 AC_PREREQ([2.60])
2 AC_INIT([wmpager], [1.2], [wmaker-dev@googlegroups.com])
3 AC_CONFIG_SRCDIR([src/wmpager.c])
4 AM_INIT_AUTOMAKE([foreign dist-bzip2 no-dist-gzip])
5 AM_SILENT_RULES
7 # Checks for programs.
8 AC_PROG_CC
9 AC_PROG_INSTALL
10 AC_PROG_MAKE_SET
11 PKG_PROG_PKG_CONFIG
13 # Checks for libraries.
14 PKG_CHECK_MODULES([X], [x11 xext xpm])
15 AC_SUBST([X_CFLAGS])
16 AC_SUBST([X_LIBS])
18 # Checks for header files.
19 AC_CHECK_HEADERS([stdlib.h string.h sys/time.h unistd.h])
21 # Checks for typedefs, structures, and compiler characteristics.
23 # Checks for library functions.
24 AC_FUNC_MALLOC
25 AC_CHECK_FUNCS([gettimeofday select strdup])
27 AC_CONFIG_FILES([Makefile
28                                  man/Makefile
29                  src/Makefile
30                                  themes/Makefile])
31 AC_OUTPUT