File: jg_check_nativecompile.m4

package info (click to toggle)
glib-java 0.2.5-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 1,564 kB
  • ctags: 113
  • sloc: sh: 8,444; ansic: 455; makefile: 161; java: 119
file content (15 lines) | stat: -rw-r--r-- 429 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
dnl
AC_DEFUN([JG_CHECK_NATIVECOMPILE],[
dnl Check for a GCJ native compile option
AC_ARG_WITH(gcj_compile,[  --without-gcj-compile    Binary builds of Java-GNOME
with gcj compiler will not be made],
        gcj_compile="$withval", gcj_compile="yes")

if test $gcj_compile = "yes"; then
        AM_PATH_GCJ(3.0.0, , AC_ERROR(GCJ version 3.0.0 or greater is required))
fi

AM_CONDITIONAL(BUILD_GCJ, test $gcj_compile = "yes")

])