summaryrefslogtreecommitdiff
path: root/configure.ac
Commit message (Collapse)AuthorAgeFilesLines
* Release: 1.3.3libtirpc-1-3-3Steve Dickson2022-08-071-1/+1
| | | | Signed-off-by: Steve Dickson <steved@redhat.com>
* build: use autoconf archive to link pthreadHsia-Jun(Randy) Li2022-01-201-1/+1
| | | | | | | For Android bionic, pthread is a part of that c library. Signed-off-by: Hsia-Jun(Randy) Li <randy.li@synaptics.com> Signed-off-by: Steve Dickson <steved@redhat.com>
* Release: 1.3.2libtirpc-1-3-2Steve Dickson2021-05-101-1/+1
| | | | Signed-off-by: Steve Dickson <steved@redhat.com>
* Release: 1.3.1libtirpc-1-3-1Steve Dickson2020-12-011-1/+1
| | | | Signed-off-by: Steve Dickson <steved@redhat.com>
* Release 1.2.6libtirpc-1-2-6Steve Dickson2020-04-071-1/+1
| | | | Signed-off-by: Steve Dickson <steved@redhat.com>
* Release 1.2.5libtirpc-1-2-5Steve Dickson2019-12-191-1/+1
| | | | Signed-off-by: Steve Dickson <steved@redhat.com>
* Compile out the AUTH_DES support.Steve Dickson2019-10-091-0/+8
| | | | | | | | | | | | AUTH_DES authentication is dead! Has not been supported in years and know the code is throwing out coverity scan which don't make sense to fix. The code is know compiled out by default. Reviewed-by: Petr Vorel <petr.vorel@gmail.com> Tested-by: Petr Vorel <petr.vorel@gmail.com> Signed-off-by: Steve Dickson <steved@redhat.com>
* Release 1.1.4libtirpc-1-1-4Steve Dickson2018-08-271-1/+1
| | | | Signed-off-by: Steve Dickson <steved@redhat.com>
* Release 1.0.3libtirpc-1-0-3Steve Dickson2018-03-141-1/+1
| | | | Signed-off-by: Steve Dickson <steved@redhat.com>
* Release 1.0.2libtirpc-1-0-2Steve Dickson2017-07-051-1/+1
| | | | Signed-off-by: Steve Dickson <steved@redhat.com>
* Release 1.0.1libtirpc-1-0-1Steve Dickson2015-10-301-1/+1
| | | | Signed-off-by: Steve Dickson <steved@redhat.com>
* configure.ac: bump up the soname to reflect some API changes.Steve Dickson2015-10-301-1/+1
| | | | | | | | commit 5e0cdfa6 and commit a61bc60c made changes that break the current API. Increase the soname version to reflect those changes. Signed-off-by: Steve Dickson <steved@redhat.com>
* Make no-undefined linker flag depending on OSlibtirpc-0-3-3-rc3Steve Dickson2015-08-281-0/+15
| | | | | | | | | Not all linker understand the --no-undefined option. On Linux, it is always supported, so start only enabling this option here. Other OS needs to be added, if needed. Signed-off-by: Thorsten Kukuk <kukuk@thkukuk.de> Signed-off-by: Steve Dickson <steved@redhat.com>
* build: Bump library versionChuck Lever2015-07-101-0/+27
| | | | | | | | | | | | | From: Chuck Lever <cel@seurat.1015granger.net> According to the libtool library version rules, because new APIs have been added, the library version has to be updated. And make it easier to remember to update the library version for each release. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Steve Dickson <steved@redhat.com>
* Release 0.3.2libtirpc-0-3-2Steve Dickson2015-06-161-1/+1
| | | | Signed-off-by: Steve Dickson <steved@redhat.com>
* Revert commit c0547c56dafb ('Add configure option to disable DES')Chuck Lever2015-06-161-5/+0
| | | | | | | | | | | | | | AUTH_DES is part of the legacy SunRPC API in glibc, and therefore is not optional. Commit c0547c56dafb says making AUTH_DES optional "is needed for musl libc." Removing AUTH_DES breaks legacy code, thus some other fix must be found for this issue. libtirpc can provide some or all of the missing functionality if the local C library does not have it, perhaps. Reported-by: Thorsten Kukuk <kukuk@suse.de> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
* Revert commit 4ba9ce277dd6 ('configure.ac: Allow for disabling auth DES')Chuck Lever2015-06-161-6/+1
| | | | | | | | | | AUTH_DES is a part of legacy glibc SunRPC, and cannot be optional. Adding an autoconf macro (HAVE_AUTHDES) into libtirpc source files is OK, but adding such a macro into installed header files is wrong. Reported-by: Thorsten Kukuk <kukuk@suse.de> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
* Revert commit cf29aa829f80 ('configure.ac: Disable DES auth by default')Chuck Lever2015-06-161-2/+2
| | | | | | | | | | | | AUTH_DES is provided in older glibc versions and is therefore required for backward compatibility. Some applications still require at least rpc/auth_des.h to be present. Thus, though it is deprecated, it is not an optional part of the SunRPC legacy API. Reported-by: Thorsten Kukuk <kukuk@suse.de> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
* configure: Heimdal Kerberos does not package gssapi/gssapi_ext.hChuck Lever2015-06-161-1/+1
| | | | | Reported-by: Karl-Johan Karlsson <creideiki+linux-nfs@lysator.liu.se> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
* Release 0.3.1libtirpc-0-3-1Steve Dickson2015-06-011-1/+1
| | | | Signed-off-by: Steve Dickson <steved@redhat.com>
* "configure --enable-gssapi" should fail if gssapi.h not foundChuck Lever2015-06-011-1/+6
| | | | | | | | | | | | | | | | | | | | | "configure --enable-gssapi" on a system without GSS-API installed completes normally. Then "make" fails with: CC libtirpc_la-bindresvport.lo In file included from ../tirpc/rpc/rpc.h:64:0, from bindresvport.c:46: ../tirpc/rpc/auth_gss.h:41:27: fatal error: gssapi/gssapi.h: No such file or directory #include <gssapi/gssapi.h> ^ compilation terminated. Makefile:604: recipe for target 'libtirpc_la-bindresvport.lo' failed Since gssapi.h is a requirement when --enable-gssapi is specified, make ./configure fail if gssapi.h is not installed. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Steve Dickson <steved@redhat.com>
* "configure --enable-gssapi" should fail if krb5-config is not foundChuck Lever2015-06-011-2/+6
| | | | | | | | | | | | | | "configure --enable-gssapi" on a system without GSS-API installed reports: ./configure: line 2884: krb5-config: command not found ./configure: line 2885: krb5-config: command not found but completes normally. It should fail if Kerberos cannot be configured. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Steve Dickson <steved@redhat.com>
* Revert "Fix Build w/gssapi disabled"Steve Dickson2015-06-011-2/+1
| | | | This reverts commit 7b7337b7e6541649a82b09a5c268c7fe6404fbf4.
* Fix Build w/gssapi disabledThorsten Kukuk2015-05-071-1/+2
| | | | | | | | | | | A regression was introduced by commit d5259e75 that broke the --disable-gssapi configuration flag causing numerous compile errors. This patch fixes those errors but then the config flag is used it breaks API with previous releases. Signed-off-by: Steve Dickson <steved@redhat.com>
* Release 0.3.0libtirpc-0-3-0Steve Dickson2015-05-061-1/+1
| | | | Signed-off-by: Steve Dickson <steved@redhat.com>
* Symbol versioning patchlibtirpc-0-2-6-rc5Thorsten Kukuk2015-05-061-4/+9
| | | | | | | | | | | | | | | | | 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 <steved@redhat.com>
* configure.ac: Disable DES auth by defaultSteve Dickson2015-05-061-2/+2
| | | | | | | The DES authentication is no a supported authentication so turn it off by default Signed-off-by: Steve Dickson <steved@redhat.com>
* Don't link against libnslThorsten Kukuk2015-04-291-1/+0
| | | | | | | | | | | | all source files containing references to yp_get_default_domain are disabled in the Makefile and will never be compiled. As long as we don't change that, we shouldn't link libtirpc against libnsl. Since libnsl uses RPC functions, this could lead to a dependency loop in worst case on some systems. Signed-off-by: Steve Dickson <steved@redhat.com>
* disable *rpcent functions if they exist in libcThorsten Kukuk2015-04-291-1/+1
| | | | | | | | | | | | Per default we disable getrpcbyname and getrpcbynumber, if this functions are available in libc. But with glibc, all *rpcent* functions are using NSS, inside tirpc only /etc/rpc. What happens now is that getrpcbyname/getrpcbynumber can return other results as getrpcent. This should not happen. So check for all functions if available from libc and don't use them if this is the case. Signed-off-by: Steve Dickson <steved@redhat.com>
* configure.ac: Allow for disabling auth DESBernhard Reutner-Fischer2015-04-291-1/+6
| | | | | | | DES encryption might not be available. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Steve Dickson <steved@redhat.com>
* configure.ac: Check for features.hlibtirpc-0-2-6-rc3Bernhard Reutner-Fischer2015-04-231-1/+1
| | | | | | | | | | | Fixes http://sourceforge.net/p/libtirpc/bugs/34/ The netconfig header attempts to include features.h which is only available in glibc. This is necessary for backporting the package for FreeBSD. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Steve Dickson <steved@redhat.com>
* Add configure option to disable DES authenticationNatanael Copa2015-04-231-0/+6
| | | | | | | | | | | DES is not good for encryption anymore and some C libraries does not even implement it. We add a --disable-authdes to optionally disable it, but let it be enabled by default for compatibility. This is needed for musl libc. Signed-off-by: Natanael Copa <ncopa@alpinelinux.org> Signed-off-by: Steve Dickson <steved@redhat.com>
* Provide getrpcbynumber and getrpcbyname if those are missingNatanael Copa2015-04-231-2/+4
| | | | | | | | | | | We enable the config.h again and check if getrpcbynumber and getrpcbyname exists on the building patform. If it does not exist, then provide those functions. This is needed for musl libc. Signed-off-by: Natanael Copa <ncopa@alpinelinux.org> Signed-off-by: Steve Dickson <steved@redhat.com>
* configure: permanently enable maintainer modeChuck Lever2014-01-231-1/+0
| | | | | | | | | | | | | | | | I noticed that "make" doesn't run configure again when a patch is applied that changes the build environment. Maintainer mode appears to be disabled by default. Section 27.2 of the Automake manual suggests that disabling Maintainer Mode causes unreliable builds because it removes the guarantee that the build environment is up to date. Remove the configure.ac macro to disable or enable maintainer mode. This leaves Maintainer Mode enabled all the time. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Steve Dickson <steved@redhat.com>
* Release 0.2.4libtirpc-0-2-4Steve Dickson2013-12-091-1/+1
| | | | Signed-off-by: Steve Dickson <steved@redhat.com>
* configure.ac: Remove gssglue configuration knobsSteve Dickson2013-12-091-19/+4
| | | | | | | Its really not a good idea for libtirpc to link with libgssglue so this patch remove the ability to do that. Signed-off-by: Steve Dickson <steved@redhat.com>
* configure.ac: enable the GSSAPI by defaultSteve Dickson2013-12-091-7/+7
| | | | | | | This changes GSSAPI support to be enabled by default. To disable the support use --disable-gssapi Signed-off-by: Steve Dickson <steved@redhat.com>
* build: set enable-silent-rules to be on by defaultSteve Dickson2013-12-091-0/+1
| | | | | | | To disable the build from using silent rulues, use: ./configure --disable-silent-rules Signed-off-by: Steve Dickson <steved@redhat.com>
* build: Make compiler warnings easier to seeChuck Lever2013-12-091-1/+1
| | | | | | | | | | | | | | | | | | | | | | Enable quiet building to make compiler and linker warnings easier to see. After this patch, with "make -s" we get: ... Making all in src CC libtirpc_la-auth_none.lo CC libtirpc_la-auth_unix.lo ... making warnings stand out clearly. Enable this behavior via: ./configure --enable-silent-rules Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Steve Dickson <steved@redhat.com>
* build: fix for automake>=1.13libtirpc-0-2-4-rc2Tom Gundersen2013-07-011-2/+2
| | | | | | | Also fix a couple of related deprecation warnings. Signed-off-by: Tom Gundersen <teg@jklm.no> Signed-off-by: Steve Dickson <steved@redhat.com>
* Switch to use standard GSSAPI by defaultSimo Sorce2013-03-261-4/+19
| | | | | | | | Make libgssglue configurable still but disabled by default. There is no reason to use libgssglue anymore, and modern gssapi supports all needed features for libtirpc and its dependencies. Signed-off-by: Steve Dickson <steved@redhat.com>
* Release 0.2.3Steve Dickson2013-02-121-2/+2
| | | | Signed-off-by: Steve Dickson <steved@redhat.com>
* Make IPv6 enabled by defaultMike Frysinger2012-11-131-0/+7
| | | | | | | Added a --disable-ipv6 configuration flag to allow the disabling of the IPv6 support. Signed-off-by: Steve Dickson <steved@redhat.com>
* No longer require NIS.Nick Alcock2012-04-261-0/+1
| | | | | | | | | | | | | | | | | | From: Nick Alcock <nick.alcock@oracle.com> NIS is deader than the proverbial dodo, and eglibc allows you to compile it out entirely. Though libtirpc can work with NIS, it works perfectly well if NIS is not in the libc, thanks to nsswitch (acting as if NIS is there but empty). However, when NIS is not compiled into eglibc, libnsl is not present. So check for it at configure time, and include it via LIBS if available. (I suspect this LIBS-inclusion will have no effect, and we don't even need to check for NIS at compile time, but I have no NIS-capable systems to test this on.) Signed-off-by: Nick Alcock <nick.alcock@oracle.com> Signed-off-by: Steve Dickson <steved@redhat.com>
* Release 0.2.2libtirpc-0-2-2Steve Dickson2011-05-021-2/+2
| | | | Signed-off-by: Steve Dickson <steved@redhat.com>
* libtoolize: Squelch libtoolize warningsChuck Lever2010-03-251-1/+1
| | | | | | | | | | | | | | Address these build-time complaints from libtoolize: libtoolize: Consider adding `AC_CONFIG_MACRO_DIR([m4])' to configure.ac and libtoolize: rerunning libtoolize, to keep the correct libtool macros in-tree. libtoolize: Consider adding `-I m4' to ACLOCAL_AMFLAGS in Makefile.am. libtoolize: `AC_PROG_RANLIB' is rendered obsolete by `LT_INIT' Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Steve Dickson <steved@redhat.com>
* Release 0.2.1libtirpc-0-2-1Steve Dickson2009-11-301-2/+2
| | | | Signed-off-by: Steve Dickson <steved@redhat.com>
* Added HAVE_LIBGSSAPI defines around gss codelibtirpc-0-2-1-rc3Steve Dickson2009-07-091-0/+29
so the --disble-gss configure option would work Renamed configure.in to configure.ac so the HAVE_LIBGSSAPI define would be defined in the correct place. Clean up warnings when --enable-gss is used. Signed-off-by: Steve Dickson <steved@redhat.com>