]> granicus.if.org Git - curl/commitdiff
config-os400.h: enable system strdup(), strcmpi(), etc.
authorPatrick Monnerat <pm@datasphere.ch>
Mon, 15 Jul 2013 16:38:17 +0000 (18:38 +0200)
committerPatrick Monnerat <pm@datasphere.ch>
Mon, 15 Jul 2013 16:38:17 +0000 (18:38 +0200)
lib/config-os400.h
packages/OS400/makefile.sh

index 0ac2cdb61119e3bbbb0970832f0b5855ef1341cb..4381f9a3020f74af909275063cbdd1efa5fc48b9 100644 (file)
 /* Define if you have the <stdlib.h> header file. */
 #define HAVE_STDLIB_H
 
+
+/* The following define is needed on OS400 to enable strcmpi(), stricmp() and
+   strdup(). */
+#define __cplusplus__strings__
+
 /* Define if you have the `strcasecmp' function. */
 #undef HAVE_STRCASECMP
 
 /* Define if you have the `strcmpi' function. */
-#undef HAVE_STRCMPI
+#define HAVE_STRCMPI
+
+/* Define if you have the `stricmp' function. */
+#define HAVE_STRICMP
 
 /* Define if you have the `strdup' function. */
-#undef HAVE_STRDUP
+#define HAVE_STRDUP
+
 
 /* Define if you have the `strftime' function. */
 #define HAVE_STRFTIME
 
-/* Define if you have the `stricmp' function. */
-#undef HAVE_STRICMP
-
 /* Define if you have the <strings.h> header file. */
 #define HAVE_STRINGS_H
 
index 1e67290d519771d78bb6171d47baa8fcf9377484..d2b6bc98a28bc594a2995262d1a5289a564d76ed 100644 (file)
@@ -47,6 +47,7 @@ done
 
 #       Build in each directory.
 
-for SUBDIR in include lib src tests
+# for SUBDIR in include lib src tests
+for SUBDIR in include lib src
 do      "${SCRIPTDIR}/make-${SUBDIR}.sh"
 done