filename | configure.in |
changeset | 487:b34abd796f5e |
prev | 482:42da008cd8bf |
next | 489:45c8ddcf52cb |
author | nkeynes |
date | Sat Nov 03 12:01:35 2007 +0000 (14 years ago) |
permissions | -rw-r--r-- |
last change | Bail out if libGL or zlib isn't found (they're somewhat compulsory) |
view | annotate | diff | log | raw |
1 dnl Process this file with autoconf to produce a configure script.
3 AC_INIT(configure.in)
4 AM_INIT_AUTOMAKE(dream, 0.1)
5 AM_MAINTAINER_MODE
6 AM_CONFIG_HEADER(config.h)
8 AC_ISC_POSIX
9 AC_PROG_CC
10 AM_PROG_CC_STDC
11 AC_HEADER_STDC
13 PKG_CHECK_MODULES(PACKAGE,
14 [ gtk+-2.0 dnl
15 esound dnl
16 libpng ])
17 AC_SUBST(PACKAGE_CFLAGS)
18 AC_SUBST(PACKAGE_LIBS)
20 AC_CHECK_LIB(z, uncompress, [], [
21 echo "Zlib (libz.so) could not be found, but is required."
22 exit 1])
23 AC_CHECK_LIB(GL, glXQueryVersion, [], [
24 echo "The OpenGL library (libGL.so) could not be found, but is required."
25 exit 1])
27 GETTEXT_PACKAGE=dream
28 AC_SUBST(GETTEXT_PACKAGE)
29 AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE")
31 dnl Add the languages which your application supports here.
32 ALL_LINGUAS=""
33 AM_GLIB_GNU_GETTEXT
35 AC_OUTPUT([
36 Makefile
37 src/Makefile
38 po/Makefile.in
39 ])
.