From: Yang Tse <yangsita@gmail.com>
Date: Sat, 17 May 2008 01:20:56 +0000 (+0000)
Subject: minor change for wince-cegcc and wince-mingw32ce support
X-Git-Tag: cares-1_5_2~46
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7358db5c270c1109c5037db63145a83199ecf56b;p=curl

minor change for wince-cegcc and wince-mingw32ce support
---

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
     ;;
   *)