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

Collapse All | Expand All

(-)contrib/drac_auth.patch.orig (-7 / +8 lines)
Lines 71-77 Link Here
71
diff -u -r1.273 configure.in
71
diff -u -r1.273 configure.in
72
--- configure.in	15 Dec 2003 20:00:35 -0000	1.273
72
--- configure.in	15 Dec 2003 20:00:35 -0000	1.273
73
+++ configure.in	19 Dec 2003 19:56:16 -0000
73
+++ configure.in	19 Dec 2003 19:56:16 -0000
74
@@ -945,6 +945,19 @@
74
@@ -945,6 +945,20 @@
75
 SNMP_SUBDIRS=""
75
 SNMP_SUBDIRS=""
76
 AC_SUBST(SNMP_SUBDIRS)
76
 AC_SUBST(SNMP_SUBDIRS)
77
 
77
 
Lines 80-91 Link Here
80
+dnl
80
+dnl
81
+DRACLIBS=
81
+DRACLIBS=
82
+AC_ARG_WITH(drac, [  --with-drac=DIR         use DRAC library in <DIR> [no] ],
82
+AC_ARG_WITH(drac, [  --with-drac=DIR         use DRAC library in <DIR> [no] ],
83
+	if test -d "$withval"; then
83
+       drac="$withval",
84
+		LDFLAGS="$LDFLAGS -L${withval}"
84
+       drac="no")
85
+		AC_CHECK_LIB(drac, dracauth,
85
+if test "$drac" != "no"; then
86
+			AC_DEFINE(DRAC_AUTH,[],[Build DRAC support?])
86
+       AC_CHECK_LIB(drac, dracauth,
87
+			DRACLIBS="-ldrac")
87
+               AC_DEFINE(DRAC_AUTH,[],[Build DRAC support?])
88
+	fi)
88
+               DRACLIBS="-ldrac")
89
+fi
89
+AC_SUBST(DRACLIBS)
90
+AC_SUBST(DRACLIBS)
90
+
91
+
91
 CMU_LIBWRAP
92
 CMU_LIBWRAP

Return to bug 79442