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