📄 ac_prog_jar.ac
字号:
dnl @synopsis AC_PROG_JARdnldnl AC_PROG_JAR tests for an existing jar program. It uses the environmentdnl variable JAR then tests in sequence various common jar programs.dnldnl If you want to force a specific compiler:dnldnl - at the configure.in level, set JAR=yourcompiler before callingdnl AC_PROG_JARdnldnl - at the configure level, setenv JARdnldnl You can use the JAR variable in your Makefile.in, with @JAR@.dnldnl Note: This macro depends on the autoconf M4 macros for Java programs.dnl It is VERY IMPORTANT that you download that whole set, somednl macros depend on other. Unfortunately, the autoconf archive does notdnl support the concept of set of macros, so I had to break it fordnl submission.dnldnl The general documentation of those macros, as well as the samplednl configure.in, is included in the AC_PROG_JAVA macro.dnldnl @author Egon Willighagen <egonw@sci.kun.nl>dnl @version $Id: ac_prog_jar.ac,v 1.1 2001/08/23 16:58:43 dda Exp $dnlAC_DEFUN([AC_PROG_JAR],[AC_REQUIRE([AC_EXEEXT])dnlif 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)fitest "x$JAR" = x && AC_MSG_ERROR([no acceptable jar program found in \$PATH])AC_PROVIDE([$0])dnl])
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -