2001-03-13 12:15:12 +01:00
|
|
|
Index: configure
|
|
|
|
diff -u configure.orig configure
|
2006-05-25 05:33:33 +02:00
|
|
|
--- configure.orig Tue May 23 22:57:47 2006
|
|
|
|
+++ configure Wed May 24 00:01:31 2006
|
2005-12-12 02:22:54 +01:00
|
|
|
@@ -310,6 +310,7 @@
|
2004-07-26 22:39:54 +02:00
|
|
|
#endif"
|
|
|
|
|
2006-05-25 05:33:33 +02:00
|
|
|
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os MAKEDEPEND cyrus_prefix service_path cyrus_user cyrus_group CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT RANLIB ac_ct_RANLIB SET_MAKE INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CPP EGREP AWK LIBOBJS LIB_SOCKET IPV6_OBJS PRE_SUBDIRS EXTRA_SUBDIRS DEPLIBS LOCALDEFS BDB_INC BDB_LIB CYRUSDB_OBJS SIEVE_OBJS SIEVE_LIBS SIEVE_CPPFLAGS YACC LEX LEXLIB LEX_OUTPUT_ROOT SIEVE_SUBDIRS WITH_NONBLOCK WITH_GMTOFF WITH_MAP WITH_LOCK cyrus_sigveclib AFS_LIBS AFS_LDFLAGS LDAP_CPPFLAGS LDAP_LDFLAGS LDAP_LIBS SERVER_SUBDIRS OPENSSL_INC OPENSSL_LIB ZEPHYR_LIBS ZEPHYR_CPPFLAGS IMAP_PROGS COMPILE_ET COM_ERR_LIBS COM_ERR_LDFLAGS COM_ERR_CPPFLAGS LIB_CRYPT GSSAPI_LIBS GSSAPIBASE_LIBS LIB_DYN_SASL DYNSASLFLAGS LIB_SASL SASLFLAGS PERL PERL_CCCDLFLAGS MD5OBJ SNMP_SUBDIRS CMU_LIB_SUBDIR LIB_WRAP SNMP_CONFIG LIB_UCDSNMP LIB_RT IMAP_COM_ERR_LIBS IMAP_LIBS PERL_SUBDIRS PERL_DEPSUBDIRS LTLIBOBJS'
|
2004-07-26 22:39:54 +02:00
|
|
|
+ac_subst_vars="${ac_subst_vars} LDFLAGS_UCDSNMP"
|
|
|
|
ac_subst_files=''
|
|
|
|
|
|
|
|
# Initialize some variables set by options.
|
2006-05-25 05:33:33 +02:00
|
|
|
@@ -16716,6 +16718,7 @@
|
2004-03-07 18:39:03 +01:00
|
|
|
EXTRA_SUBDIRS="${EXTRA_SUBDIRS} perl"
|
|
|
|
PERL_SUBDIRS="imap"
|
|
|
|
PERL="${with_perl}"
|
|
|
|
+ eval `${PERL} -V:cccdlflags`
|
2004-05-28 22:34:49 +02:00
|
|
|
PERL_CCCDLFLAGS="$cccdlflags"
|
2004-03-07 18:39:03 +01:00
|
|
|
|
2004-05-28 22:34:49 +02:00
|
|
|
fi
|
2006-05-25 05:33:33 +02:00
|
|
|
@@ -17736,7 +17739,9 @@
|
2004-05-29 18:36:16 +02:00
|
|
|
|
|
|
|
if test -n "$SNMP_LIBS" && test -n "$SNMP_PREFIX"; then
|
|
|
|
CPPFLAGS="$CPPFLAGS -I${SNMP_PREFIX}/include"
|
|
|
|
- LIB_UCDSNMP=$SNMP_LIBS
|
|
|
|
+ LIB_UCDSNMP="$SNMP_LIBS -lwrap"
|
2004-07-26 22:39:54 +02:00
|
|
|
+ PERLLIBDIR=`$PERL -e 'use Config; print "$Config{archlibexp}/CORE";'`
|
|
|
|
+ LDFLAGS_UCDSNMP="-L${PERLLIBDIR} -R${PERLLIBDIR}"
|
2004-05-29 18:36:16 +02:00
|
|
|
|
|
|
|
cat >>confdefs.h <<\_ACEOF
|
|
|
|
#define HAVE_NETSNMP 1
|
2006-05-25 05:33:33 +02:00
|
|
|
@@ -17985,7 +17990,7 @@
|
2002-08-08 16:06:48 +02:00
|
|
|
#define HAVE_UCDSNMP 1
|
2003-10-28 20:42:55 +01:00
|
|
|
_ACEOF
|
2000-05-13 19:20:07 +02:00
|
|
|
|
2004-05-28 22:34:49 +02:00
|
|
|
- LIB_UCDSNMP="-lucdagent -lucdmibs -lsnmp"
|
|
|
|
+ LIB_UCDSNMP="-lucdagent -lucdmibs -lsnmp -lkvm -ldevstat -lwrap"
|
|
|
|
echo "$as_me:$LINENO: checking for rpmdbOpen in -lrpm" >&5
|
2003-10-28 20:42:55 +01:00
|
|
|
echo $ECHO_N "checking for rpmdbOpen in -lrpm... $ECHO_C" >&6
|
|
|
|
if test "${ac_cv_lib_rpm_rpmdbOpen+set}" = set; then
|
2006-05-25 05:33:33 +02:00
|
|
|
@@ -18810,6 +18815,7 @@
|
2004-07-26 22:39:54 +02:00
|
|
|
s,@LIB_WRAP@,$LIB_WRAP,;t t
|
|
|
|
s,@SNMP_CONFIG@,$SNMP_CONFIG,;t t
|
|
|
|
s,@LIB_UCDSNMP@,$LIB_UCDSNMP,;t t
|
|
|
|
+s,@LDFLAGS_UCDSNMP@,$LDFLAGS_UCDSNMP,;t t
|
|
|
|
s,@LIB_RT@,$LIB_RT,;t t
|
|
|
|
s,@IMAP_COM_ERR_LIBS@,$IMAP_COM_ERR_LIBS,;t t
|
|
|
|
s,@IMAP_LIBS@,$IMAP_LIBS,;t t
|