summaryrefslogtreecommitdiffstats
path: root/m4
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2003-02-14 12:50:53 +0000
committerBruno Haible <bruno@clisp.org>2009-06-23 12:09:21 +0200
commitff4a27658dc1249a3af9d371441f70d4d93cc45f (patch)
treedfc32857c6184e407ad835d285425be15d5124a8 /m4
parent86fdb2d0323cfe85db65d3318b23295c85805b5c (diff)
downloadexternal_gettext-ff4a27658dc1249a3af9d371441f70d4d93cc45f.zip
external_gettext-ff4a27658dc1249a3af9d371441f70d4d93cc45f.tar.gz
external_gettext-ff4a27658dc1249a3af9d371441f70d4d93cc45f.tar.bz2
Move m4/javaexec.m4 to gettext-tools/m4/javaexec.m4.
Diffstat (limited to 'm4')
-rw-r--r--m4/javaexec.m469
1 files changed, 0 insertions, 69 deletions
diff --git a/m4/javaexec.m4 b/m4/javaexec.m4
deleted file mode 100644
index 17cb7ab..0000000
--- a/m4/javaexec.m4
+++ /dev/null
@@ -1,69 +0,0 @@
-# javaexec.m4 serial 1 (gettext-0.11)
-dnl Copyright (C) 2001-2002 Free Software Foundation, Inc.
-dnl This file is free software, distributed under the terms of the GNU
-dnl General Public License. As a special exception to the GNU General
-dnl Public License, this file may be distributed as part of a program
-dnl that contains a configuration script generated by Autoconf, under
-dnl the same distribution terms as the rest of that program.
-
-# Prerequisites of javaexec.sh.
-# Sets HAVE_JAVAEXEC to nonempty if javaexec.sh will work.
-
-AC_DEFUN([gt_JAVAEXEC],
-[
- AC_MSG_CHECKING([for Java virtual machine])
- AC_EGREP_CPP(yes, [
-#if defined _WIN32 || defined __WIN32__ || defined __EMX__ || defined __DJGPP__
- yes
-#endif
-], CLASSPATH_SEPARATOR=';', CLASSPATH_SEPARATOR=':')
- HAVE_JAVAEXEC=1
- if test -n "$JAVA"; then
- ac_result="$JAVA"
- else
- pushdef([AC_MSG_CHECKING],[:])dnl
- pushdef([AC_CHECKING],[:])dnl
- pushdef([AC_MSG_RESULT],[:])dnl
- AC_CHECK_PROG(HAVE_GIJ_IN_PATH, gij, yes)
- AC_CHECK_PROG(HAVE_JAVA_IN_PATH, java, yes)
- AC_CHECK_PROG(HAVE_JRE_IN_PATH, jre, yes)
- AC_CHECK_PROG(HAVE_JVIEW_IN_PATH, jview, yes)
- popdef([AC_MSG_RESULT])dnl
- popdef([AC_CHECKING])dnl
- popdef([AC_MSG_CHECKING])dnl
- if test -n "$HAVE_GIJ_IN_PATH" \
- && gij --version >/dev/null 2>/dev/null; then
- HAVE_GIJ=1
- ac_result="gij"
- else
- if test -n "$HAVE_JAVA_IN_PATH" \
- && java -version >/dev/null 2>/dev/null; then
- HAVE_JAVA=1
- ac_result="java"
- else
- if test -n "$HAVE_JRE_IN_PATH" \
- && (jre >/dev/null 2>/dev/null || test $? = 1); then
- HAVE_JRE=1
- ac_result="jre"
- else
- if test -n "$HAVE_JVIEW_IN_PATH" \
- && (jview -? >/dev/null 2>/dev/null || test $? = 1); then
- HAVE_JVIEW=1
- ac_result="jview"
- else
- HAVE_JAVAEXEC=
- ac_result="no"
- fi
- fi
- fi
- fi
- fi
- AC_MSG_RESULT([$ac_result])
- AC_SUBST(JAVA)
- AC_SUBST(CLASSPATH)
- AC_SUBST(CLASSPATH_SEPARATOR)
- AC_SUBST(HAVE_GIJ)
- AC_SUBST(HAVE_JAVA)
- AC_SUBST(HAVE_JRE)
- AC_SUBST(HAVE_JVIEW)
-])