From: Gunter Knauf Date: Sun, 8 Jul 2007 23:19:24 +0000 (+0000) Subject: added better CodeWarrior detection; X-Git-Tag: curl-7_16_4~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ec1b7a0eeaf9843079b2aca51bc5173cad6fa0e9;p=curl added better CodeWarrior detection; added defines for setlocale(). --- diff --git a/src/Makefile.netware b/src/Makefile.netware index b1e48a079..762174ee3 100644 --- a/src/Makefile.netware +++ b/src/Makefile.netware @@ -61,7 +61,10 @@ else OBJDIR = debug endif -# The following line defines your compiler. +# The following lines defines your compiler. +ifdef CWFolder + METROWERKS = $(CWFolder) +endif ifdef METROWERKS # MWCW_PATH = $(subst \,/,$(METROWERKS))/Novell Support MWCW_PATH = $(subst \,/,$(METROWERKS))/Novell Support/Metrowerks Support @@ -393,12 +396,14 @@ endif @echo $(DL)#define HAVE_INET_ADDR 1$(DL) >> $@ @echo $(DL)#define HAVE_INET_NTOA 1$(DL) >> $@ @echo $(DL)#define HAVE_LL 1$(DL) >> $@ + @echo $(DL)#define HAVE_LOCALE_H 1$(DL) >> $@ @echo $(DL)#define HAVE_MALLOC_H 1$(DL) >> $@ @echo $(DL)#define HAVE_NETINET_IN_H 1$(DL) >> $@ @echo $(DL)#define HAVE_RECV 1$(DL) >> $@ @echo $(DL)#define HAVE_SELECT 1$(DL) >> $@ @echo $(DL)#define HAVE_SEND 1$(DL) >> $@ @echo $(DL)#define HAVE_SETJMP_H 1$(DL) >> $@ + @echo $(DL)#define HAVE_SETLOCALE 1$(DL) >> $@ @echo $(DL)#define HAVE_SIGNAL 1$(DL) >> $@ @echo $(DL)#define HAVE_SIGNAL_H 1$(DL) >> $@ @echo $(DL)#define HAVE_SIG_ATOMIC_T 1$(DL) >> $@