[patch] conditionalize BloxGTK/Blox install

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[patch] conditionalize BloxGTK/Blox install

S11001001
smalltalk--backstage--2.2--patch-45
     conditionalize BloxGTK/Blox install

Patch also attached.  I don't know that this is complete, because I am
currently building --without-tcl, whereupon make install (but not make
or make check) fails because I don't have Tcl/Tk.  I'll look into that
later, but would like to know that I'm on the right track with this patch.

--
;;; Stephen Compall ** http://scompall.nocandysw.com/blog **
But you know how reluctant paranormal phenomena are to reveal
themselves when skeptics are present. --Robert Sheaffer, SkI 9/2003


2007-07-13  Stephen Compall  <[hidden email]>

        * configure.ac: Conditionalize BloxGTK install on whether GTK is
        enabled, and Blox on whether BloxTK or BloxGTK will be installed.


--- orig/configure.ac
+++ mod/configure.ac
@@ -241,12 +241,10 @@
 GST_HAVE_READLINE
 
 GST_PACKAGE_PREFIX([packages])
-GST_PACKAGE([BloxGTK], [blox/gtk])
 GST_PACKAGE([BloxTK], [blox/tk],
    [GST_HAVE_TCLTK],
    [gst_cv_tcltk_libs],
    [Makefile], [blox-tk.la])
-GST_PACKAGE([Blox], [blox/tests], , , [package.xml])
 GST_PACKAGE([Browser], [browser])
 GST_PACKAGE([Continuations], [continuations])
 GST_PACKAGE([DB], [db])
@@ -274,6 +272,14 @@
   fi],
   [enable_gtk],
   [Makefile], [gst-gtk.la])
+GST_PACKAGE([BloxGTK], [blox/gtk],, [enable_gtk])
+GST_PACKAGE([Blox], [blox/tests],
+    [enable_blox=no
+     case x"$enable_gtk" in
+ xno|xnot\ found) ;; *) enable_blox=yes ;; esac
+     case x"$gst_cv_tcltk_includes" in
+ xno|xnot\ found) ;; *) enable_blox=yes ;; esac],
+    [enable_blox], [package.xml])
 GST_PACKAGE([WebServer], [httpd])
 GST_PACKAGE([I18N], [i18n],
   [AC_CHECK_FUNCS_ONCE([nl_langinfo])




_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk
Reply | Threaded
Open this post in threaded view
|

Re: [patch] conditionalize BloxGTK/Blox install

Paolo Bonzini
Stephen Compall wrote:
> smalltalk--backstage--2.2--patch-45
>     conditionalize BloxGTK/Blox install
>
> Patch also attached.  I don't know that this is complete, because I am
> currently building --without-tcl, whereupon make install (but not make
> or make check) fails because I don't have Tcl/Tk.  I'll look into that
> later, but would like to know that I'm on the right track with this patch.

Yes.  I'm applying your patches.

Paolo


_______________________________________________
help-smalltalk mailing list
[hidden email]
http://lists.gnu.org/mailman/listinfo/help-smalltalk