ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/i-scream/projects/pjob/configure.in
Revision: 1.1
Committed: Sun Mar 12 21:48:19 2006 UTC (18 years, 7 months ago) by tdb
Branch: MAIN
CVS Tags: HEAD
Error occurred while calculating annotation data.
Log Message:
Initial autotools bits for pjob. All it does is check for some basic tools
and the glib libraries, and has the Makefile to build and install. Further
checks can easily be added as needed.

Stubs added for AUTHORS, NEWS, and README.

Finally autogen.sh is for our use to run all the autotools bits.

File Contents

# Content
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