summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorDan Nicholson <dbn.lists@gmail.com>2010-02-17 16:04:48 -0800
committerDan Nicholson <dbn.lists@gmail.com>2010-02-17 16:04:48 -0800
commitb13f63b103135f04843a401acd162d820fee2a09 (patch)
treef7ef4931ab5f40885e5fa4c56ad694fd9a17fc9e /configure.ac
parent484aacc4e4f98c7c5c8c0135f8fee2dff51aa9d5 (diff)
Add defines for default TET directories
Not used yet, but will be much better than constant getenv("TET_ROOT").
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index d3cdf375..c421a3ce 100644
--- a/configure.ac
+++ b/configure.ac
@@ -35,7 +35,10 @@ AM_MAINTAINER_MODE
AM_CONFIG_HEADER([config.h])
# Directory setup
+AX_DEFINE_DIR([DEFAULT_TET_ROOT], [datadir], [Default TET root directory])
AC_SUBST([DEFAULT_TET_ROOT], ['${datadir}'])
+AX_DEFINE_DIR([DEFAULT_TET_EXEC_ROOT], [libexecdir],
+ [Default TET root execution directory])
AC_SUBST([DEFAULT_TET_EXEC_ROOT], ['${libexecdir}'])
# Checks for programs.