This is the mail archive of the mailing list for the binutils 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] --without-x

Toplevel tweak.
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, so this is no loss.

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

RCS file: /cvs/gcc/gcc/,v
retrieving revision 1.164
diff -u -r1.164
---	1 Jul 2002 21:01:48 -0000	1.164
+++	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 ;;

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