aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--acinclude.m44
-rw-r--r--ares/configure.ac2
-rw-r--r--configure.ac2
3 files changed, 4 insertions, 4 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 27319ddba..f7fe067a5 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -224,7 +224,7 @@ AC_DEFUN([CURL_CHECK_HEADER_WINLDAP], [
#endif
#include <winldap.h>
],[
-#ifdef __CYGWIN__
+#if defined(__CYGWIN__) || defined(__CEGCC__)
HAVE_WINLDAP_H shall not be defined.
#else
LDAP *ldp = ldap_init("dummy", LDAP_PORT);
@@ -265,7 +265,7 @@ AC_DEFUN([CURL_CHECK_HEADER_WINBER], [
#include <winldap.h>
#include <winber.h>
],[
-#ifdef __CYGWIN__
+#if defined(__CYGWIN__) || defined(__CEGCC__)
HAVE_WINBER_H shall not be defined.
#else
BERVAL *bvp = NULL;
diff --git a/ares/configure.ac b/ares/configure.ac
index d1755bb14..462e3cd1a 100644
--- a/ares/configure.ac
+++ b/ares/configure.ac
@@ -106,7 +106,7 @@ AC_PROG_LIBTOOL
AC_MSG_CHECKING([if we need -no-undefined])
case $host in
- *-*-cygwin | *-*-mingw* | *-*-pw32*)
+ *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
need_no_undefined=yes
;;
*)
diff --git a/configure.ac b/configure.ac
index d4fb45c86..63bf9bb04 100644
--- a/configure.ac
+++ b/configure.ac
@@ -151,7 +151,7 @@ AC_PROG_LIBTOOL
AC_MSG_CHECKING([if we need -no-undefined])
case $host in
- *-*-cygwin | *-*-mingw* | *-*-pw32*)
+ *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
need_no_undefined=yes
;;
*)