1 |
# -*- Autoconf -*- |
2 |
# Process this file with autoconf to produce a configure script. |
3 |
# |
4 |
# configure.in for pjob |
5 |
# $Id$ |
6 |
# |
7 |
|
8 |
# Change these to change the package name and version |
9 |
AC_INIT(pjob, 0.1, bugs@i-scream.org) |
10 |
AM_INIT_AUTOMAKE(pjob, 0.1) |
11 |
AM_MAINTAINER_MODE |
12 |
|
13 |
# Revision number (automatically updated) |
14 |
AC_REVISION($Revision$) |
15 |
|
16 |
# Might work with older autoconfs... but tested on 2.57 |
17 |
AC_PREREQ(2.57) |
18 |
|
19 |
# Checks for programs |
20 |
AC_PROG_CC |
21 |
AC_PROG_INSTALL |
22 |
|
23 |
# Checks for header files |
24 |
AC_HEADER_STDC |
25 |
AC_CHECK_HEADERS([stdio.h stdlib.h string.h unistd.h poll.h]) |
26 |
|
27 |
# Checks for typedefs, structures, and compiler characteristics |
28 |
AC_C_CONST |
29 |
|
30 |
# Checks for libraries |
31 |
PKG_CHECK_MODULES([GLIB], [glib-2.0 gthread-2.0]) |
32 |
CFLAGS="$GLIB_CFLAGS $CFLAGS" |
33 |
LIBS="$GLIB_LIBS $LIBS" |
34 |
|
35 |
# And finish by changing these files |
36 |
AC_CONFIG_FILES([Makefile]) |
37 |
|
38 |
AC_OUTPUT |