mirror of
git://git.savannah.gnu.org/libtool.git
synced 2024-12-27 07:09:26 +08:00
* config/ltmain.m4sh (cwrappersource): clean up warnings and
#include errors.
This commit is contained in:
parent
f862366c5f
commit
9097c9c8e9
@ -1,3 +1,8 @@
|
||||
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,
|
||||
|
@ -5655,6 +5655,7 @@ EOF
|
||||
#include <malloc.h>
|
||||
#include <stdarg.h>
|
||||
#include <assert.h>
|
||||
#include <string.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
#if defined(PATH_MAX)
|
||||
@ -5699,6 +5700,8 @@ EOF
|
||||
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
|
||||
@ -5756,6 +5759,7 @@ EOF
|
||||
EOF
|
||||
|
||||
cat >> $cwrappersource <<"EOF"
|
||||
return 0;
|
||||
}
|
||||
|
||||
void *
|
||||
@ -5825,7 +5829,6 @@ find_executable (const char* wrapper)
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user