From 8dabd34432bc77408c58bdfb575510f671e5ed26 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sun, 24 Aug 2008 21:26:42 +0000 Subject: Introduced the configure option --enable-soname-bump that lets a user enforce an SONAME bump. --- configure.ac | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 2959b68c8..d2bd20043 100644 --- a/configure.ac +++ b/configure.ac @@ -2492,6 +2492,29 @@ AC_HELP_STRING([--disable-hidden-symbols],[Leave all symbols with default visibi AC_MSG_RESULT(no) ) +dnl ************************************************************ +dnl enforce SONAME bump +dnl + +soname_bump=no + +AC_MSG_CHECKING([whether to enforce SONAME bump]) +AC_ARG_ENABLE(soname-bump, +AC_HELP_STRING([--enable-soname-bump],[Enable enforced SONAME bump]) +AC_HELP_STRING([--disable-soname-bump],[Disable enforced SONAME bump]), +[ case "$enableval" in + yes) AC_MSG_RESULT(yes) + soname_bump=yes + ;; + *) + AC_MSG_RESULT(nope: $enableval) + ;; + esac ], + AC_MSG_RESULT(nono) +) +AM_CONDITIONAL(SONAME_BUMP, test x$soname_bump = xyes) + + dnl ************************************************************ if test ! -z "$winsock_LIB"; then -- cgit v1.2.3