]> git.ipfire.org Git - thirdparty/bird.git/commitdiff
Fix of the previous commit
authorOndrej Zajicek (work) <santiago@crfreenet.org>
Wed, 17 May 2017 15:30:23 +0000 (17:30 +0200)
committerOndrej Zajicek (work) <santiago@crfreenet.org>
Wed, 17 May 2017 15:30:23 +0000 (17:30 +0200)
configure.ac

index 5d36d8e29cb0db16e1270aa4768f54d140578a60..91f89edf2fe6aba519ce448b09c8976c411c97fc 100644 (file)
@@ -361,10 +361,10 @@ if test "$enable_client" = yes ; then
     [$TINFO_LIBS]
   )
 
-  AC_SEARCH_LIBS([add_history], [history],
+  AC_SEARCH_LIBS([add_history], [history readline],
     [HISTORY_LIBS="$LIBS"; LIBS=""],
     [AC_MSG_ERROR([The client requires GNU Readline library. Either install the library or use --disable-client to compile without the client.])],
-    [$READLINE_LIBS $TINFO_LIBS]
+    [$TINFO_LIBS]
   )
 
   AC_CHECK_LIB([readline], [rl_crlf],