mirror of
git://git.gnupg.org/gnupg.git
synced 2025-01-08 12:44:23 +01:00
* srv.c, Makefile.am: Only build srv.c if we need to.
This commit is contained in:
parent
f3c99c604c
commit
5e08b08da8
@ -1,3 +1,7 @@
|
||||
2005-12-22 David Shaw <dshaw@jabberwocky.com>
|
||||
|
||||
* srv.c, Makefile.am: Only build srv.c if we need to.
|
||||
|
||||
2005-12-10 Ryan Lortie <desrt@desrt.ca> (dshaw)
|
||||
|
||||
* ttyio.c (tty_enable_completion, tty_disable_completion): Add
|
||||
|
@ -24,7 +24,7 @@ noinst_LIBRARIES = libutil.a
|
||||
|
||||
libutil_a_SOURCES = logger.c fileutil.c miscutil.c strgutil.c \
|
||||
ttyio.c argparse.c memory.c secmem.c errors.c iobuf.c \
|
||||
dotlock.c http.c srv.h srv.c pka.c membuf.c
|
||||
dotlock.c http.c pka.c membuf.c
|
||||
|
||||
if USE_SIMPLE_GETTEXT
|
||||
libutil_a_SOURCES+=simple-gettext.c
|
||||
@ -44,6 +44,10 @@ if USE_INTERNAL_REGEX
|
||||
libutil_a_SOURCES+=regex.c
|
||||
endif
|
||||
|
||||
if USE_DNS_SRV
|
||||
libutil_a_SOURCES+=srv.c srv.h
|
||||
endif
|
||||
|
||||
# The internal regex code #includes these.
|
||||
EXTRA_libutil_a_SOURCES = regcomp.c regexec.c regex_internal.c \
|
||||
regex_internal.h
|
||||
|
@ -20,7 +20,6 @@
|
||||
*/
|
||||
|
||||
#include <config.h>
|
||||
#ifdef USE_DNS_SRV
|
||||
#include <sys/types.h>
|
||||
#ifdef _WIN32
|
||||
#include <windows.h>
|
||||
@ -226,8 +225,6 @@ getsrv(const char *name,struct srventry **list)
|
||||
return -1;
|
||||
}
|
||||
|
||||
#endif /* USE_DNS_SRV */
|
||||
|
||||
#ifdef TEST
|
||||
int
|
||||
main(int argc,char *argv[])
|
||||
|
Loading…
x
Reference in New Issue
Block a user