Avoid compiling plot if the source directory is missing
This commit is contained in:
parent
2935170eff
commit
e91f243b64
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user