httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <dgau...@arctic.org>
Subject Re: [PATCH] Don't encourage sloppy configuring.
Date Wed, 18 Mar 1998 19:14:29 GMT
bail.  There's a patch in the bugdb from someone who added a --help option
to configure.

Dean

On Wed, 18 Mar 1998, Jim Jagielski wrote:

> 0
> 
> I'm not sure which is better, to bail or just ignore...
> 
> Ben Hyde wrote:
> > 
> > Oh the poor innocent soul typed:
> >    > ./Configure --help
> >    Ignoring command line option '--help'
> >    Using config file: Configuration
> >    Creating Makefile
> >    ...
> > Ouch.
> > 
> > Now it does:
> >    > ./Configure --help
> >    ERROR: Bad command line option '--help'
> >      Please read the file INSTALL.
> >    >
> > 
> > ---
> > > cvs diff -u Configure
> > Index: Configure
> > ===================================================================
> > RCS file: /cvs/apache-1.3/src/Configure,v
> > retrieving revision 1.212
> > diff -u -r1.212 Configure
> > --- Configure	1998/03/17 16:08:44	1.212
> > +++ Configure	1998/03/18 18:27:55
> > @@ -101,8 +101,9 @@
> >        exit 1
> >      fi
> >    else
> > -    echo "Ignoring command line option '$1'"
> > -    shift 1
> > +    echo "ERROR: Bad command line option '$1'"
> > +    echo "  Please read the file INSTALL."
> > +    exit 1
> >    fi
> >  done
> >  if [ ! -r $file ]; then
> > 
> 
> 
> -- 
> ===========================================================================
>    Jim Jagielski   |||   jim@jaguNET.com   |||   http://www.jaguNET.com/
>             "That's no ordinary rabbit... that's the most foul,
>             cruel and bad-tempered rodent you ever laid eyes on"
> 


Mime
View raw message