From 728cf780b1a3fa457b34c40e90ea698ec6b0595e Mon Sep 17 00:00:00 2001 From: Eli Barzilay Date: Wed, 2 Feb 2011 16:09:06 -0500 Subject: [PATCH] Avoid compiling plot if the source directory is missing (cherry picked from commit e91f243b641016468b2f8a98376193f26aae2302) --- src/racket/configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/racket/configure.ac b/src/racket/configure.ac index 8b5b0978cc..2488891852 100644 --- a/src/racket/configure.ac +++ b/src/racket/configure.ac @@ -1259,7 +1259,7 @@ fi makefiles="$makefiles foreign/Makefile" ac_configure_args="$ac_configure_args$SUB_CONFIGURE_EXTRAS" -if test "${enable_plot}" = "yes" ; then +if test -d "${srcdir}/plot" && test "${enable_plot}" = "yes" ; then makefiles="$makefiles plot/Makefile" MAKE_PLOT=plot