File: configure.ac

package info (click to toggle)
boolstuff 0.1.14-2
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 1,796 kB
  • ctags: 299
  • sloc: sh: 11,017; cpp: 1,649; makefile: 220; ansic: 165; perl: 106
file content (71 lines) | stat: -rw-r--r-- 1,752 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
# $Id: configure.ac,v 1.26 2013/03/05 02:31:39 sarrazip Exp $

AC_PREREQ(2.50)
AC_INIT(src/boolstuff/BoolExpr.h)
AC_CANONICAL_HOST
AC_CANONICAL_SYSTEM

AM_INIT_AUTOMAKE(boolstuff, 0.1.14)
API=`echo $VERSION | cut -d . -f -2`; AC_SUBST(API)
RELEASE=`echo $VERSION | cut -d . -f 3`; AC_SUBST(RELEASE)

PACKAGE_FULL_NAME="BoolStuff"
PACKAGE_SUMMARY_EN="Disjunctive Normal Form boolean expression library"
PACKAGE_SUMMARY_FR="Librairie calculant la forme normale disjonctive boolenne"
AC_SUBST(PACKAGE_FULL_NAME)
AC_SUBST(PACKAGE_SUMMARY_EN)
AC_SUBST(PACKAGE_SUMMARY_FR)

MANUAL_DATE_EN="March 4th, 2013"; AC_SUBST(MANUAL_DATE_EN)
MANUAL_DATE_FR="4 mars 2013"; AC_SUBST(MANUAL_DATE_FR)  # UTF-8


AC_PROG_CXX
AC_COMPILE_WARNINGS

dnl  For `checkc' target in src/boolstuff/Makefile.am.
dnl  Avoids this warning:
dnl  compiling `checkc.c' with per-target flags requires `AM_PROG_CC_C_O' in `configure.ac'
AM_PROG_CC_C_O

AC_LANG_CPLUSPLUS

AC_DISABLE_STATIC
AM_PROG_LIBTOOL		dnl This must come after AC_DISABLE_STATIC.


# The application has a test suite that is written in Perl.
#
AC_PROG_PERL_MODULES(IPC::Open2)


# Check for getopt_long() but don't fail if it is not available:
#
GETOPT_LONG


# Check for <sstream> and <stdiostream.h>:
#
AC_CXX_HAVE_STD
if test "_$ac_cv_cxx_have_std" = _no; then
	AC_MSG_ERROR([this program requires the ISO C++ standard library
and expects it to be in the std namespace])
fi
AC_CXX_HAVE_SSTREAM
if test "_$ac_cv_cxx_have_sstream" = _no; then
	AC_MSG_ERROR([this program requires the <sstream> C++ header])
fi


AC_CONFIG_FILES([
	Makefile
	boolstuff-0.1.spec
	boolstuff-0.1.pc
	src/Makefile
	src/boolstuff/Makefile
	src/commands/Makefile
        doc/booldnf.1
        doc/boolstuff.3
	examples/Makefile
])
AC_OUTPUT