diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2014-02-14 07:34:20 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2014-02-14 07:34:20 +0000 |
commit | 202897fc6cd655c966ede924645f437cdb5afaae (patch) | |
tree | 1554eef3e6c262e16738544304d9c93326bb0e99 /configure.ac | |
parent | ff2c1a2d44c211caa4fd749d2c3b14e7d0c15982 (diff) | |
download | gdbm-202897fc6cd655c966ede924645f437cdb5afaae.tar.gz gdbm-202897fc6cd655c966ede924645f437cdb5afaae.tar.bz2 |
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.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 6 |
1 files changed, 4 insertions, 2 deletions
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( |