configure.in patch for --enable-intermodule

Nathanael Nerode neroden@twcny.rr.com
Fri Aug 8 04:19:00 GMT 2003


>2003-08-07  Kelley Cook  <kelleycook@wideopenwest.com>
>
>        * configure.in (intermodule): Make switch test more portable.
>        * configure: Regenerate.
>
>--- configure.in.orig   2003-08-07 16:23:20.547263500 -0400
>+++ configure.in        2003-08-07 12:35:54.729476500 -0400
>@@ -579,10 +579,11 @@
> # Build with intermodule optimisations
> AC_ARG_ENABLE(intermodule,
> [  --enable-intermodule    build the compiler in one step],
>-[case "${enable_intermodule}" in
>-  yes) onestep=-onestep : ;;
>-  *) onestep= : ;;
>-esac])
>+[case ${enable_intermodule} in
>+  yes) onestep="-onestep";;
>+  *) onestep="";;
>+esac],
>+[onestep=""])
> AC_SUBST(onestep)
> 
> # -------------------------

This looks right.  I'd like to know what the :s were doing there in the 
first place before I approve it, though. *growl*  Geoff, what were you 
thinking?  ;-)

-- 
Nathanael Nerode  <neroden at gcc.gnu.org>
http://home.twcny.rr.com/nerode/neroden/fdl.html



More information about the Gcc-patches mailing list