aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/nagios12/files/patch-ad
blob: 57212a7fed88ac6f01e1af2432e7c47ab2c7a0ab (plain) (blame)
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
40
41
42
--- configure.orig  Thu Mar  1 04:54:12 2001
+++ configure   Thu Mar  1 21:58:09 2001
@@ -11,7 +11,7 @@
 ac_help=
 ac_default_prefix=/usr/local
 # Any additions from configure.in:
-ac_default_prefix=/usr/local/nagios
+#ac_default_prefix=/usr/local/nagios
 ac_help="$ac_help
 --with-nagios-user=<user> sets user name to run nagios"
 ac_help="$ac_help
@@ -562,9 +562,9 @@
 # Prefer explicitly selected file to automatically selected ones.
 if test -z "$CONFIG_SITE"; then
   if test "x$prefix" != xNONE; then
-    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
+    CONFIG_SITE="$prefix/share/nagios/config.site $prefix/etc/nagios/config.site"
   else
-    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
+    CONFIG_SITE="$ac_default_prefix/share/nagios/config.site $ac_default_prefix/etc/nagios/config.site"
   fi
 fi
 for ac_site_file in $CONFIG_SITE; do
@@ -1298,6 +1298,9 @@
    LDFLAGS="${LDFLAGS} -L${withval}"
    LD_RUN_PATH="${withval}${LD_RUN_PATH:+:}${LD_RUN_PATH}"
    
+else
+   LDFLAGS="${LDFLAGS} -L/usr/local/lib"
+   LD_RUN_PATH="/usr/local/ib${LD_RUN_PATH:+:}${LD_RUN_PATH}"
 fi
 
 # Check whether --with-gd-inc or --without-gd-inc was given.
@@ -1305,6 +1308,8 @@
   withval="$with_gd_inc"
   
    CFLAGS="${CFLAGS} -I${withval}"
+else
+   CFLAGS="${CFLAGS} -I/usr/local/include/gd"
    
 fi