2010-11-08 14:41:34 +01:00
|
|
|
--- configure.in.orig
|
|
|
|
+++ configure.in
|
2010-12-20 00:42:59 +01:00
|
|
|
@@ -59,7 +59,9 @@ AC_ARG_ENABLE(dynamic,
|
|
|
|
AC_MSG_RESULT([yes, by default])
|
|
|
|
])
|
|
|
|
|
|
|
|
-AC_PROG_CC
|
|
|
|
+AC_PROG_CC_STDC
|
|
|
|
+AC_USE_SYSTEM_EXTENSIONS
|
|
|
|
+AC_SYS_LARGEFILE
|
|
|
|
AC_PROG_CPP
|
|
|
|
AC_PROG_RANLIB
|
|
|
|
AC_PROG_INSTALL
|
|
|
|
@@ -252,7 +254,7 @@ SHLIBSONAME='$(SHLIBFORLINK).$(MAJOR)'
|
2010-11-08 14:41:34 +01:00
|
|
|
SHLIBFILE='$(SHLIBSONAME).$(MINOR)'
|
|
|
|
|
|
|
|
SHLIBCC='$(CC) $(CFLAGS) -fpic'
|
|
|
|
-MKSHLIB_1='$(CC) $(LDFLAGS) -shared -Wl,-soname=$(SHLIBSONAME) -o'
|
|
|
|
+MKSHLIB_1='$(CC) $(LDFLAGS) -shared -Wl,-soname=$(SHLIBSONAME),-version-script=$(srcdir)/../adns.sym -o'
|
|
|
|
MKSHLIB_2=''
|
|
|
|
MKSHLIB_3='-lc'
|
|
|
|
|
|
|
|
--- /dev/null
|
|
|
|
+++ adns.sym
|
|
|
|
@@ -0,0 +1,35 @@
|
|
|
|
+{
|
|
|
|
+ global:
|
|
|
|
+adns_afterselect;
|
|
|
|
+adns_beforepoll;
|
|
|
|
+adns_beforeselect;
|
|
|
|
+adns_cancel;
|
|
|
|
+adns_check;
|
|
|
|
+adns_checkconsistency;
|
|
|
|
+adns_errabbrev;
|
|
|
|
+adns_errtypeabbrev;
|
|
|
|
+adns_finish;
|
|
|
|
+adns_firsttimeout;
|
|
|
|
+adns_forallqueries_begin;
|
|
|
|
+adns_forallqueries_next;
|
|
|
|
+adns_getaddrinfo;
|
|
|
|
+adns_globalsystemfailure;
|
|
|
|
+adns_init;
|
|
|
|
+adns_init_logfn;
|
|
|
|
+adns_init_strcfg;
|
|
|
|
+adns_processany;
|
|
|
|
+adns_processexceptional;
|
|
|
|
+adns_processreadable;
|
|
|
|
+adns_processtimeouts;
|
|
|
|
+adns_processwriteable;
|
|
|
|
+adns_rr_info;
|
|
|
|
+adns_strerror;
|
|
|
|
+adns_submit;
|
|
|
|
+adns_submit_reverse;
|
|
|
|
+adns_submit_reverse_any;
|
|
|
|
+adns_synchronous;
|
|
|
|
+adns_wait;
|
|
|
|
+adns_wait_poll;
|
|
|
|
+
|
|
|
|
+local: *;
|
|
|
|
+};
|