1 dnl Process this file with autoconf to produce a configure script.
3 AM_INIT_AUTOMAKE(wmwifi, 0.6)
4 dnl Checks for programs.
7 dnl Checks for libraries.
8 dnl Replace `main' with a function in -le:
10 dnl Replace `main' with a function in -links:
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.
21 AC_CHECK_HEADERS(strings.h sys/time.h unistd.h)
23 dnl Checks for typedefs, structures, and compiler characteristics.
26 dnl Checks for library functions.
27 AC_CHECK_FUNCS(select)
29 AC_OUTPUT(Makefile src/Makefile)