David Cantrell <[EMAIL PROTECTED]> writes:

> While working on parted-1.8.3, I'm hitting a problem with the configure
> script.  After bootstrapping the tree, a plain './configure' run fails
> to find libreadline.  I tracked down the problem to an incorrect linker
> flag used in the test:
>
>       -Wl,--as-needed
>
> That's added to LDFLAGS early in the configure script run.  Here's the
> test line that is printed to the terminal:
>
>       checking for flag to ignore unused libraries... -Wl,--as-needed
>
> How do we disable this test?  I know very little about autoconf and
> automake and don't know where to look.  Remove that from the LDFLAGS
> lets it compile correctly, but whatever the correct course of action is
> for autoconf/automake is what I want to do.

On Debian, we're supporting the --as-needed usage since it reduces the
dependency chain a lot.

I think that it might be optional.

-- 
        O T A V I O    S A L V A D O R
---------------------------------------------
 E-mail: [EMAIL PROTECTED]      UIN: 5906116
 GNU/Linux User: 239058     GPG ID: 49A5F855
 Home Page: http://otavio.ossystems.com.br
---------------------------------------------
"Microsoft sells you Windows ... Linux gives
 you the whole house."

_______________________________________________
parted-devel mailing list
[email protected]
http://lists.alioth.debian.org/mailman/listinfo/parted-devel

Reply via email to