aboutsummaryrefslogtreecommitdiffhomepage
path: root/configure.ac
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2013-01-23 22:26:13 +0100
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2013-01-23 22:26:13 +0100
commit6c84de38ad5d7fb423c1157299c550d74a3e6d11 (patch)
tree5f3212f49c1a4edd28e4125c35f3f24e91d4dc8e /configure.ac
parent6de8c47c288a6cec1bfd14926f4674f1bc8f0e8c (diff)
downloadsciteco-6c84de38ad5d7fb423c1157299c550d74a3e6d11.tar.gz
generate manpage sciteco(1) using a TECO macro included in the Makefile
allows including the currently chosen PREFIX * also removed sciteco_datadir variable (pkgdatadir defined by Automake is sufficient)
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac10
1 files changed, 5 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac
index 57a4d2e..0577c3d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -15,10 +15,6 @@ AC_CONFIG_HEADERS([config.h])
AC_CANONICAL_BUILD
AC_CANONICAL_HOST
-# Data directory
-sciteco_datadir=$datarootdir/$PACKAGE_TARNAME
-AC_SUBST(sciteco_datadir)
-
# Checks for programs.
LT_INIT
AC_PROG_CXX
@@ -26,6 +22,11 @@ AC_PROG_CC
AC_PROG_CC_C99
AC_PROG_INSTALL
+AC_CHECK_PROG(DATE, date, date)
+if [[ x$DATE = x ]]; then
+ AC_MSG_ERROR([Required tool date not found!])
+fi
+
AC_CHECK_PROG(READLINK, readlink, readlink)
if [[ x$READLINK = x ]]; then
AC_MSG_ERROR([Required tool readlink not found!])
@@ -151,6 +152,5 @@ AC_ARG_ENABLE(bootstrap,
[bootstrap=$enableval])
AM_CONDITIONAL(BOOTSTRAP, [test x$bootstrap = xyes])
-AC_CONFIG_FILES([sciteco.1])
AC_CONFIG_FILES([Makefile src/Makefile])
AC_OUTPUT