Avoid compiling plot if the source directory is missing
(cherry picked from commit e91f243b64
)
This commit is contained in:
parent
e0029e50a8
commit
728cf780b1
|
@ -1259,7 +1259,7 @@ fi
|
||||||
makefiles="$makefiles foreign/Makefile"
|
makefiles="$makefiles foreign/Makefile"
|
||||||
ac_configure_args="$ac_configure_args$SUB_CONFIGURE_EXTRAS"
|
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
|
makefiles="$makefiles
|
||||||
plot/Makefile"
|
plot/Makefile"
|
||||||
MAKE_PLOT=plot
|
MAKE_PLOT=plot
|
||||||
|
|
Loading…
Reference in New Issue
Block a user