[Parted-commits] GNU Parted Official Repository: Changes to 'master'
Jim Meyering
meyering at alioth.debian.org
Tue Jul 10 07:03:29 UTC 2007
configure.ac | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
New commits:
commit 30b73bfa856168db826a11ea09183cf24b1b550e
Author: Michael Brennan <brennan.brisad at gmail.com>
Date: Tue Jul 10 04:26:38 2007 +0200
Fix syntax error and LIBS problem in configure.ac
Make sure LIBS doesn't contain libraries that will prevent
successful compilations after libreadline has been tested.
A trailing comma generated a syntax error in the configure script.
Signed-off-by: Michael Brennan <brennan.brisad at gmail.com>
diff --git a/configure.ac b/configure.ac
index 6d1b93f..d156a56 100644
--- a/configure.ac
+++ b/configure.ac
@@ -325,7 +325,7 @@ package as well (which may be called readline-devel or something similar).
exit,
$PARTED_LIBS
)
- LIBS="$OLD_LIBS"
+ LIBS="$OLD_LIBS $PARTED_LIBS"
# See if libreadline is too old to be used.
# The readline function in Debian's libreadline5 5.0-10 fails to
@@ -357,8 +357,9 @@ Consider upgrading to version 5.2 or newer.)
if test $found_working_libreadline = yes; then
PARTED_LIBS="-lreadline $PARTED_LIBS"
- AC_DEFINE(HAVE_LIBREADLINE, 1, [have readline]),
+ AC_DEFINE(HAVE_LIBREADLINE, 1, [have readline])
fi
+ LIBS="$OLD_LIBS"
fi
AC_SUBST(PARTED_LIBS)
More information about the Parted-commits
mailing list