summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorWilliam S Fulton <wsf@fultondesigns.co.uk>2014-12-28 15:26:27 +0000
committerWilliam S Fulton <wsf@fultondesigns.co.uk>2014-12-28 15:26:27 +0000
commitd79f11501d0bdd78a038df79521ce21bf7cd9825 (patch)
treeb68651a8c9e80f8d40b78ba93a394bb763b480a3 /configure.ac
parentad5890bb46d682a13a2d05b84dd833c0a61c4a11 (diff)
downloadswig-d79f11501d0bdd78a038df79521ce21bf7cd9825.tar.gz
Don't delete checked in files with 'make distclean'
Occurs when ruby is not detected. Fixes #290.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index ff4ce0310..24d66dc13 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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])
# First, check for "--without-ruby" or "--with-ruby=no".
+RUBYSO=$SO
if test x"${RUBYBIN}" = xno -o x"${with_alllang}" = xno ; then
AC_MSG_NOTICE([Disabling Ruby])
RUBY=