comparison configure.ac @ 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 d0646a6df46f
children 13c1d49c198b
comparison
equal deleted inserted replaced
181:269009e18c8a 182:7d1497608c2f
1 # -*- Autoconf -*- 1 # -*- Autoconf -*-
2 # Process this file with autoconf to produce a configure script. 2 # Process this file with autoconf to produce a configure script.
3 3
4 AC_PREREQ(2.61) 4 AC_PREREQ(2.61)
5 AC_INIT([MadButterfly], [0.0], [http://www.assembla.com/spaces/MadButterfly]) 5 AC_INIT([MadButterfly],[0.0],[http://www.assembla.com/spaces/MadButterfly])
6 AC_CONFIG_SRCDIR([README.h])
6 AC_CONFIG_HEADER([config.h]) 7 AC_CONFIG_HEADER([config.h])
7 AM_INIT_AUTOMAKE([foreign]) 8 AM_INIT_AUTOMAKE([foreign])
8 9
9 # Checks for programs. 10 # Checks for programs.
10 AC_PROG_CC 11 AC_PROG_CC
11 AM_PROG_LIBTOOL 12 LT_INIT
12 13
13 # Checks for libraries. 14 # Checks for libraries.
14 PKG_CHECK_MODULES([cairo], [cairo >= 1.6.4], , AC_MSG_ERROR([not found])) 15 PKG_CHECK_MODULES([cairo], [cairo >= 1.6], , AC_MSG_ERROR([cairo >= 1.6 not found]))
15 16
16 # Checks for header files. 17 # Checks for header files.
17 AC_PATH_X 18 AC_PATH_X
18 AC_HEADER_STDC 19 AC_HEADER_STDC
19 AC_CHECK_HEADERS([stdint.h stdlib.h string.h sys/time.h unistd.h]) 20 AC_CHECK_HEADERS([stdint.h stdlib.h string.h sys/time.h unistd.h])