Don't delete checked in files with 'make distclean'
Occurs when ruby is not detected. Fixes #290.
This commit is contained in:
parent
ad5890bb46
commit
d79f11501d
2 changed files with 2 additions and 1 deletions
|
|
@ -1096,7 +1096,7 @@ ruby_version:
|
||||||
# -----------------------------------------------------------------
|
# -----------------------------------------------------------------
|
||||||
|
|
||||||
ruby_clean:
|
ruby_clean:
|
||||||
rm -f *_wrap* *~ .~* myruby@EXEEXT@ *.pm
|
rm -f *_wrap* *~ .~* myruby@EXEEXT@
|
||||||
rm -f core @EXTRA_CLEAN@
|
rm -f core @EXTRA_CLEAN@
|
||||||
rm -f *.@OBJEXT@ *$(RUBY_SO)
|
rm -f *.@OBJEXT@ *$(RUBY_SO)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1507,6 +1507,7 @@ AC_ARG_WITH(ruby, AS_HELP_STRING([--without-ruby], [Disable Ruby])
|
||||||
AS_HELP_STRING([--with-ruby=path], [Set location of Ruby executable]),[ RUBYBIN="$withval"], [RUBYBIN=yes])
|
AS_HELP_STRING([--with-ruby=path], [Set location of Ruby executable]),[ RUBYBIN="$withval"], [RUBYBIN=yes])
|
||||||
|
|
||||||
# First, check for "--without-ruby" or "--with-ruby=no".
|
# First, check for "--without-ruby" or "--with-ruby=no".
|
||||||
|
RUBYSO=$SO
|
||||||
if test x"${RUBYBIN}" = xno -o x"${with_alllang}" = xno ; then
|
if test x"${RUBYBIN}" = xno -o x"${with_alllang}" = xno ; then
|
||||||
AC_MSG_NOTICE([Disabling Ruby])
|
AC_MSG_NOTICE([Disabling Ruby])
|
||||||
RUBY=
|
RUBY=
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue