File: configure.in

package info (click to toggle)
log-analysis 0.45-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 600 kB
  • ctags: 9
  • sloc: perl: 4,192; sh: 488; makefile: 95
file content (35 lines) | stat: -rw-r--r-- 734 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
dnl Process this file with autoconf to produce a configure script.
AC_INIT(log_analysis.in)
AM_INIT_AUTOMAKE(log_analysis,0.45)

AC_DEFUN([MTA_PATH_PROG_REQUIRE],
	[
	AC_PATH_PROG($1, $2)
	if test -z "$[]$1"; then
		AC_MSG_ERROR([$2 not found])
	fi
	])

MTA_PATH_PROG_REQUIRE(PERL,    perl)
MTA_PATH_PROG_REQUIRE(POD2MAN, pod2man)

if $PERL -e 'require 5.005' 2>/dev/null; then
	:
else
	AC_MSG_ERROR([perl 5.005 is the earliest version supported])
fi

dnl Checks for programs.

dnl Checks for libraries.

dnl Checks for header files.

dnl Checks for typedefs, structures, and compiler characteristics.

dnl Checks for library functions.

AC_CONFIG_FILES([log_analysis], [chmod +x log_analysis])
AC_CONFIG_FILES([Makefile])
AC_OUTPUT