summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2010-01-30 20:57:00 +0100
committerGuillem Jover <guillem@debian.org>2010-02-25 09:37:42 +0100
commitc406ca71c4fa7b8b49a240f33a36b69decfcc3c9 (patch)
treedead766682a40237548f20387db6ae31d2ea26e4 /configure.ac
parentfd8fb6f415a1fdf7ffff6f5ad26048be8ce28412 (diff)
downloaddpkg-c406ca71c4fa7b8b49a240f33a36b69decfcc3c9.tar.gz
libdpkg: Require users to define LIBDPKG_VOLATILE_API
The exposed API is not yet finished, make the users explicitly acknowledge this fact by requiring them to define this preprocessor symbol.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 95097c56b..6b8524394 100644
--- a/configure.ac
+++ b/configure.ac
@@ -125,6 +125,7 @@ DPKG_CHECK_COMPAT_FUNCS([getopt getopt_long obstack_free \
scandir alphasort unsetenv])
AC_CHECK_FUNCS([strtoul isascii bcopy memcpy lchown setsid getdtablesize])
+AC_DEFINE(LIBDPKG_VOLATILE_API, 1, [Acknowledge the volatility of the API.])
DPKG_COMPILER_WARNINGS
DPKG_COMPILER_OPTIMISATIONS
DPKG_LINKER_OPTIMISATIONS