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
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(lxdream, 0.8.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_CHECK_LIB(z, uncompress, [], [
    18     echo "Zlib (libz.so) could not be found, but is required."
    19     exit 1])
    20 AC_CHECK_LIB(GL, glXQueryVersion, [], [
    21     echo "The OpenGL library (libGL.so) could not be found, but is required."
    22     exit 1])
    24 dnl Check for cdrom device support
    25 AC_CHECK_HEADER([linux/cdrom.h], [HAVE_LINUX_CDROM_H=yes], [
    26     echo "Linux CDROM support not found, building without it."]  )
    27 AM_CONDITIONAL(CDROM_LINUX, [test "$HAVE_LINUX_CDROM_H" = "yes"])
    29 GETTEXT_PACKAGE=lxdream
    30 AC_SUBST(GETTEXT_PACKAGE)
    31 AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE")
    32 AC_SUBST(PACKAGE_CFLAGS)
    33 AC_SUBST(PACKAGE_LIBS)
    36 dnl Add the languages which your application supports here.
    37 ALL_LINGUAS=""
    38 AM_GLIB_GNU_GETTEXT
    40 AC_OUTPUT([
    41 Makefile
    42 src/Makefile
    43 po/Makefile.in
    44 ])
.