Update autotools configuration

Use new libtool syntax and cleaning the code a bit
This commit is contained in:
Javier Jardón 2010-11-06 01:55:27 +01:00 committed by Kristian Høgsberg
parent 0bfb126e59
commit 5b7e43ac56
3 changed files with 26 additions and 16 deletions

View file

@ -1,11 +1,24 @@
AC_INIT(wayland, 0.1)
AM_INIT_AUTOMAKE([foreign dist-bzip2])
AC_PROG_CC
AC_PROG_LIBTOOL
AC_CONFIG_MACRO_DIR([m4])
AC_PREREQ([2.64])
AC_INIT([wayland],
[0.1],
[https://bugs.freedesktop.org/enter_bug.cgi?product=wayland],
[wayland],
[http://wayland.freedesktop.org/])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_MACRO_DIR([m4])
AM_INIT_AUTOMAKE([1.11 foreign dist-bzip2])
AM_SILENT_RULES([yes])
# Check for programs
AC_PROG_CC
# Initialize libtool
LT_PREREQ([2.2])
LT_INIT
PKG_PROG_PKG_CONFIG()
PKG_CHECK_MODULES(FFI, [libffi])