summaryrefslogtreecommitdiffstats
path: root/web/attachments/52944-patches.txt
blob: 165ac93ed4e4da0138643ddc36b6f3770b94d782 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
--- src/nagios-plugins-1.3.0/configure.in       2003-03-01 20:58:12.000000000 -0800
+++ configure.in        2003-06-11 14:38:45.444708000 -0700
@@ -145,11 +145,13 @@

 dnl Check for radius libraries
 _SAVEDLIBS="$LIBS"
-AC_CHECK_LIB(radiusclient,rc_read_config)
+AC_CHECK_LIB(radiusclient,rc_read_config,,,$SOCKETLIBS)
 if test "$ac_cv_lib_radiusclient_rc_read_config" = "yes"; then
   EXTRAS="$EXTRAS check_radius"
-       RADIUSLIBS="-lradiusclient"
+       RADIUSLIBS="-lradiusclient $SOCKETLIBS"
+       RADIUSINCLUDE="-I/usr/local/include"
   AC_SUBST(RADIUSLIBS)
+  AC_SUBST(RADIUSINCLUDE)
 else
   AC_MSG_WARN([Skipping radius plugin])
   AC_MSG_WARN([install radius libs to compile this plugin (see REQUIREMENTS).])










--- src/nagios-plugins-1.3.0/plugins/Makefile.am        2003-02-18 23:15:52.000000000 -0800
+++ Makefile.am 2003-06-11 14:28:22.318808000 -0700
@@ -2,7 +2,7 @@

 VPATH = $(top_srcdir) $(top_srcdir)/lib $(top_srcdir)/plugins $(top_srcdir)/plugins/t

-INCLUDES = -I.. -I$(top_srcdir)/lib @LDAPINCLUDE@ @PGINCLUDE@ @SSLINCLUDE@
+INCLUDES = -I.. -I$(top_srcdir)/lib @LDAPINCLUDE@ @PGINCLUDE@ @SSLINCLUDE@ @RADIUSINCLUDE@

 libexec_PROGRAMS = check_disk check_dummy check_http check_load \
        check_mrtg check_mrtgtraf check_nwstat check_overcr check_ping \