File: configure.in

package info (click to toggle)
doc%2B%2B 3.4.10-3.4
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 2,420 kB
  • ctags: 1,491
  • sloc: lex: 10,379; ansic: 7,823; cpp: 5,572; sh: 3,674; makefile: 340; yacc: 316; java: 274; sed: 16
file content (51 lines) | stat: -rw-r--r-- 1,126 bytes parent folder | download | duplicates (2)
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
dnl configure.in for DOC++
dnl Copyright (c) 1998-2002 Dragos Acostachioaie
dnl Process this file with autoconf to produce a configure script.
AC_INIT(src/main.cc)
AC_PREFIX_DEFAULT(/usr)

dnl Set versioning informations
VERSION="3.4.10"

dnl Initialize automake
AM_INIT_AUTOMAKE(doc++, $VERSION)
AM_CONFIG_HEADER(src/config.h)

dnl Checks for the canonical system name
AC_CANONICAL_HOST

dnl Setup languages
ALL_LINGUAS="fr ja ro ru"

dnl Checks for programs.
AC_ISC_POSIX
AC_PROG_CC
AC_C_CONST
AC_C_INLINE
AC_PROG_CXX
AM_PROG_LEX
AC_PROG_LN_S
AC_LANG_CPLUSPLUS

dnl Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS(getopt.h string.h strings.h)

dnl Checks for library functions.
AC_CHECK_FUNCS(getopt_long strdup strstr)

dnl Set compiler flags
CXXFLAGS=""

dnl Checks if we are going to enable debugging
AC_ARG_ENABLE(debug,
    [  --enable-debug          Turn on debugging],
    AC_DEFINE(DEBUG, 1, Define if you want to generate debugging informations)
    CXXFLAGS="-g"
)

dnl Checks for gettext
AM_GNU_GETTEXT

AC_OUTPUT(Makefile src/Makefile doc/Makefile doc/manual/Makefile intl/Makefile \
	  po/Makefile.in)