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@gmail.com>
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
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)