33 lines
805 B
Plaintext
33 lines
805 B
Plaintext
dnl Process this file with autoconf to produce a configure script.
|
|
AC_INIT(src/dockapp.c)
|
|
|
|
dnl Checks for programs.
|
|
AC_PROG_CC
|
|
AC_PROG_INSTALL
|
|
AC_PROG_AWK
|
|
|
|
dnl Checks for libraries.
|
|
dnl Replace `main' with a function in -lX11:
|
|
AC_CHECK_LIB(X11, main)
|
|
dnl Replace `main' with a function in -lXext:
|
|
AC_CHECK_LIB(Xext, main)
|
|
dnl Replace `main' with a function in -lXpm:
|
|
AC_CHECK_LIB(Xpm, main)
|
|
dnl Replace `main' with a function in -le:
|
|
AC_CHECK_LIB(e, main)
|
|
dnl Replace `main' with a function in -links:
|
|
AC_CHECK_LIB(inks, main)
|
|
|
|
dnl Checks for header files.
|
|
AC_PATH_X
|
|
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)
|