public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* configure --with-PACKAGE=no not handled correctly
@ 1998-02-18  2:42 R. Ganesan
  1998-03-23 16:45 ` Jeffrey A Law
  0 siblings, 1 reply; 2+ messages in thread
From: R. Ganesan @ 1998-02-18  2:42 UTC (permalink / raw)
  To: egcs

Hi,

This one had me stumped for some time. I am surprised that no one came
across this one before. configure in gcc subdirectory does not handle
--with-PACKAGE=no (or equivalently --without-PACKAGE) correctly. I came
across it while trying to build egcs without stabs support on UnixWare.
I have provided the fix below. As a side note, egcs enables stabs by default
on SVR4 systems but stabs requires gas. This needs to be fixed.

Ganesan

--
Wed Feb 18 10:14:13 1998  R. Ganesan  <rganesan@novell.com>

	* configure.in: handle with-PACKAGE=no correctly

*** egcs-fixed/gcc/configure.in	Wed Feb 18 10:35:22 1998
--- egcs-980214/gcc/configure.in	Wed Feb 18 10:34:17 1998
***************
*** 34,58 ****
  # With GNU ld
  AC_ARG_WITH(gnu-ld,
  [  --with-gnu-ld           arrange to work with GNU ld.],
! gnu_ld="$with_gnu_ld",
  gnu_ld=no)
  
  # With GNU as
  AC_ARG_WITH(gnu-as,
  [  --with-gnu-as           arrange to work with GNU as.],
! gas="$with_gnu_as",
  gas=no)
  
  # With stabs
  AC_ARG_WITH(stabs,
  [  --with-stabs            arrange to use stabs instead of host debug format.],
! stabs="$with_stabs",
  stabs=no)
  
  # With ELF
  AC_ARG_WITH(elf,
  [  --with-elf              arrange to use ELF instead of host debug format.],
! elf="$with_elf",
  elf=no)
  
  # Specify the local prefix
--- 34,58 ----
  # With GNU ld
  AC_ARG_WITH(gnu-ld,
  [  --with-gnu-ld           arrange to work with GNU ld.],
! gnu_ld=yes,
  gnu_ld=no)
  
  # With GNU as
  AC_ARG_WITH(gnu-as,
  [  --with-gnu-as           arrange to work with GNU as.],
! gas=yes,
  gas=no)
  
  # With stabs
  AC_ARG_WITH(stabs,
  [  --with-stabs            arrange to use stabs instead of host debug format.],
! stabs=yes,
  stabs=no)
  
  # With ELF
  AC_ARG_WITH(elf,
  [  --with-elf              arrange to use ELF instead of host debug format.],
! elf=yes,
  elf=no)
  
  # Specify the local prefix

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: configure --with-PACKAGE=no not handled correctly
  1998-02-18  2:42 configure --with-PACKAGE=no not handled correctly R. Ganesan
@ 1998-03-23 16:45 ` Jeffrey A Law
  0 siblings, 0 replies; 2+ messages in thread
From: Jeffrey A Law @ 1998-03-23 16:45 UTC (permalink / raw)
  To: R. Ganesan; +Cc: egcs

  In message <ueaafbpo5bd.fsf@sonali.blr.novell.com>you write:
  > 
  > Hi,
  > 
  > This one had me stumped for some time. I am surprised that no one came
  > across this one before. configure in gcc subdirectory does not handle
  > --with-PACKAGE=no (or equivalently --without-PACKAGE) correctly. I came
  > across it while trying to build egcs without stabs support on UnixWare.
  > I have provided the fix below. As a side note, egcs enables stabs by defaul
  > t
  > on SVR4 systems but stabs requires gas. This needs to be fixed.
  > 
  > Ganesan
  > 
  > --
  > Wed Feb 18 10:14:13 1998  R. Ganesan  <rganesan@novell.com>
  > 
  > 	* configure.in: handle with-PACKAGE=no correctly
Thanks.  I've installed this patch.
jeff

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1998-03-23 16:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-02-18  2:42 configure --with-PACKAGE=no not handled correctly R. Ganesan
1998-03-23 16:45 ` Jeffrey A Law

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).