]> granicus.if.org Git - sudo/commitdiff
"cmp -s" not just cmp
authorTodd C. Miller <Todd.Miller@courtesan.com>
Sun, 2 Sep 2007 20:17:23 +0000 (20:17 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Sun, 2 Sep 2007 20:17:23 +0000 (20:17 +0000)
Add @datarootdir@ to quiet autoconf-2.61

Makefile.in

index f651fd0ac91ff15d4e0cd106b46ce7c635d36ce7..d99f7593638e76af045a6736b178f5cff599a4ae 100644 (file)
@@ -61,6 +61,7 @@ exec_prefix = @exec_prefix@
 bindir = @bindir@
 sbindir = @sbindir@
 sysconfdir = @sysconfdir@
+datarootdir = @datarootdir@
 mandir = @mandir@
 noexecdir = @NOEXECDIR@
 
@@ -200,7 +201,7 @@ sudo_noexec.la: sudo_noexec.lo
 $(devdir)/gram.c: $(srcdir)/gram.y
 @DEV@  $(YACC) -d $(srcdir)/gram.y
 @DEV@  mv -f y.tab.c gram.c
-@DEV@  if cmp y.tab.h gram.h; then rm -f y.tab.h; else mv -f y.tab.h gram.h; fi
+@DEV@  if cmp -s y.tab.h gram.h; then rm -f y.tab.h; else mv -f y.tab.h gram.h; fi
        -@true
 
 # Uncomment the lines before -@true if you intend to modify toke.l