File: configure.in

package info (click to toggle)
f2j 0.8.1+dfsg-5
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 3,152 kB
  • sloc: ansic: 18,992; java: 3,987; yacc: 3,804; sh: 153; makefile: 149
file content (43 lines) | stat: -rw-r--r-- 941 bytes parent folder | download | duplicates (4)
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
AC_INIT(f2j, 0.8.1, [f2j@cs.utk.edu])
AC_REVISION([$Revision: 1.5 $])

AC_CONFIG_SRCDIR(f2j_TODO.txt)

if test "x$prefix" != xNONE; then
  F2J_INSTALL_PREFIX=${prefix}
else
  F2J_INSTALL_PREFIX=`pwd`
fi
AC_SUBST(F2J_INSTALL_PREFIX)

prefix=$F2J_INSTALL_PREFIX

AC_CONFIG_SUBDIRS(libbytecode)

AC_PROG_CC(gcc cc ecc xlc)

AC_C_BIGENDIAN

AC_PROG_MAKE_SET
AC_PROG_RANLIB
AC_PATH_PROG(AR, ar)
AC_SUBST(AR)
AC_PATH_PROG(JAVAC, javac)
AC_SUBST(JAVAC)
AC_PATH_PROG(JAVA, java)
AC_SUBST(JAVA)
AC_PROG_YACC
F2J_VERSION=AC_PACKAGE_VERSION
AC_SUBST(F2J_VERSION)

AC_ARG_WITH(libbytecode-dir,
            [  --with-libbytecode-dir=dir  directory containing bytecode library],
            [BYTE_DIR="$with_libbytecode_dir"],
            [BYTE_DIR="$PWD/libbytecode"])
AC_SUBST(BYTE_DIR)

F2J_PACKAGE_STRING=AC_PACKAGE_NAME-AC_PACKAGE_VERSION
AC_SUBST(F2J_PACKAGE_STRING)

AC_CONFIG_FILES(Makefile src/make.def util/make.def)
AC_OUTPUT(src/f2j-config.h)