From: ellson Date: Thu, 29 Nov 2007 14:02:09 +0000 (+0000) Subject: configure.ac: try to harden tests for R - forcing --disable-r X-Git-Tag: LAST_LIBGRAPH~32^2~4992 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=4e341c9f0cf481da68b14655fb9d7cb23c0a3391;p=graphviz configure.ac: try to harden tests for R - forcing --disable-r graphviz.spec.in: add commented reminder about BR swig >= 1.3.33 --- diff --git a/configure.ac b/configure.ac index ce604fa62..98bc9cc01 100644 --- a/configure.ac +++ b/configure.ac @@ -1022,6 +1022,7 @@ AM_CONDITIONAL(WITH_PYTHON25, [test "x$PYTHON25" != "x"]) dnl ----------------------------------- dnl INCLUDES and LIBS for R (disabled for now - swig generated gv_r.cpp doesn't compile) +R= if test "x$SWIG" != "x"; then AC_ARG_ENABLE(r, [AC_HELP_STRING([--enable-r=no], [R language bindings])], diff --git a/graphviz.spec.in b/graphviz.spec.in index fb97f3f9c..cd3bc8fea 100644 --- a/graphviz.spec.in +++ b/graphviz.spec.in @@ -148,7 +148,7 @@ BuildRequires: gd gd-devel perl-devel DevIL-devel %endif %if "%fedora" >= "8" #define R_LANG 1 -#BuildRequires: R +#BuildRequires: R swig >= 1.3.33 %endif %if "%fedora" >= "9" %define MING 1