blob: 8d19b4c707fbfa0495b1de7c14f34a3859b039bb (
plain)
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
|
AC_INIT(kalyptus)
AC_DEFUN(AC_FIND_PERL,
[
AC_MSG_CHECKING(for perl 5 or greater)
if $srcdir/findperl; then
$1=`cat perlbin`
echo $$1
else
echo "Couldn't find perl 5 or later. kdoc will not run."
exit 1
fi
])
AC_DEFUN(AC_KALYPTUS_VERSION,
[
AC_MSG_CHECKING(kalyptus version)
$1=`cat $srcdir/Version | sed 's#Revision##g' | tr -d '\$:'`
echo $$1
])
AC_PROG_INSTALL
AC_FIND_PERL(perl)
AC_SUBST(perl)
AC_KALYPTUS_VERSION(Version)
AC_SUBST(Version)
AC_OUTPUT(Makefile)
|