-
Notifications
You must be signed in to change notification settings - Fork 1
/
configure.in
40 lines (38 loc) · 1.07 KB
/
configure.in
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
# Autoconf script
#
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version
# 2 of the License, or (at your option) any later version.
#
AC_REVISION($Id: configure.in,v 1.1 2010-01-13 10:47:16 eric Exp $)
dnl
dnl Process this file with autoconf to produce a configure script.
dnl
AC_PREREQ(2.13)
AC_INIT(./Makefile.in)
AC_SUBST(VERSION)
VERSION=`cat VERSION`
AC_SUBST(RELEASE)
RELEASE=`cat RELEASE`
AC_SUBST(PACKAGE)
PACKAGE=$modulename
AC_SUBST(APPNAME)
APPNAME=$APPNAME
ac_default_prefix=/var/www/dynacase/dynacase
AC_SUBST(PUBRULE)
PUBRULE="$(pwd)/buildTools"
AC_ARG_WITH(pubrule, [ --with-pubrule=dir Path to PubRule], PUBRULE=$withval)
if test -z ${PUBRULE}; then
PUBRULE=`pwd`
fi
if test -f $PUBRULE/PubRule; then
AC_MSG_NOTICE([PubRule located at $PUBRULE])
else
AC_MSG_ERROR([Could not find PubRule])
fi
for file in `find . \( -name '*.in' -a -not -name configure.in \) -print`; do
AC_CONFIG_FILES(${file%.in})
done
AC_OUTPUT