blob: 5f9591e2ba611cee3d9c81d4c91901cef99d746a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
|
AC_INIT(configure.in)
AC_CONFIG_HEADER(config.h)
AM_INIT_AUTOMAKE(kaffeine_mozilla, 0.2)
AC_LANG_C
AC_PROG_CC
AM_PROG_LIBTOOL
dnl ---------------------------------------------
dnl Checks for X11
dnl ---------------------------------------------
AC_PATH_XTRA
dnl ---------------------------------------------
dnl Check for Xaw headers
dnl ---------------------------------------------
AC_CHECK_HEADER(X11/Xaw/Form.h,,
[AC_MSG_ERROR([you need to install libxaw header files (-dev package)])])
dnl ---------------------------------------------
dnl Check for NSPR include directory
dnl ---------------------------------------------
AC_CHECK_PROG(PKGCONFIGFOUND, pkg-config,[yes])
PKG_CHECK_MODULES(NSPR, nspr, have_nspr=yes,
[ AC_MSG_ERROR([nspr library not found on your system]) ])
AC_OUTPUT(Makefile src/Makefile)
|