test for fifth getsockopt() argument type using C++ compiler, not C one (blind fix for HP-UX buildbot failure)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -6615,6 +6615,7 @@ if test "$wxUSE_SOCKETS" = "yes" ; then
|
||||
AC_CACHE_CHECK([what is the type of the fifth argument of getsockopt],
|
||||
wx_cv_type_getsockopt5,
|
||||
[
|
||||
AC_LANG_PUSH(C++)
|
||||
AC_TRY_COMPILE(
|
||||
[
|
||||
#include <sys/types.h>
|
||||
@@ -6658,6 +6659,7 @@ if test "$wxUSE_SOCKETS" = "yes" ; then
|
||||
AC_LANG_POP()
|
||||
]
|
||||
)
|
||||
AC_LANG_POP()
|
||||
])
|
||||
|
||||
if test "$wx_cv_type_getsockopt5" = "unknown"; then
|
||||
|
Reference in New Issue
Block a user