mirror of
https://github.com/kanjitalk755/macemu.git
synced 2024-12-25 02:29:49 +00:00
Remove TYPE_SOCKLEN_T check as it was merged in main configure script already.
This commit is contained in:
parent
9cc4185fa2
commit
5be5714a9e
@ -26,21 +26,3 @@ fi
|
|||||||
AC_SUBST(GNOMEUI_CFLAGS)
|
AC_SUBST(GNOMEUI_CFLAGS)
|
||||||
AC_SUBST(GNOMEUI_LIBS)
|
AC_SUBST(GNOMEUI_LIBS)
|
||||||
])
|
])
|
||||||
|
|
||||||
|
|
||||||
dnl Check for socklen_t type
|
|
||||||
|
|
||||||
AC_DEFUN(TYPE_SOCKLEN_T,
|
|
||||||
[AC_REQUIRE([AC_HEADER_STDC])dnl
|
|
||||||
AC_MSG_CHECKING(for socklen_t)
|
|
||||||
AC_CACHE_VAL(ac_cv_type_socklen_t,
|
|
||||||
[AC_EGREP_CPP(dnl
|
|
||||||
changequote(<<,>>)dnl
|
|
||||||
<<(^|[^a-zA-Z_0-9])socklen_t[^a-zA-Z_0-9]>>dnl
|
|
||||||
changequote([,]), [#include <sys/types.h>
|
|
||||||
#include <sys/socket.h>], ac_cv_type_socklen_t=yes, ac_cv_type_socklen_t=no)])dnl
|
|
||||||
AC_MSG_RESULT($ac_cv_type_socklen_t)
|
|
||||||
if test $ac_cv_type_socklen_t = no; then
|
|
||||||
AC_DEFINE(socklen_t, int)
|
|
||||||
fi
|
|
||||||
])
|
|
||||||
|
Loading…
Reference in New Issue
Block a user