ngompa / rpms / sudo

Forked from rpms/sudo 2 years ago
Clone
8e5b1df
diff -up sudo-1.7.2p2/configure.in.libaudit sudo-1.7.2p2/configure.in
8e5b1df
--- sudo-1.7.2p2/configure.in.libaudit	2010-02-10 16:21:26.000000000 +0100
8e5b1df
+++ sudo-1.7.2p2/configure.in	2010-02-10 16:21:26.000000000 +0100
8e5b1df
@@ -1752,7 +1752,6 @@ dnl
8e5b1df
 : ${mansectsu='8'}
8e5b1df
 : ${mansectform='5'}
8e5b1df
 
8e5b1df
-AC_SUBST(LIBAUDIT)
8e5b1df
 if test "$with_audit" = "yes"; then
8e5b1df
 	# See if we have the audit library
8e5b1df
         AC_CHECK_HEADER(libaudit.h, [audit_header="yes"], [audit_header="no"])
8e5b1df
@@ -1770,6 +1769,8 @@ if test "$with_audit" = "yes"; then
8e5b1df
 	fi
8e5b1df
 fi
8e5b1df
 
8e5b1df
+AC_SUBST(LIBAUDIT)
8e5b1df
+
8e5b1df
 dnl
8e5b1df
 dnl Add in any libpaths or libraries specified via configure
8e5b1df
 dnl
8e5b1df
diff -up sudo-1.7.2p2/Makefile.in.libaudit sudo-1.7.2p2/Makefile.in
8e5b1df
--- sudo-1.7.2p2/Makefile.in.libaudit	2010-02-10 16:26:06.000000000 +0100
8e5b1df
+++ sudo-1.7.2p2/Makefile.in	2010-02-10 16:26:40.000000000 +0100
8e5b1df
@@ -44,7 +44,7 @@ INSTALL = $(SHELL) $(srcdir)/install-sh 
8e5b1df
 # Libraries
8e5b1df
 LIBS = @LIBS@
8e5b1df
 NET_LIBS = @NET_LIBS@
8e5b1df
-SUDO_LIBS = @SUDO_LIBS@ @AFS_LIBS@ @GETGROUPS_LIB@ $(LIBS) $(NET_LIBS)
8e5b1df
+SUDO_LIBS = @SUDO_LIBS@ @AFS_LIBS@ @GETGROUPS_LIB@ @LIBAUDIT@ $(LIBS) $(NET_LIBS)
8e5b1df
 
8e5b1df
 # C preprocessor flags
8e5b1df
 CPPFLAGS = -I. -I$(srcdir) @CPPFLAGS@