summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2010-09-09 21:28:10 -0700
committerKeith Packard <keithp@keithp.com>2010-09-09 21:28:10 -0700
commit2d5e48c5dc0e822fdf430f43804c1e5e79fdbf84 (patch)
tree2c4c2b7654bdd77c4e91af8037397a522c4fbf1f /configure.ac
parentdd2b77b2a516a055f29191dcdfeb727e637aae86 (diff)
Add --with-fat-dir configure option to publish finished stand-alone bits
--with-fat-dir specifies a directory to copy the finished linux/macosx/windows stand-alone ("fat") packages to. A sub-directory will be created under the specified directory based on the product version number and the files copied there. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac8
1 files changed, 8 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 61c03b18..4bf8f7fe 100644
--- a/configure.ac
+++ b/configure.ac
@@ -58,6 +58,14 @@ fi
AC_SUBST(JVM_INCLUDE)
+AC_ARG_WITH(fat-dir, AS_HELP_STRING([--with-fat-dir=PATH],
+ [Set the directory to install the 'fat' distribution files to (defaults to not installing)]),
+ [FATDIR=$withval], [FATDIR=none])
+
+AM_CONDITIONAL(FATINSTALL, [test "x$FATDIR" != "xnone"])
+
+AC_SUBST(FATDIR)
+
AC_PROG_CC
AC_PROG_INSTALL
AC_PROG_LN_S