diff --git a/acinclude.m4 b/acinclude.m4 index 27319ddbae..f7fe067a59 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -224,7 +224,7 @@ AC_DEFUN([CURL_CHECK_HEADER_WINLDAP], [ #endif #include ],[ -#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 #include ],[ -#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 d1755bb14c..462e3cd1af 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 d4fb45c86b..63bf9bb042 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 ;; *)