[go: up one dir, main page]

File: configure.ac

package info (click to toggle)
tora 1.3.21-3
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 14,252 kB
  • ctags: 10,397
  • sloc: cpp: 108,822; sh: 10,861; makefile: 766; xml: 69; perl: 6
file content (60 lines) | stat: -rw-r--r-- 1,389 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
# Process this file with autoconf to produce a configure script.

AC_INIT([tora],[1.3.21],[tora-develop@lists.sourceforge.net])
AC_PREREQ([2.59])
# 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([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

# 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 )

jm_CHECK_TYPE_STRUCT_UTIMBUF
AC_HEADER_MAJOR
AC_FUNC_ALLOCA
AC_FUNC_MALLOC
AC_CHECK_FUNCS(snprintf vsnprintf)
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
TORA_CHECK_PUTENV

# 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([rpm/tora.spec])
AC_OUTPUT