summaryrefslogtreecommitdiffstats
path: root/net-mgmt/nagios-devel/files/patch-configure.in
blob: e5bd8f11569abdd9414e35bb675d08393651d8a8 (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
--- configure.in.orig	Thu Nov  1 04:05:38 2007
+++ configure.in	Thu Nov  1 19:33:42 2007
@@ -6,7 +6,6 @@
 
 AC_INIT(base/nagios.c)
 AC_CONFIG_HEADER(include/config.h include/snprintf.h include/cgiutils.h)
-AC_PREFIX_DEFAULT(/usr/local/nagios)
 
 PKG_NAME=nagios
 PKG_VERSION="3.0b7"
@@ -196,7 +195,7 @@
 AC_SUBST(nagios_grp)
 AC_DEFINE_UNQUOTED(DEFAULT_NAGIOS_USER,"$nagios_user")
 AC_DEFINE_UNQUOTED(DEFAULT_NAGIOS_GROUP,"$nagios_grp")
-INSTALL_OPTS="-o $nagios_user -g $nagios_grp"
+INSTALL_OPTS="-o root -g wheel"
 AC_SUBST(INSTALL_OPTS)
 
 AC_ARG_WITH(command_user,--with-command-user=<user> sets user name for command access,command_user=$withval,command_user=$nagios_user)
@@ -520,9 +519,9 @@
 fi
 
 dnl Try and locate glib
-GLIB_INCLUDE=`pkg-config --cflags glib-2.0`
+GLIB_INCLUDE=""
 AC_SUBST(GLIB_INCLUDE)
-GLIB_LIBS=`pkg-config --libs glib-2.0`
+GLIB_LIBS=""
 AC_SUBST(GLIB_LIBS)
 if test x$GLIB_LIBS != x; then
 	AC_DEFINE_UNQUOTED(HAVE_GLIB)
OpenPOWER on IntegriCloud