-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathacinclude.m4
More file actions
executable file
·51 lines (41 loc) · 896 Bytes
/
acinclude.m4
File metadata and controls
executable file
·51 lines (41 loc) · 896 Bytes
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
#
# Rivet build stuff
#
# $Id$
#
#
# Include the TEA standard macro set
#
#builtin([include],[tclconfig/tcl.m4])
m4_include([tclconfig/tcl.m4])
#
# Include the libtool macro set
#
m4_include([tclconfig/libtool.m4])
#
# Add here whatever m4 macros you want to define for your package
#
m4_include([m4/ax_prefix_config_h.m4])
#
# check for apache base directory
#
AC_DEFUN([APACHE_DIR],[
AC_ARG_WITH(
apache,
[ --with-apache[=DIR] Apache server directory],
,
[with_apache="no"]
)
AC_MSG_CHECKING(for Apache directory)
if test "$with_apache" = "no"; then
AC_MSG_ERROR( Specify the apache using --with-apache)
else
# make sure that a well known include file exists
if test -e $with_apache/include/httpd.h; then
apache_dir=$with_apache
AC_MSG_RESULT(APACHE found!)
else
AC_MSG_ERROR( $with_apache not found. )
fi
fi
])