* [patch] configure --without-x should work
@ 2002-07-03 13:12 Nathanael Nerode
2002-07-03 13:27 ` Keith Seitz
0 siblings, 1 reply; 4+ messages in thread
From: Nathanael Nerode @ 2002-07-03 13:12 UTC (permalink / raw)
To: insight
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [patch] configure --without-x should work
2002-07-03 13:12 [patch] configure --without-x should work Nathanael Nerode
@ 2002-07-03 13:27 ` Keith Seitz
2002-07-03 13:56 ` Nathanael Nerode
0 siblings, 1 reply; 4+ messages in thread
From: Keith Seitz @ 2002-07-03 13:27 UTC (permalink / raw)
To: Nathanael Nerode; +Cc: insight
On Wed, 3 Jul 2002, Nathanael Nerode wrote:
> --without-x is currently broken (doesn't build), so this is no loss.
Agreed.
> I'd like review from someone who knows something about the whole with-x/
> without-x thing.
I think this is fine. It makes perfect sense. There is only one really,
really, really minor point worth mentioning, though: cygwin. On cygwin, it
is possible to have X but not want to build with it, i.e., use the default
cygwin builds, which link against Microsoft DLL import libraries.
However, I don't think that any of our configure machinery would work in
this case, anyway, so it's still no loss. :-)
Keith
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [patch] configure --without-x should work
2002-07-03 13:27 ` Keith Seitz
@ 2002-07-03 13:56 ` Nathanael Nerode
2002-07-03 14:01 ` DJ Delorie
0 siblings, 1 reply; 4+ messages in thread
From: Nathanael Nerode @ 2002-07-03 13:56 UTC (permalink / raw)
To: Keith Seitz; +Cc: insight, dj
On Wed, Jul 03, 2002 at 01:27:10PM -0700, Keith Seitz wrote:
> On Wed, 3 Jul 2002, Nathanael Nerode wrote:
>
> > --without-x is currently broken (doesn't build), so this is no loss.
>
> Agreed.
>
> > I'd like review from someone who knows something about the whole with-x/
> > without-x thing.
>
> I think this is fine. It makes perfect sense. There is only one really,
> really, really minor point worth mentioning, though: cygwin. On cygwin, it
> is possible to have X but not want to build with it, i.e., use the default
> cygwin builds, which link against Microsoft DLL import libraries.
>
> However, I don't think that any of our configure machinery would work in
> this case, anyway, so it's still no loss. :-)
Well, I was told that if it *does* use our configure machinery, it
uses it with --with-x ! I'd love to understand how *that* works, but
I'd rather put it off until after autoconfiscation.
Soooo, can someone approve me? ;-)
--Nathanael
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: configure --without-x should work
2002-07-03 13:56 ` Nathanael Nerode
@ 2002-07-03 14:01 ` DJ Delorie
0 siblings, 0 replies; 4+ messages in thread
From: DJ Delorie @ 2002-07-03 14:01 UTC (permalink / raw)
To: neroden; +Cc: keiths, insight
> Well, I was told that if it *does* use our configure machinery, it
> uses it with --with-x ! I'd love to understand how *that* works, but
> I'd rather put it off until after autoconfiscation.
>
> Soooo, can someone approve me? ;-)
Keith, I'll approve it on the gcc list if you say it's OK...
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-07-03 21:01 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-07-03 13:12 [patch] configure --without-x should work Nathanael Nerode
2002-07-03 13:27 ` Keith Seitz
2002-07-03 13:56 ` Nathanael Nerode
2002-07-03 14:01 ` DJ Delorie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).