This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: install libiberty headers, round two


On Sat, Mar 24, 2001 at 11:23:13PM -0300, Alexandre Oliva wrote:
> On Mar 24, 2001, Phil Edwards <pedwards@disaster.jaj.com> wrote:
> 
> > +   case "$enable_install_libiberty" in
> > +     yes) 
> > +       target_header_dir=${prefix}/include/libiberty
> 
> How 'bout `yes | ""', so that `--enable-install-libiberty=' becomes
> equivalent to `--enable-install-libiberty', not
> `--disable-install-libiberty'?

Ouch.  Who would put the = without an argument??  :-)

I'll do the switch on x"$enable_install_libiberty" instead, and use 
    xyes|x)
    xno)
    *)
since I've seen Odd Things happen with empty strings as case choices.

Phil

-- 
pedwards at disaster dot jaj dot com  |  pme at sources dot redhat dot com
devphil at several other less interesting addresses in various dot domains
The gods do not protect fools.  Fools are protected by more capable fools.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]