]> andersk Git - openssh.git/blobdiff - configure.ac
- (tim) [configure.ac] corrections to libedit tests. Report and patches
[openssh.git] / configure.ac
index 5eec34dc126a1028c6884234fbc112223f2cb59d..6ad8ba222716262adebb6582a549798a756d928a 100644 (file)
@@ -1024,15 +1024,16 @@ AC_ARG_WITH(libedit,
                        [ -lcurses ]
                )
                AC_MSG_CHECKING(if libedit version is compatible)
-               AC_TRY_COMPILE([#include <histedit.h>],
-                   [
+               AC_COMPILE_IFELSE(
+                   [AC_LANG_SOURCE([[
+#include <histedit.h>
 int main(void)
 {
        int i = H_SETSIZE;
        el_init("", NULL, NULL, NULL);
        exit(0);
 }
-                   ],
+                   ]])],
                    [ AC_MSG_RESULT(yes) ],
                    [ AC_MSG_RESULT(no)
                      AC_MSG_ERROR(libedit version is not compatible) ]
@@ -1066,6 +1067,7 @@ AC_ARG_WITH(audit,
                AC_DEFINE(SSH_AUDIT_EVENTS, [], Use audit debugging module)
                ;;
          no)
+               AC_MSG_RESULT(no)
                ;;
          *)
                AC_MSG_ERROR([Unknown audit module $withval])
This page took 0.03323 seconds and 4 git commands to generate.