From 6c84de38ad5d7fb423c1157299c550d74a3e6d11 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Wed, 23 Jan 2013 22:26:13 +0100 Subject: 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) --- configure.ac | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'configure.ac') 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 -- cgit v1.2.3