Loading acinclude.m4 +19 −5 Original line number Diff line number Diff line Loading @@ -181,10 +181,12 @@ AC_DEFUN([CURL_CHECK_HEADER_WINLDAP], [ AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([ #undef inline #ifdef HAVE_WINDOWS_H #ifndef WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN #endif #include <windows.h> #endif #include <winldap.h> ],[ #ifdef __CYGWIN__ Loading Loading @@ -219,10 +221,12 @@ AC_DEFUN([CURL_CHECK_HEADER_WINBER], [ AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([ #undef inline #ifdef HAVE_WINDOWS_H #ifndef WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN #endif #include <windows.h> #endif #include <winldap.h> #include <winber.h> ],[ Loading Loading @@ -266,11 +270,13 @@ AC_DEFUN([CURL_CHECK_HEADER_LBER], [ #endif #include <windows.h> #else #include <stddef.h> #ifdef HAVE_SYS_TYPES_H #include <sys/types.h> #endif #endif #ifndef NULL #define NULL (void *)0 #endif #include <lber.h> ],[ BerValue *bvp = NULL; Loading @@ -296,11 +302,13 @@ AC_DEFUN([CURL_CHECK_HEADER_LBER], [ #endif #include <windows.h> #else #include <stddef.h> #ifdef HAVE_SYS_TYPES_H #include <sys/types.h> #endif #endif #ifndef NULL #define NULL (void *)0 #endif #ifndef LDAP_DEPRECATED #define LDAP_DEPRECATED 1 #endif Loading Loading @@ -436,11 +444,13 @@ AC_DEFUN([CURL_CHECK_HEADER_LDAPSSL], [ #endif #include <windows.h> #else #include <stddef.h> #ifdef HAVE_SYS_TYPES_H #include <sys/types.h> #endif #endif #ifndef NULL #define NULL (void *)0 #endif #ifndef LDAP_DEPRECATED #define LDAP_DEPRECATED 1 #endif Loading Loading @@ -498,11 +508,13 @@ AC_DEFUN([CURL_CHECK_LIBS_LDAP], [ #endif #include <windows.h> #else #include <stddef.h> #ifdef HAVE_SYS_TYPES_H #include <sys/types.h> #endif #endif #ifndef NULL #define NULL (void *)0 #endif #ifndef LDAP_DEPRECATED #define LDAP_DEPRECATED 1 #endif Loading Loading @@ -1689,10 +1701,12 @@ dnl AC_DEFUN([CURL_CHECK_WORKING_RESOLVER],[ AC_MSG_CHECKING([if "localhost" resolves]) AC_TRY_RUN([ #include <stddef.h> #include <string.h> #include <sys/types.h> #include <netdb.h> #ifndef NULL #define NULL (void *)0 #endif int main () { Loading Loading
acinclude.m4 +19 −5 Original line number Diff line number Diff line Loading @@ -181,10 +181,12 @@ AC_DEFUN([CURL_CHECK_HEADER_WINLDAP], [ AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([ #undef inline #ifdef HAVE_WINDOWS_H #ifndef WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN #endif #include <windows.h> #endif #include <winldap.h> ],[ #ifdef __CYGWIN__ Loading Loading @@ -219,10 +221,12 @@ AC_DEFUN([CURL_CHECK_HEADER_WINBER], [ AC_COMPILE_IFELSE([ AC_LANG_PROGRAM([ #undef inline #ifdef HAVE_WINDOWS_H #ifndef WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN #endif #include <windows.h> #endif #include <winldap.h> #include <winber.h> ],[ Loading Loading @@ -266,11 +270,13 @@ AC_DEFUN([CURL_CHECK_HEADER_LBER], [ #endif #include <windows.h> #else #include <stddef.h> #ifdef HAVE_SYS_TYPES_H #include <sys/types.h> #endif #endif #ifndef NULL #define NULL (void *)0 #endif #include <lber.h> ],[ BerValue *bvp = NULL; Loading @@ -296,11 +302,13 @@ AC_DEFUN([CURL_CHECK_HEADER_LBER], [ #endif #include <windows.h> #else #include <stddef.h> #ifdef HAVE_SYS_TYPES_H #include <sys/types.h> #endif #endif #ifndef NULL #define NULL (void *)0 #endif #ifndef LDAP_DEPRECATED #define LDAP_DEPRECATED 1 #endif Loading Loading @@ -436,11 +444,13 @@ AC_DEFUN([CURL_CHECK_HEADER_LDAPSSL], [ #endif #include <windows.h> #else #include <stddef.h> #ifdef HAVE_SYS_TYPES_H #include <sys/types.h> #endif #endif #ifndef NULL #define NULL (void *)0 #endif #ifndef LDAP_DEPRECATED #define LDAP_DEPRECATED 1 #endif Loading Loading @@ -498,11 +508,13 @@ AC_DEFUN([CURL_CHECK_LIBS_LDAP], [ #endif #include <windows.h> #else #include <stddef.h> #ifdef HAVE_SYS_TYPES_H #include <sys/types.h> #endif #endif #ifndef NULL #define NULL (void *)0 #endif #ifndef LDAP_DEPRECATED #define LDAP_DEPRECATED 1 #endif Loading Loading @@ -1689,10 +1701,12 @@ dnl AC_DEFUN([CURL_CHECK_WORKING_RESOLVER],[ AC_MSG_CHECKING([if "localhost" resolves]) AC_TRY_RUN([ #include <stddef.h> #include <string.h> #include <sys/types.h> #include <netdb.h> #ifndef NULL #define NULL (void *)0 #endif int main () { Loading