+2004-11-01 Peter Ekberg <spam.protected>
+
+ * config/ltmain.m4sh (cwrappersource): clean up warnings and
+ #include errors.
+
2004-11-01 Peter Ekberg <spam.protected>
Sometimes, a wrapper script is generated for an executable that,
#include <malloc.h>
#include <stdarg.h>
#include <assert.h>
+#include <string.h>
#include <sys/stat.h>
#if defined(PATH_MAX)
if (stale) { free ((void *) stale); stale = 0; } \
} while (0)
+/* -DDEBUG is fairly common in CFLAGS. */
+#undef DEBUG
#if defined DEBUGWRAPPER
# define DEBUG(format, ...) fprintf(stderr, format, __VA_ARGS__)
#else
EOF
cat >> $cwrappersource <<"EOF"
+ return 0;
}
void *
int has_slash = 0;
const char* p;
const char* p_next;
- struct stat st;
/* static buffer for getcwd */
char tmp[[LT_PATHMAX + 1]];
int tmp_len;