File: configure.in

package info (click to toggle)
mmake 2.2.1-2
  • links: PTS
  • area: main
  • in suites: woody
  • size: 224 kB
  • ctags: 75
  • sloc: perl: 304; makefile: 242; sh: 169; java: 17
file content (29 lines) | stat: -rw-r--r-- 681 bytes parent folder | download | duplicates (6)
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
dnl Autoconfigure input file for mmake
dnl Jan-Henrik Haukeland, <hauk@tildeslash.com>
dnl
dnl Process this file with autoconf to produce a configure script.
dnl

AC_INIT(mmake.in)

dnl Checks for programs.
AC_PROG_INSTALL

AC_PATH_PROG(PERL, perl, [not found])
if test "${PERL}" = "not found"
then
  AC_MSG_ERROR([==> Install Perl and add it to your PATH])
fi

AC_CHECK_PROG(JAVAC, jikes, jikes)
if test "${JAVAC}" != "jikes"
then
  AC_CHECK_PROG(JAVAC, javac, javac)
  if test "${JAVAC}" != "javac"
  then
    AC_MSG_ERROR([==> Could not find jikes or javac on your system]) 
  fi
fi
AC_MSG_RESULT([==> mmake will use '${JAVAC}' as its java compiler])

AC_OUTPUT(Makefile mmake)