aboutsummaryrefslogtreecommitdiffhomepage
path: root/configure.ac
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2013-02-15 05:26:16 +0100
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2013-02-15 05:26:16 +0100
commitb08d5e7dad907493bc6946ab708640b567e2dffe (patch)
tree42008b931d9c9e900e3f8eeb9279a8a18758f61d /configure.ac
parentf63cf74a89027988aed16e2069c1ca8486c749b5 (diff)
downloadsciteco-b08d5e7dad907493bc6946ab708640b567e2dffe.tar.gz
install standard macros into special standard library path (pkgdatadir/lib)
* SCITECOPATH environment variable defaults to this directory * manpage updated * default teco.ini updated: no need to generate it anymore
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac7
1 files changed, 6 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 4a9d500..f3da0b5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -15,6 +15,10 @@ AC_CONFIG_HEADERS([config.h])
AC_CANONICAL_BUILD
AC_CANONICAL_HOST
+# Standard macro path ($SCITECOPATH)
+scitecopathdir=$datadir/$PACKAGE/lib
+AC_SUBST(scitecopathdir)
+
# Checks for programs.
LT_INIT
AC_PROG_CXX
@@ -154,5 +158,6 @@ AC_ARG_ENABLE(bootstrap,
[bootstrap=$enableval])
AM_CONDITIONAL(BOOTSTRAP, [test x$bootstrap = xyes])
-AC_CONFIG_FILES([Makefile src/Makefile doc/Makefile])
+AC_CONFIG_FILES([Makefile])
+AC_CONFIG_FILES([src/Makefile lib/Makefile doc/Makefile])
AC_OUTPUT