[go: up one dir, main page]

File: configure.ac

package info (click to toggle)
tora 1.3.23-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 15,984 kB
  • ctags: 14,460
  • sloc: cpp: 123,554; sh: 16,181; makefile: 966; xml: 69
file content (71 lines) | stat: -rw-r--r-- 1,906 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
# Process this file with autoconf to produce a configure script.

AC_INIT([tora],[1.3.23],[tora-develop@lists.sourceforge.net])
AC_PREREQ([2.59])
AC_CONFIG_AUX_DIR(config)
# Every other copy of the package version number gets its value from here
AM_INIT_AUTOMAKE

# create a config.h file (Automake will add -DHAVE_CONFIG_H)
AC_CONFIG_SRCDIR([src/main.cpp])
AC_CONFIG_HEADER([config.h])
mrj_SET_PREFIX

AC_SUBST(PACKAGE_VERSION)

ISODATE=`date +%Y-%m-%d`
AC_SUBST(ISODATE)

AC_CANONICAL_HOST

# Checks for programs.
AC_PROG_INSTALL
AC_PROG_CC
AC_PROG_CXX
AC_CHECK_PROG([MAKEINFO], [makeinfo], [makeinfo], [no])
if test "${MAKEINFO}" = no; then
   AC_MSG_ERROR([makeinfo not found])
fi
# Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS(unistd.h sys/param.h sys/time.h time.h sys/mkdev.h sys/sysmacros.h string.h memory.h fcntl.h dirent.h sys/ndir.h ndir.h alloca.h locale.h utime.h)
AC_HEADER_MAJOR
AC_FUNC_ALLOCA
AC_FUNC_MALLOC
AC_CHECK_FUNCS(snprintf vsnprintf setenv)
AC_HEADER_STDBOOL
AC_STRUCT_TM
AC_STRUCT_ST_BLOCKS
AC_FUNC_CLOSEDIR_VOID
AC_TYPE_SIZE_T

# for NLS support. Call them in this order!
# WITH_NLS is for the po files
# AM_KDE_WITH_NLS

TORA_CHECK_PLUGIN
TORA_CHECK_MONO
TORA_CHECK_LINK_LIBS
TORA_LIBTOOL_ALL
TORA_HAVE_KDE
MRJ_CHECK_ORACLE
TORA_CHECK_QSCINTILLA
AX_PATH_LIB_PCRE
AM_PATH_CPPUNIT([1.10.2], found_cppunit=yes)
AM_CONDITIONAL([CPPUNIT], [test "x$found_cppunit" = "xyes"])

# Makefile.am uses these
AM_CONDITIONAL(ENABLE_MONO, test "$enable_mono" = yes)
AM_CONDITIONAL(HAVE_ORACLE, test "$enable_oracle" = yes)

AC_CONFIG_FILES([Makefile])
AC_CONFIG_FILES([utils/Makefile])
AC_CONFIG_FILES([utils/chex/Makefile])
AC_CONFIG_FILES([src/Makefile])
AC_CONFIG_FILES([test/Makefile])
AC_CONFIG_FILES([test/configuration/Makefile])
AC_CONFIG_FILES([ext/Makefile])
AC_CONFIG_FILES([doc/Makefile])
AC_CONFIG_FILES([doc/help/Makefile])
AC_CONFIG_FILES([rpm/tora.spec])
AC_OUTPUT