2017-09-10 01:24:17 +00:00
|
|
|
dnl Process this file with autoconf to produce a configure script.
|
|
|
|
dnl
|
|
|
|
dnl (c) 1998-2004 Alexey Vyskubov <alexey@mawhrin.net>
|
|
|
|
dnl
|
|
|
|
dnl vim:ts=8:sts=2:shiftwidth=2:expandtab:foldmethod=marker
|
|
|
|
|
|
|
|
dnl {{{1
|
|
|
|
AC_INIT(fookb.c)
|
|
|
|
|
|
|
|
dnl Checks for programs.
|
|
|
|
AC_PROG_CC
|
|
|
|
|
2017-09-10 01:24:20 +00:00
|
|
|
dnl Checks for libraries.
|
2017-09-10 01:24:17 +00:00
|
|
|
|
2017-09-10 01:24:20 +00:00
|
|
|
PKG_CHECK_MODULES([Xlib], [x11])
|
|
|
|
PKG_CHECK_MODULES([libXpm], [xpm])
|
|
|
|
PKG_CHECK_MODULES([WUtil], [WUtil])
|
2017-09-10 01:24:17 +00:00
|
|
|
|
|
|
|
AC_ARG_ENABLE(
|
|
|
|
[wmaker],
|
|
|
|
[ --enable-wmaker create windowmaker dockable application],
|
|
|
|
[
|
|
|
|
if test $enable_wmaker = yes ; then
|
|
|
|
AC_DEFINE(WMAKER)
|
|
|
|
fi
|
|
|
|
],
|
|
|
|
[
|
|
|
|
AC_CHECK_PROG(HAVE_WMAKER, wmaker, yes, no)
|
|
|
|
|
|
|
|
if test $HAVE_WMAKER = yes ; then
|
|
|
|
AC_DEFINE(WMAKER)
|
|
|
|
fi
|
|
|
|
]
|
|
|
|
)
|
|
|
|
|
|
|
|
AC_OUTPUT(Makefile)
|