configure: Move terminfo check next to readline check
authorMarkus Armbruster <armbru@pond.sub.org>
Tue, 29 Dec 2020 08:56:59 +0000 (09:56 +0100)
committerMarkus Armbruster <armbru@pond.sub.org>
Sun, 17 Jan 2021 20:24:28 +0000 (21:24 +0100)
Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
configure.ac

index 933bc1ee4b6a5569c688bb1196f74c2234d664d4..46f1859f364d29d129f590ee3553a8b0860fc21a 100644 (file)
@@ -84,6 +84,8 @@ LIBS="$LIBS_SOCKETS $LIBS"
 AX_LIB_SOCKET_NSL
 LIBS_server="$LIBS"
 MY_WITH_READLINE
+MY_WITH_TERMINFO
+LIBS_client="$LIBS"
 
 
 ### Checks for header files
@@ -222,9 +224,6 @@ POSIX)      AC_DEFINE([EMPTH_POSIX], 1, [Define to use POSIX threads]) ;;
 Windows) AC_DEFINE([EMPTH_W32], 1, [Define to use Windows threads]) ;;
 esac
 
-MY_WITH_TERMINFO
-LIBS_client="$LIBS"
-
 
 ### Output