aboutsummaryrefslogtreecommitdiff
path: root/src/Makefile.netware
diff options
context:
space:
mode:
authorGunter Knauf <gk@gknw.de>2007-03-27 19:27:43 +0000
committerGunter Knauf <gk@gknw.de>2007-03-27 19:27:43 +0000
commit45b257797437b2299510835bdf275c5dff60e5b5 (patch)
tree8979ec17acd3c853b7764da82b7732108a6a7983 /src/Makefile.netware
parentd58c7a8bdd6b54df30c7814c52847d32e2059172 (diff)
added variadic macro stuff.
Diffstat (limited to 'src/Makefile.netware')
-rw-r--r--src/Makefile.netware9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/Makefile.netware b/src/Makefile.netware
index 71e8a276a..f39141397 100644
--- a/src/Makefile.netware
+++ b/src/Makefile.netware
@@ -300,7 +300,6 @@ ifdef IMPORTS
endif
ifeq ($(LD),nlmconv)
@echo $(DL)input $(OBJS)$(DL) >> $@
- @echo $(DL)input $(OBJX)$(DL) >> $@
@echo $(DL)input $(PRELUDE)$(DL) >> $@
ifdef LDLIBS
@echo $(DL)input $(LDLIBS)$(DL) >> $@
@@ -314,6 +313,9 @@ config.h: Makefile.netware
@echo $(DL)** Do not edit this file - it is created by make!$(DL) >> $@
@echo $(DL)** All your changes will be lost!!$(DL) >> $@
@echo $(DL)*/$(DL) >> $@
+ @echo $(DL)#ifndef NETWARE$(DL) >> $@
+ @echo $(DL)#error This $(notdir $@) is created for NetWare platform!$(DL) >> $@
+ @echo $(DL)#endif$(DL) >> $@
@echo $(DL)#define OS "i586-pc-NetWare"$(DL) >> $@
@echo $(DL)#define VERSION "$(LIBCURL_VERSION_STR)"$(DL) >> $@
@echo $(DL)#define PACKAGE_BUGREPORT "a suitable curl mailing list => http://curl.haxx.se/mail/"$(DL) >> $@
@@ -412,6 +414,11 @@ ifdef WITH_SSH2
@echo $(DL)#define USE_LIBSSH2 1$(DL) >> $@
@echo $(DL)#define HAVE_LIBSSH2_H 1$(DL) >> $@
endif
+ @echo $(DL)#ifdef __GNUC__$(DL) >> $@
+ @echo $(DL)#define HAVE_VARIADIC_MACROS_GCC 1$(DL) >> $@
+ @echo $(DL)#else$(DL) >> $@
+ @echo $(DL)#define HAVE_VARIADIC_MACROS_C99 1$(DL) >> $@
+ @echo $(DL)#endif$(DL) >> $@
ifdef OLD_NOVELLSDK
@echo $(DL)#define socklen_t int$(DL) >> $@
endif