[Parted-commits] GNU Parted Official Repository: Changes to
'stable-1.8.x'
David Cantrell
dcantrell-guest at alioth.debian.org
Wed Mar 14 19:57:40 CET 2007
configure.ac | 12 ++++++++++++
lib/.gitignore | 7 +++++++
2 files changed, 19 insertions(+), 0 deletions(-)
New commits:
commit 8c2e29fefa1ce459764b694c68f495034fff3a88
Author: David Cantrell <dcantrell at redhat.com>
Date: Wed Mar 14 14:55:49 2007 -0400
libreadline is a problematic library. Autoconf adds a block to the generated configure script that checks to see if we should be passing the --as-needed flag to ld(1). There are portability reasons this code exists (best I can figure), but it presents a problem when we scan for libreadline.
libreadline specifically has unresolved symbols on at least Fedora and RHEL. Why? Well, the developer can choose to provide libtermcap, libncurses, or libncursesw (wide-char support) at compile time which all satisfy the curses API dependency that libreadline has. When the parted configure script runs, it fails on readline because the --as-needed flag causes the linker to not include libncurses even though we already have that on the link line.
My solution is to remove the --as-needed flag when we scan for libreadline and then later check for rl_completion_matches() in libreadline.
commit ac91d97b31643951836c8fdc071be88c177df186
Author: David Cantrell <dcantrell at redhat.com>
Date: Tue Mar 13 23:24:17 2007 -0400
Ignore more files.
More information about the Parted-commits
mailing list