7 -SUBDIRS=zlib src doc tools
8 -INSTDIRS=src doc tools
11 CLEANSUBDIRS=src tools
17 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
18 See \`config.log' for more details." >&5
19 echo "$as_me: error: cannot run test program while cross compiling
20 -See \`config.log' for more details." >&2;}
21 - { (exit 1); exit 1; }; }
22 +See \`config.log' for more details." >&2;} }
24 cat >conftest.$ac_ext <<_ACEOF
25 #line $LINENO "configure"
32 -IRCDLIBS=@LIBS@ ../zlib/libz.a
33 -INCLUDEDIR=-I../include
34 +IRCDLIBS=-lresolv -lz @LIBS@ -L$(STAGING_DIR)/lib -L$(STAGING_DIR)/usr/lib
35 +INCLUDEDIR=-I../include -I$(STAGING_DIR)/usr/include
36 OPENSSLINC=@SSL_INCLUDES@
40 INSTALL_DIR=@INSTALL_DIR@
46 #This is only for very old systems that NEED this
47 -#RES_SRC = res_mkquery.c res_init.c res_comp.c
48 +RES_SRC = res_mkquery.c res_init.c res_comp.c
50 SOURCES = blalloc.c bsd.c channel.c clientlist.c clones.c confparse.c \
51 fdlist.c fds.c hash.c hide.c inet_addr.c ircd.c ircsprintf.c \
53 m_who.c match.c memcount.c modules.c packet.c parse.c pcre.c \
54 probability.c res.c s_auth.c s_bsd.c s_conf.c s_debug.c s_err.c \
55 s_misc.c s_numeric.c s_serv.c s_user.c sbuf.c scache.c send.c \
56 - struct.c support.c throttle.c userban.c whowas.c zlink.c \
57 + struct.c support.c throttle.c userban.c whowas.c zlink.c $(RES_SRC) \
60 OBJECTS = $(SOURCES:.c=.o) version.o
64 * the first name on the list, not the pointer to the start of the
67 -int staticdn_find(u_char *exp_dn, u_char *msg, u_char **dnptrs,
68 +static int dn_find(u_char *exp_dn, u_char *msg, u_char **dnptrs,
71 u_char *dn, *cp, **cpp;
72 --- a/zlib/Makefile.in
73 +++ b/zlib/Makefile.in
77 libz.a: $(OBJS) $(OBJA)
78 - $(AR) $@ $(OBJS) $(OBJA)
79 + $(AR) rcv $@ $(OBJS) $(OBJA)
80 -@ ($(RANLIB) $@ || true) >/dev/null 2>&1