[go: up one dir, main page]

File: configure.in

package info (click to toggle)
tora 1.3.16-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 11,604 kB
  • ctags: 10,426
  • sloc: cpp: 100,338; sh: 5,034; perl: 1,482; makefile: 566; xml: 69
file content (51 lines) | stat: -rw-r--r-- 1,123 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
dnl Process this file with autoconf to produce a configure script.

AC_INIT(main.cpp)
dnl Every other copy of the package version number gets its value from here
AM_INIT_AUTOMAKE(tora, 1.3.16)

dnl create a config.h file (Automake will add -DHAVE_CONFIG_H)
AM_CONFIG_HEADER(config.h)
mrj_SET_PREFIX

AC_SUBST(VERSION)

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

AC_CANONICAL_HOST

dnl Checks for programs.
LT_AC_PROG_SED
AC_PROG_INSTALL
AC_PROG_CC
AC_PROG_CXX

dnl 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_STRUCT_TM
AC_STRUCT_ST_BLOCKS
AC_FUNC_CLOSEDIR_VOID

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

TORA_LIBTOOL_ALL
TORA_HAVE_KDE
MRJ_CHECK_ORACLE
AX_PATH_LIB_PCRE
TORA_CHECK_PUTENV

dnl Makefile.am uses this
AM_CONDITIONAL(HAVE_ORACLE, test "$enable_oracle" = yes)

dnl Checks for library functions.
AC_CONFIG_FILES([ Makefile ])

AC_OUTPUT