21625f40b5
I tried to get the latest versions from dockapps.org, but I haven't tested any of them. More dockapps will be added as time permits.
30 lines
840 B
Plaintext
30 lines
840 B
Plaintext
dnl Process this file with autoconf to produce a configure script.
|
|
AC_INIT(src/wmwifi.c)
|
|
AM_INIT_AUTOMAKE(wmwifi, 0.6)
|
|
dnl Checks for programs.
|
|
AC_PROG_INSTALL
|
|
AC_PROG_CC
|
|
dnl Checks for libraries.
|
|
dnl Replace `main' with a function in -le:
|
|
AC_CHECK_LIB(e, main)
|
|
dnl Replace `main' with a function in -links:
|
|
AC_PATH_XTRA
|
|
AC_PATH_X
|
|
dnl echo $X_CFLAGS $X_LIBS
|
|
CFLAGS="$X_CFLAGS $X_LIBS"
|
|
AC_CHECK_LIB(X11, XCopyArea, [], [], $X_LIBS)
|
|
AC_CHECK_LIB(Xext, XShapeCombineMask, [], [], $X_LIBS)
|
|
AC_CHECK_LIB(Xpm, XpmCreatePixmapFromData, [], [], $X_LIBS)
|
|
AC_CHECK_HEADER(X11/xpm.h)
|
|
dnl Checks for header files.
|
|
AC_HEADER_STDC
|
|
AC_CHECK_HEADERS(strings.h sys/time.h unistd.h)
|
|
|
|
dnl Checks for typedefs, structures, and compiler characteristics.
|
|
AC_HEADER_TIME
|
|
|
|
dnl Checks for library functions.
|
|
AC_CHECK_FUNCS(select)
|
|
|
|
AC_OUTPUT(Makefile src/Makefile)
|