Don't add -lreadline to LIBS
authorAlan T. DeKok <aland@freeradius.org>
Wed, 15 Oct 2008 13:25:46 +0000 (15:25 +0200)
committerAlan T. DeKok <aland@freeradius.org>
Wed, 15 Oct 2008 13:25:46 +0000 (15:25 +0200)
aclocal.m4

index 3a71f00..82277d9 100644 (file)
@@ -141,8 +141,8 @@ AC_DEFUN([AC_LIB_READLINE], [
     done
     if test -z "$ac_cv_lib_readline"; then
       ac_cv_lib_readline="no"
-      LIBS=$ORIG_LIBS
     fi
+    LIBS=$ORIG_LIBS
   ])
 
   if test "$ac_cv_lib_readline" != "no"; then