forked from micro-manager/micro-manager
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
git-svn-id: https://valelab.ucsf.edu/svn/micromanager2/trunk@14001 d0ab736e-dc22-4aeb-8dc9-08def0aa14fd
- Loading branch information
mark
committed
Aug 1, 2014
1 parent
f4261e6
commit 1b3260a
Showing
2 changed files
with
67 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
|
||
# MM_ARG_WITH_ANT (no args) | ||
# Sets want_ant to yes or no; sets ANTCMD to empty or path. | ||
AC_DEFUN([MM_ARG_WITH_ANT], [ | ||
AC_MSG_CHECKING([if use of Ant was requested]) | ||
AC_ARG_WITH([ant], [AS_HELP_STRING([--with-ant=[[yes|no|CMD]]], | ||
[use Ant command at CMD (default: auto)])], | ||
[], | ||
[with_ant=auto]) | ||
case $with_ant in | ||
yes | no | auto) want_ant="$with_ant" ;; | ||
*) ANTCMD="$want_ant" | ||
want_ant=yes ;; | ||
esac | ||
AS_IF([test -n "$ANTCMD"], | ||
[AC_MSG_RESULT([yes ($ANTCMD)])], | ||
[AC_MSG_RESULT([$want_ant])]) | ||
]) |