wmshutdown: Destroy dialog window before shutting down. This is especially useful...
[dockapps.git] / wmwifi / configure.in
blobe826caad4218cef13dad2ac4f1b4f3608d3060e3
1 dnl Process this file with autoconf to produce a configure script.
2 AC_INIT(src/wmwifi.c)
3 AM_INIT_AUTOMAKE(wmwifi, 0.6)
4 dnl Checks for programs.
5 AC_PROG_INSTALL
6 AC_PROG_CC
7 dnl Checks for libraries.
8 dnl Replace `main' with a function in -le:
9 AC_CHECK_LIB(e, main)
10 dnl Replace `main' with a function in -links:
11 AC_PATH_XTRA
12 AC_PATH_X
13 dnl echo $X_CFLAGS $X_LIBS
14 CFLAGS="$X_CFLAGS $X_LIBS"
15 AC_CHECK_LIB(X11, XCopyArea, [], [], $X_LIBS)
16 AC_CHECK_LIB(Xext, XShapeCombineMask, [], [], $X_LIBS)
17 AC_CHECK_LIB(Xpm, XpmCreatePixmapFromData, [], [], $X_LIBS)
18 AC_CHECK_HEADER(X11/xpm.h)
19 dnl Checks for header files.
20 AC_HEADER_STDC
21 AC_CHECK_HEADERS(strings.h sys/time.h unistd.h)
23 dnl Checks for typedefs, structures, and compiler characteristics.
24 AC_HEADER_TIME
26 dnl Checks for library functions.
27 AC_CHECK_FUNCS(select)
29 AC_OUTPUT(Makefile src/Makefile)