From e7d0019bf48ac6b554d46a545242515db9d72644 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Fri, 11 Aug 2017 04:56:22 -0400 Subject: Generate libqpdf.map from autoconf Rather than checking consistency of libqpdf.map, generate it. --- configure.ac | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index fd271214..36119999 100644 --- a/configure.ac +++ b/configure.ac @@ -8,6 +8,7 @@ AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_FILES([autoconf.mk]) AC_CONFIG_FILES([manual/html.xsl manual/print.xsl]) AC_CONFIG_FILES([libqpdf.pc]) +AC_CONFIG_FILES([libqpdf.map]) AC_CONFIG_HEADERS([libqpdf/qpdf/qpdf-config.h]) AC_PROG_CC @@ -16,6 +17,25 @@ AC_PROG_CXX AC_HEADER_STDC LT_INIT([win32-dll]) +# * If any interfaces have been removed or changed, or if any private +# member variables or virtual functions have been added to any +# class, we are not binary compatible. Increment LT_CURRENT, and set +# LT_AGE and LT_REVISION to 0. +# +# * Otherwise, if any interfaces have been added since the last public +# release, then increment LT_CURRENT and LT_AGE, and set LT_REVISION +# to 0. +# +# * Otherwise, increment LT_REVISION + +# LT = libtool +LT_CURRENT=17 +LT_REVISION=0 +LT_AGE=0 +AC_SUBST(LT_CURRENT) +AC_SUBST(LT_REVISION) +AC_SUBST(LT_AGE) + AC_ARG_ENABLE(insecure-random, AS_HELP_STRING([--enable-insecure-random], [whether to use stdlib's random number generator (default is no)]), -- cgit v1.2.3-54-g00ecf