This is the mail archive of the insight@sources.redhat.com mailing list for the Insight project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] configure --without-x should work


I've been told that the insight people are the ones to ask about this
patch to top level configure.in...

This deals with a little problem I discovered after autoconfiscating.
Since in my brave new autoconfiscated universe, dependencies in the 
Makefile will be *real* dependencies, stuff breaks until I change this.

What this does is to add to the behavior when --without-x is specified.  
tix and itcl won't behave properly without tk, let alone X, and the
dependencies of gdb on tk & company (which are optional) won't be properly 
satisfied without tk being present.

--without-x is currently broken (doesn't build), so this is no loss.

I'd like review from someone who knows something about the whole with-x/
without-x thing.

Index: configure.in
===================================================================
RCS file: /cvs/gcc/gcc/configure.in,v
retrieving revision 1.164
diff -u -r1.164 configure.in
--- configure.in	1 Jul 2002 21:01:48 -0000	1.164
+++ configure.in	1 Jul 2002 21:06:01 -0000
@@ -175,7 +175,11 @@
 
 case ${with_x} in
   yes | "") ;; # the default value for this tree is that X11 is available
-  no)  skipdirs="${skipdirs} tk libgui" ;;
+  no)
+    skipdirs="${skipdirs} tk tix itcl libgui"
+    # We won't be able to build gdbtk without X.
+    enable_gdbtk=no 
+    ;;
   *)  echo "*** bad value \"${with_x}\" for -with-x flag; ignored" 1>&2 ;;
 esac
 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]