changeset 182:7d1497608c2f

Polish scripts of GNU Build System.
author "Shih-Yuan Lee (FourDollars) <fourdollars@gmail.com>"
date Sun, 02 Nov 2008 14:05:39 +0800
parents 269009e18c8a
children cc96dd079521
files Makefile.am configure.ac
diffstat 2 files changed, 5 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile.am	Sun Nov 02 12:18:29 2008 +0800
+++ b/Makefile.am	Sun Nov 02 14:05:39 2008 +0800
@@ -1,4 +1,4 @@
 SUBDIRS = src tools examples
 pkgconfigdir = $(libdir)/pkgconfig
 pkgconfig_DATA = libmbfly.pc
-EXTRA_DIST = libmbfly.pc.in mb
+EXTRA_DIST = libmbfly.pc.in mb README.h
--- a/configure.ac	Sun Nov 02 12:18:29 2008 +0800
+++ b/configure.ac	Sun Nov 02 14:05:39 2008 +0800
@@ -2,16 +2,17 @@
 # Process this file with autoconf to produce a configure script.
 
 AC_PREREQ(2.61)
-AC_INIT([MadButterfly], [0.0], [http://www.assembla.com/spaces/MadButterfly])
+AC_INIT([MadButterfly],[0.0],[http://www.assembla.com/spaces/MadButterfly])
+AC_CONFIG_SRCDIR([README.h])
 AC_CONFIG_HEADER([config.h])
 AM_INIT_AUTOMAKE([foreign])
 
 # Checks for programs.
 AC_PROG_CC
-AM_PROG_LIBTOOL
+LT_INIT
 
 # Checks for libraries.
-PKG_CHECK_MODULES([cairo], [cairo >= 1.6.4], , AC_MSG_ERROR([not found]))
+PKG_CHECK_MODULES([cairo], [cairo >= 1.6], , AC_MSG_ERROR([cairo >= 1.6 not found]))
 
 # Checks for header files.
 AC_PATH_X