help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-smalltalk] [patch] conditionalize BloxGTK/Blox install


From: Stephen Compall
Subject: [Help-smalltalk] [patch] conditionalize BloxGTK/Blox install
Date: Fri, 13 Jul 2007 01:55:23 -0500
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.1.4) Gecko/20070509 SeaMonkey/1.1.2

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  <address@hidden>

        * 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])




reply via email to

[Prev in Thread] Current Thread [Next in Thread]