Search
lxdream.org :: lxdream/configure.in
lxdream 0.9.1
released Jun 29
Download Now
filename configure.in
changeset 503:36a668469e37
prev489:45c8ddcf52cb
next509:d72564edc482
author nkeynes
date Thu Nov 08 11:55:47 2007 +0000 (12 years ago)
permissions -rw-r--r--
last change Update name + version numbers
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@503
     4
AM_INIT_AUTOMAKE(lxdream, 0.8.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@487
    17
AC_CHECK_LIB(z, uncompress, [], [
nkeynes@487
    18
    echo "Zlib (libz.so) could not be found, but is required."
nkeynes@487
    19
    exit 1])
nkeynes@487
    20
AC_CHECK_LIB(GL, glXQueryVersion, [], [
nkeynes@487
    21
    echo "The OpenGL library (libGL.so) could not be found, but is required."
nkeynes@487
    22
    exit 1])
nkeynes@94
    23
nkeynes@489
    24
dnl Check for cdrom device support
nkeynes@489
    25
AC_CHECK_HEADER([linux/cdrom.h], [HAVE_LINUX_CDROM_H=yes], [
nkeynes@489
    26
    echo "Linux CDROM support not found, building without it."]  )
nkeynes@489
    27
AM_CONDITIONAL(CDROM_LINUX, [test "$HAVE_LINUX_CDROM_H" = "yes"])
nkeynes@489
    28
nkeynes@503
    29
GETTEXT_PACKAGE=lxdream
nkeynes@1
    30
AC_SUBST(GETTEXT_PACKAGE)
nkeynes@1
    31
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE")
nkeynes@503
    32
AC_SUBST(PACKAGE_CFLAGS)
nkeynes@503
    33
AC_SUBST(PACKAGE_LIBS)
nkeynes@503
    34
nkeynes@1
    35
nkeynes@1
    36
dnl Add the languages which your application supports here.
nkeynes@1
    37
ALL_LINGUAS=""
nkeynes@1
    38
AM_GLIB_GNU_GETTEXT
nkeynes@1
    39
nkeynes@1
    40
AC_OUTPUT([
nkeynes@1
    41
Makefile
nkeynes@1
    42
src/Makefile
nkeynes@1
    43
po/Makefile.in
nkeynes@1
    44
])
nkeynes@1
    45
.