diff options
author | Daniel Stenberg <daniel@haxx.se> | 2008-08-24 21:26:42 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2008-08-24 21:26:42 +0000 |
commit | 8dabd34432bc77408c58bdfb575510f671e5ed26 (patch) | |
tree | 86bdf164266026eeef8a8faf9a7c2f2948bbfe12 /configure.ac | |
parent | a104a365e355391002ebd4424daa4e6c49b92de6 (diff) |
Introduced the configure option --enable-soname-bump that lets a user enforce
an SONAME bump.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 2959b68c8..d2bd20043 100644 --- a/configure.ac +++ b/configure.ac @@ -2493,6 +2493,29 @@ AC_HELP_STRING([--disable-hidden-symbols],[Leave all symbols with default visibi ) 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 dnl If ws2_32 is wanted, make sure it is the _last_ lib in LIBS (makes |