Not logged in

Artifact 23a977da80cc918dad7d9e5828ebcb87f09682f8:


dnl configure.ac

dnl Copyright (C) 2013, 2016 Brandon Invergo <brandon@invergo.net>

dnl Author: Brandon Invergo <brandon@invergo.net>

dnl This program is free software; you can redistribute it and/or
dnl modify it under the terms of the GNU General Public License
dnl as published by the Free Software Foundation; either version 3
dnl of the License, or (at your option) any later version.

dnl This program is distributed in the hope that it will be useful,
dnl but WITHOUT ANY WARRANTY; without even the implied warranty of
dnl MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
dnl GNU General Public License for more details.

dnl You should have received a copy of the GNU General Public License
dnl along with this program. If not, see <http://www.gnu.org/licenses/>.


AC_INIT([zeptodb], [3.0], [brandon@invergo.net])
AC_CONFIG_AUX_DIR([build-aux])
AC_CONFIG_HEADERS([config.h])
AM_INIT_AUTOMAKE

AC_PROG_CC_C99
gl_EARLY

AM_MISSING_PROG(HELP2MAN, help2man, $missing_dir)
AC_PROG_RANLIB
AC_PROG_AWK
AC_FUNC_ALLOCA

gl_INIT
LIBGDBM=
AC_CHECK_LIB([gdbm], [gdbm_open],
              [AC_SUBST([LIBGDBM], ["-lgdbm"])
               AC_DEFINE([HAVE_GDBM], [1], [Define if you have libgdbm])],
                         [AC_MSG_ERROR([libgdbm was not found!])])
AC_CHECK_HEADER([gdbm.h], [],
                 [AC_MSG_ERROR([gdbm.h was not found!])])

AC_CONFIG_FILES([tests/system_tests.test Makefile
                 src/Makefile doc/Makefile lib/Makefile],
                 [chmod +x tests/system_tests.test])
AC_REQUIRE_AUX_FILE([tap-driver.sh])
AC_OUTPUT