From cb6163a301650d6bd1fd88e739826715fe8e9c34 Mon Sep 17 00:00:00 2001 From: Thorsten Kukuk Date: Wed, 6 May 2015 09:53:28 -0400 Subject: Symbol versioning patch Added the functions, which are not marked static and for which we provide a protoype in the public installed header files. Additional, there is the function __libc_clntudp_bufcreate for glibc compatibility and the three functions: __svc_clean_idle; svc_auth_none; libtirpc_set_debug used by rpcbind. I have added them as "TIRPC_PRIVATE". If we want to provide them as official functions for everybody, we should add prototypes to the header files and move them to the TIRPC_0.3.0 section. Signed-off-by: Steve Dickson --- configure.ac | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 7be0b91..0216c21 100644 --- a/configure.ac +++ b/configure.ac @@ -7,9 +7,9 @@ AC_CONFIG_MACRO_DIR([m4]) AC_ARG_ENABLE(gssapi, [AC_HELP_STRING([--disable-gssapi], [Disable GSSAPI support @<:@default=no@:>@])], [],[enable_gssapi=yes]) -AM_CONDITIONAL(GSS, test x$enable_gssapi = xyes) +AM_CONDITIONAL(GSS, test "x$enable_gssapi" = xyes) -if test x$enable_gssapi = xyes; then +if test "x$enable_gssapi" = xyes; then GSSAPI_CFLAGS=`krb5-config --cflags gssapi` GSSAPI_LIBS=`krb5-config --libs gssapi` AC_SUBST([GSSAPI_CFLAGS]) @@ -19,8 +19,8 @@ fi AC_ARG_ENABLE(authdes, [AC_HELP_STRING([--enable-authdes], [Enable DES authentication @<:@default=no@:>@])], [],[enable_authdes=no]) -AM_CONDITIONAL(AUTHDES, test x$enable_authdes = xyes) -if test x$enable_authdes = xyes; then +AM_CONDITIONAL(AUTHDES, test "x$enable_authdes" = xyes) +if test "x$enable_authdes" = xyes; then AC_DEFINE([HAVE_AUTHDES], [1], [Define to 1 if DES authentication is enabled]) CFLAG_AUTHDES="-DHAVE_AUTHDES=1" @@ -35,6 +35,11 @@ if test "x$enable_ipv6" != xno; then AC_DEFINE(INET6, 1, [Define to 1 if IPv6 is available]) fi +AC_ARG_ENABLE(symvers, + [AC_HELP_STRING([--disable-symvers], [Disable symbol versioning @<:@default=no@:>@])], + [],[enable_symvers=yes]) +AM_CONDITIONAL(SYMVERS, test "x$enable_symvers" = xyes) + AC_PROG_CC AC_CONFIG_HEADERS([config.h]) AC_PROG_LIBTOOL -- cgit v1.2.1