Fix an issue with --with-external-scirenderer 64/11264/1
Sylvestre Ledru [Fri, 12 Apr 2013 08:35:47 +0000 (10:35 +0200)]
Change-Id: I89318e4003cc50212771e512204cc2b9b627df9f

scilab/configure
scilab/configure.ac

index c10c608..3613fbe 100755 (executable)
@@ -10073,7 +10073,7 @@ if test "${with_external_scirenderer+set}" = set; then :
 fi
 
 
- if "$with_external_scirenderer" = yes; then
+ if test "$with_external_scirenderer" = yes; then
   EXTERNAL_SCIRENDERER_TRUE=
   EXTERNAL_SCIRENDERER_FALSE='#'
 else
index b035836..db4e7a2 100644 (file)
@@ -751,7 +751,7 @@ AC_HDF5()
 AC_ARG_WITH(external-scirenderer,
     AC_HELP_STRING([--with-external-scirenderer],[Disable the usage of the internal copy of scirenderer. Intended for packaging of Scilab]))
 
-AM_CONDITIONAL(EXTERNAL_SCIRENDERER, "$with_external_scirenderer" = yes)
+AM_CONDITIONAL(EXTERNAL_SCIRENDERER, test "$with_external_scirenderer" = yes)
 
 
 #################