Avoid compiling plot if the source directory is missing

This commit is contained in:
Eli Barzilay 2011-02-02 16:09:06 -05:00
parent 2935170eff
commit e91f243b64

View File

@ -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