Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 674192 | Differences between
and this patch

Collapse All | Expand All

(-)dsniff-2.4.orig/Makefile.in (-2 / +2 lines)
Lines 39-46 Link Here
39
X11LIB	= @X_LIBS@ @X_PRE_LIBS@ -lXmu -lX11 @X_EXTRA_LIBS@
39
X11LIB	= @X_LIBS@ @X_PRE_LIBS@ -lXmu -lX11 @X_EXTRA_LIBS@
40
40
41
INCS	= -I. $(NIDSINC) $(PCAPINC) $(LNETINC) $(DBINC) $(SSLINC) $(X11INC) \
41
INCS	= -I. $(NIDSINC) $(PCAPINC) $(LNETINC) $(DBINC) $(SSLINC) $(X11INC) \
42
	  -I$(srcdir)/missing
42
	  -I$(srcdir)/missing @RPC_CFLAGS@
43
LIBS	= @LIBS@ -L$(srcdir) -lmissing
43
LIBS	= @LIBS@ -L$(srcdir) -lmissing @RPC_LIBS@
44
44
45
INSTALL	= @INSTALL@
45
INSTALL	= @INSTALL@
46
INSTALL_PROGRAM = @INSTALL_PROGRAM@
46
INSTALL_PROGRAM = @INSTALL_PROGRAM@
(-)dsniff-2.4.orig/configure.in (+19 lines)
Lines 338-341 Link Here
338
AC_SUBST(SSLINC)
338
AC_SUBST(SSLINC)
339
AC_SUBST(SSLLIB)
339
AC_SUBST(SSLLIB)
340
340
341
AC_ARG_WITH([libtirpc],
342
	   AS_HELP_STRING([--with-libtirpc], [Use libtirpc as RPC implementation (instead of sunrpc)]),
343
	   [], [ with_libtirpc=no ])
344
345
AS_IF([test "x$with_libtirpc" != xno], 
346
      [PKG_CHECK_MODULES([TIRPC], 
347
			 [libtirpc], 
348
			 [RPC_CFLAGS=$TIRPC_CFLAGS; RPC_LIBS=$TIRPC_LIBS;],
349
			[AC_MSG_ERROR([libtirpc requested, but library not found.])]
350
		       )], 
351
      [AC_CHECK_HEADER(rpc/rpc.h, 
352
		      [RPC_CFLAGS=""; RPC_LIBS="";],
353
		      [AC_MSG_ERROR([sunrpc requested, but headers are not present.])]
354
		     )]
355
)
356
357
AC_SUBST(RPC_CFLAGS)
358
AC_SUBST(RPC_LIBS)
359
341
AC_OUTPUT(Makefile)
360
AC_OUTPUT(Makefile)

Return to bug 674192