This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
[patch] --without-x
- From: Nathanael Nerode <neroden at doctormoo dot dyndns dot org>
- To: gcc-patches at gcc dot gnu dot org, gdb-patches at sources dot redhat dot com,binutils at sources dot redhat dot com
- Date: Mon, 1 Jul 2002 17:48:45 -0400
- Subject: [patch] --without-x
Toplevel configure.in 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.
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