File: configure.in

package info (click to toggle)
isoqlog 2.2.1-9.1
  • links: PTS
  • area: main
  • in suites: bullseye, sid
  • size: 1,340 kB
  • sloc: ansic: 3,488; sh: 3,174; makefile: 120; perl: 55
file content (50 lines) | stat: -rwxr-xr-x 1,470 bytes parent folder | download | duplicates (3)
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
# Process this file with autoconf to produce a configure script.

AC_INIT(isoqlog, 2.2.1, bug-report@enderunix.org)
AC_CANONICAL_SYSTEM
AC_CONFIG_SRCDIR([isoqlog/Global.h])
AM_CONFIG_HEADER(isoqlog/config.h)
#AC_CONFIG_HEADER macro used by autoheader
#AC_CONFIG_HEADER(isoqlog/config.h)
AM_INIT_AUTOMAKE(isoqlog, 2.2.1)


# Checks for programs.
AC_PROG_CC

unset CDPATH
dnl make /usr/local the default for the installation
#AC_PREFIX_DEFAULT(/usr/local)

if test "x$prefix" = "xNONE"; then
  prefix=$ac_default_prefix
fi
# Checks for libraries.

# Checks for header files.
AC_HEADER_DIRENT
AC_HEADER_STDC
AC_CHECK_HEADERS([fcntl.h stdlib.h string.h strings.h unistd.h], [], \
			AC_MSG_ERROR([Development headers not found]))

# Checks for typedefs, structures, and compiler characteristics.
AC_TYPE_SIZE_T
AC_STRUCT_TM

# Checks for library functions.
AC_FUNC_MALLOC
AC_FUNC_STAT
AC_CHECK_FUNCS([gethostname memset mkdir strcasecmp strdup strerror strstr], [], \
			AC_MSG_ERROR([functions not found]))
AC_DEFINE_UNQUOTED(CONFIGFILE, "${sysconfdir}/isoqlog.conf", [Configuration file path])

AC_CONFIG_FILES([ Makefile ])
AC_CONFIG_FILES([ isoqlog/Makefile ])
AC_CONFIG_FILES([ data/Makefile ])
AC_CONFIG_FILES([ data/isoqlog.conf-dist ])
AC_CONFIG_FILES([ data/htmltemp/Makefile ])
AC_CONFIG_FILES([ data/htmltemp/images/Makefile ])
AC_CONFIG_FILES([ data/htmltemp/library/Makefile ])
AC_CONFIG_FILES([ data/lang/Makefile ])
AC_CONFIG_FILES([ tr/Makefile ])
AC_OUTPUT