]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
quota-fs: Another compiling fix (for older autotools?)
authorTimo Sirainen <tss@iki.fi>
Wed, 8 Jul 2009 20:59:12 +0000 (16:59 -0400)
committerTimo Sirainen <tss@iki.fi>
Wed, 8 Jul 2009 20:59:12 +0000 (16:59 -0400)
--HG--
branch : HEAD

src/plugins/quota/Makefile.am

index 0c5b475257f0a7fa8ce40b54fe1b11418e8a0033..b2bdf57526999a1e2d08c49faa2d4308d1106a0a 100644 (file)
@@ -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 <rpc/rpc.h>'; \
         $(RPCGEN) -c $(builddir)/rquota.x | \