From 202897fc6cd655c966ede924645f437cdb5afaae Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Fri, 14 Feb 2014 07:34:20 +0000 Subject: Optionally install compatibility headers into a separate directory. * configure.ac: Version 1.11.90 (COMPATINCLUDEDIR): New substitution variable. * compat/Makefile.am (compatincludedir): New variable. (include_HEADERS): Rename to compatinclude_HEADERS. * NEWS: Document COMPATINCLUDEDIR. * README: Likewise. --- configure.ac | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 4747a7f..a5d32a8 100644 --- a/configure.ac +++ b/configure.ac @@ -1,5 +1,5 @@ # This file is part of GDBM. -*- autoconf -*- -# Copyright (C) 2007, 2009, 2011, 2013 Free Software Foundation, Inc. +# Copyright (C) 2007, 2009, 2011, 2013, 2014 Free Software Foundation, Inc. # # GDBM is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -16,7 +16,7 @@ m4_define([_GDBM_VERSION_MAJOR], 1) m4_define([_GDBM_VERSION_MINOR], 11) -dnl m4_define([_GDBM_VERSION_PATCH], 0) +m4_define([_GDBM_VERSION_PATCH], 90) AC_INIT([gdbm], _GDBM_VERSION_MAJOR._GDBM_VERSION_MINOR[]m4_ifdef([_GDBM_VERSION_PATCH],._GDBM_VERSION_PATCH), @@ -49,6 +49,8 @@ AC_ARG_ENABLE([libgdbm-compat], [Build and install libgdbm_compat. (Default is NO.)]), [want_compat=$enableval], [want_compat=no]) +AC_ARG_VAR([COMPATINCLUDEDIR],[installation directory for dbm.h and ndbm.h]) +test -z "$COMPATINCLUDEDIR" && COMPATINCLUDEDIR='$(includedir)' AC_ARG_ENABLE([gdbm-export], AC_HELP_STRING( -- cgit v1.2.1