diff --git a/src/racket/configure.ac b/src/racket/configure.ac index 861fce62ca..cf2256881c 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