aboutsummaryrefslogtreecommitdiffhomepage
path: root/configure.ac
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2013-02-22 03:49:04 +0100
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2013-02-22 03:49:04 +0100
commit5d5182158a982057a9fe4c7b3f3ac81e1536f1ff (patch)
treeb8a162b90b9615da35cf2ee397c7080ab57ab3a0 /configure.ac
parent52934d6a7989983cfdb4d772217e45e2434d5db7 (diff)
downloadsciteco-5d5182158a982057a9fe4c7b3f3ac81e1536f1ff.tar.gz
added --with-default-scitecopath config option: default value of $SCITECOPATH
useful for Windows where the desired default path does not correspond with the installation dir of the std lib macros
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac13
1 files changed, 10 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index fe492bc..ffdebcb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -15,9 +15,9 @@ AC_CONFIG_HEADERS([config.h])
AC_CANONICAL_BUILD
AC_CANONICAL_HOST
-# Standard macro path ($SCITECOPATH)
-scitecopathdir=$datadir/$PACKAGE/lib
-AC_SUBST(scitecopathdir)
+# SciTECO library macro directory
+scitecolibdir=$datadir/$PACKAGE/lib
+AC_SUBST(scitecolibdir)
# Checks for programs.
LT_INIT
@@ -152,6 +152,13 @@ esac
AM_CONDITIONAL(INTERFACE_GTK, [test x$INTERFACE = xgtk])
+AC_ARG_WITH(default-scitecopath,
+ AS_HELP_STRING([--with-default-scitecopath=PATH],
+ [Specify the default value of the $SCITECOPATH variable
+ [default=DATADIR/sciteco/lib]]),
+ [DEFAULT_SCITECOPATH=$withval], [DEFAULT_SCITECOPATH=$scitecolibdir])
+AC_SUBST(DEFAULT_SCITECOPATH)
+
AC_ARG_ENABLE(bootstrap,
AS_HELP_STRING([--enable-bootstrap],
[Bootstrap using sciteco-minimal,