From 9fd7e883292dab58f3c209f0ec6a8cd11e52075c Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Wed, 8 Jul 2009 16:59:12 -0400 Subject: [PATCH] quota-fs: Another compiling fix (for older autotools?) --HG-- branch : HEAD --- src/plugins/quota/Makefile.am | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/plugins/quota/Makefile.am b/src/plugins/quota/Makefile.am index 0c5b475257..b2bdf57526 100644 --- a/src/plugins/quota/Makefile.am +++ b/src/plugins/quota/Makefile.am @@ -36,7 +36,9 @@ RQUOTA_XDR = rquota_xdr.c #RQUOTA_X = /usr/include/rpcsvc/rquota.x RQUOTA_X = $(srcdir)/rquota.x rquota_xdr.c: Makefile $(RQUOTA_X) - if [ "$(srcdir)" != "$(builddir)" ]; then cp $(RQUOTA_X) $(builddir); fi + if [ "$(builddir)" != "" ] && [ "$(srcdir)" != "$(builddir)" ]; then \ + cp $(RQUOTA_X) $(builddir); \ + fi; \ (echo '#include "lib.h"'; \ echo '#include '; \ $(RPCGEN) -c $(builddir)/rquota.x | \ -- 2.47.3