mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-13 07:56:17 +01:00
build: fix configure arpa/nameser.h test for Solaris
https://bugzilla.gnome.org/show_bug.cgi?id=692827
This commit is contained in:
parent
5b2c87538d
commit
2f61a877d8
@ -1073,10 +1073,12 @@ AS_IF([test $glib_native_win32 = yes], [
|
|||||||
AC_SUBST(WSPIAPI_INCLUDE)
|
AC_SUBST(WSPIAPI_INCLUDE)
|
||||||
], [
|
], [
|
||||||
AC_MSG_CHECKING([if arpa/nameser_compat.h is needed])
|
AC_MSG_CHECKING([if arpa/nameser_compat.h is needed])
|
||||||
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include <arpa/nameser.h>],
|
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include <sys/types.h>
|
||||||
|
#include <arpa/nameser.h>],
|
||||||
[int qclass = C_IN;])],
|
[int qclass = C_IN;])],
|
||||||
[AC_MSG_RESULT([no])],
|
[AC_MSG_RESULT([no])],
|
||||||
[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include <arpa/nameser.h>
|
[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include <sys/types.h>
|
||||||
|
#include <arpa/nameser.h>
|
||||||
#include <arpa/nameser_compat.h>],
|
#include <arpa/nameser_compat.h>],
|
||||||
[int qclass = C_IN;])],
|
[int qclass = C_IN;])],
|
||||||
[AC_MSG_RESULT([yes])
|
[AC_MSG_RESULT([yes])
|
||||||
|
Loading…
Reference in New Issue
Block a user