You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
691 B
39 lines
691 B
--- a/configure.in
|
|
+++ b/configure.in
|
|
@@ -389,8 +389,7 @@
|
|
|
|
AC_MSG_CHECKING(abstract socket namespace)
|
|
AC_LANG_PUSH(C)
|
|
-AC_RUN_IFELSE([AC_LANG_PROGRAM(
|
|
-[[
|
|
+AC_TRY_RUN([
|
|
#include <sys/types.h>
|
|
#include <stdlib.h>
|
|
#include <string.h>
|
|
@@ -398,8 +397,8 @@
|
|
#include <sys/socket.h>
|
|
#include <sys/un.h>
|
|
#include <errno.h>
|
|
-]],
|
|
-[[
|
|
+
|
|
+int main() {
|
|
int listen_fd;
|
|
struct sockaddr_un addr;
|
|
|
|
@@ -424,9 +423,11 @@
|
|
}
|
|
else
|
|
exit (0);
|
|
-]])],
|
|
- [have_abstract_sockets=yes],
|
|
- [have_abstract_sockets=no])
|
|
+}
|
|
+],
|
|
+have_abstract_sockets=yes,
|
|
+have_abstract_sockets=no,
|
|
+have_abstract_sockets=no)
|
|
AC_LANG_POP(C)
|
|
AC_MSG_RESULT($have_abstract_sockets)
|
|
|