File: ac_prog_jar.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 (13 lines) | stat: -rw-r--r-- 446 bytes parent folder | download | duplicates (20)
1
2
3
4
5
6
7
8
9
10
11
12
13
dnl Available from the GNU Autoconf Macro Archive at:
dnl http://www.gnu.org/software/ac-archive/htmldoc/ac_prog_jar.html
dnl
AC_DEFUN([AC_PROG_JAR],[
AC_REQUIRE([AC_EXEEXT])dnl
if test "x$JAVAPREFIX" = x; then
        test "x$JAR" = x && AC_CHECK_PROGS(JAR, jar$EXEEXT)
else
        test "x$JAR" = x && AC_CHECK_PROGS(JAR, jar, $JAVAPREFIX)
fi
test "x$JAR" = x && AC_MSG_ERROR([no acceptable jar program found in \$PATH])
AC_PROVIDE([$0])dnl
])