source: trunk/configure.ac @ 6

Last change on this file since 6 was 6, checked in by Peter Johansson, 15 years ago

added Makefile.am in test (and modified configure.ac to use it)

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 860 bytes
Line 
1# Process this file with autoconf to produce a configure script.
2#
3# $Id: configure.ac 6 2005-12-29 21:00:00Z peter $
4#
5# Author: Jari Hakkinen, jari@thep.lu.se
6#
7# If you grabbed the source from subversion you should, at top-level,
8# execute:
9#   ./bootstrap
10#
11
12AC_PREREQ(2.57)
13AC_INIT([[svnstat]],[0.1],[jari@thep.lu.se])
14AC_CONFIG_SRCDIR([lib/File.h])
15AC_CONFIG_AUX_DIR([autotools])
16AC_PREFIX_DEFAULT([/usr/local])
17
18AM_CONFIG_HEADER([config.h])
19AM_INIT_AUTOMAKE($PACKAGE_NAME,$PACKAGE_VERSION,$PACKAGE_BUGREPORT)
20
21# Checks for programs.
22AC_PROG_CPP
23AC_PROG_CXX
24AC_PROG_INSTALL
25AC_PROG_LIBTOOL
26AC_PROG_RANLIB
27
28#CXXFLAGS="-g -O -Wall -pedantic"
29#CPPFLAGS="-DHAVE_INLINE=1"
30# Use these flags when compiling a production library
31CXXFLAGS="-O3 -Wall -pedantic"
32CPPFLAGS="-DNDEBUG -DGSL_RANGE_CHECK_OFF -DHAVE_INLINE=1"
33
34AC_CONFIG_FILES([Makefile
35                 lib/Makefile
36     test/Makefile])
37
38AC_OUTPUT
Note: See TracBrowser for help on using the repository browser.