Re: [AD] allegro-config version patch |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On 2002-04-29, Vincent Penquerc'h <Vincent.Penquerch@xxxxxxxxxx> wrote:
> > > if test "$echo_libs" = "yes"; then
> > > + lib_base_name=$prefix/lib/lib$lib_type-$optarg
> > > + if test ! -f ${lib_base_name}.so; then
> > > + if test ! -f ${lib_base_name}.a; then
> > > + echo "${lib_base_name}.[so|a] not found"
> > > + exit 1
> > > + fi
> > > + fi
> >
> > I got rid of this bit (doesn't work and unnecessary).
>
> What exactly ?
> Seemed to work for me. Unless I changed it after testing :)
If "--version=" was not the last option (and I think even if it was),
$optarg would not (always) contain what you expect. Since the linker
would barf later anyway, I just deleted it :-) It also lets you do
things like try "make -n" without having the libraries on your system
(maybe it worked before anyway, I dunno :-)