File: java.m4

package info (click to toggle)
gettext 0.16.1-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 46,228 kB
  • ctags: 13,819
  • sloc: ansic: 102,927; sh: 46,663; makefile: 8,086; perl: 4,181; lisp: 2,913; yacc: 663; cs: 548; java: 511; sed: 369; objc: 337; cpp: 308; awk: 80; tcl: 63; pascal: 12; php: 8
file content (23 lines) | stat: -rw-r--r-- 846 bytes parent folder | download | duplicates (24)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# java.m4 serial 1 (gettext-0.15)
dnl Copyright (C) 2005 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.

# Sets JAVA_CHOICE to 'yes', 'bytecode' or 'no', depending on the preferred
# use of Java.
AC_DEFUN([gt_JAVA_CHOICE],
[
  AC_MSG_CHECKING([whether to use Java])
  AC_ARG_ENABLE(java,
    [  --disable-java          do not build Java sources],
    [JAVA_CHOICE="$enableval"],
    [JAVA_CHOICE=yes])
  AC_MSG_RESULT([$JAVA_CHOICE])
  if test "$JAVA_CHOICE" = yes; then
    AC_ARG_ENABLE(native-java,
      [  --disable-native-java   do not compile Java to native executables],
      [test "$enableval" != no || JAVA_CHOICE=bytecode])
  fi
  AC_SUBST(JAVA_CHOICE)
])