From: Peter Johnson Date: Sat, 23 Mar 2002 22:45:03 +0000 (-0000) Subject: Add check for vsnprintf(). X-Git-Tag: v0.2.0~281 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f37e5504bec315cc7a7007215491490345dc382b;p=yasm Add check for vsnprintf(). svn path=/trunk/yasm/; revision=544 --- diff --git a/Mkfiles/dj/config.h b/Mkfiles/dj/config.h index 8ac0485f..5a29c4b6 100644 --- a/Mkfiles/dj/config.h +++ b/Mkfiles/dj/config.h @@ -30,12 +30,18 @@ /* Define to 1 if you have the header file. */ /* #undef HAVE_ASSERT_H */ +/* Define to 1 if you have the `basename' function. */ +#define HAVE_BASENAME 1 + /* Define to 1 if you have the `bcopy' function. */ /* #undef HAVE_BCOPY */ /* */ /* #undef HAVE_CATGETS */ +/* Define to 1 if you have the `closedir' function. */ +/* #undef HAVE_CLOSEDIR */ + /* Define to 1 if you have the header file. */ #define HAVE_CTYPE_H 1 @@ -98,7 +104,8 @@ /* Define if you have the header file. */ #define HAVE_LIMITS_H 1 -/* Define if your system has a working `malloc' function. */ +/* Define to 1 if your system has a GNU libc compatible `malloc' function, and + to 0 otherwise. */ #define HAVE_MALLOC 1 /* Define if you have the header file. */ @@ -131,9 +138,15 @@ /* Define to 1 if you have the header file, and it defines `DIR'. */ /* #undef HAVE_NDIR_H */ +/* Define to 1 if you have the `opendir' function. */ +/* #undef HAVE_OPENDIR */ + /* Define if libtool can extract symbol lists from object files. */ /* #undef HAVE_PRELOADED_SYMBOLS */ +/* Define to 1 if you have the `readdir' function. */ +/* #undefine HAVE_READDIR */ + /* Define to 1 if you have the `rindex' function. */ /* #undef HAVE_RINDEX */ @@ -280,13 +293,13 @@ #define PACKAGE_NAME "yasm" /* Define to the full name and version of this package. */ -#define PACKAGE_STRING "yasm `date "+%Y%m%d"`" +#define PACKAGE_STRING "yasm CVS" /* Define to the one symbol short name of this package. */ #define PACKAGE_TARNAME "yasm" /* Define to the version of this package. */ -#define PACKAGE_VERSION "`date "+%Y%m%d"`" +#define PACKAGE_VERSION "CVS" /* Define if the C compiler supports function prototypes. */ #define PROTOTYPES 1 @@ -298,15 +311,11 @@ /* #undef USE_FORKWAITMSG */ /* Version number of package */ -#define VERSION "0.1.0" +#define VERSION "CVS" /* Define if using the dmalloc debugging malloc package */ /* #undef WITH_DMALLOC */ -/* Define if `lex' declares `yytext' as a `char *' by default, not a `char[]'. - */ -#define YYTEXT_POINTER 1 - /* Make sure we see all GNU extensions. */ /* #undef _GNU_SOURCE */ @@ -326,6 +335,9 @@ if it is not supported. */ /* #undef inline */ +/* Define to rpl_malloc if the replacement function should be used. */ +/* #undef malloc */ + /* Define to `int' if doesn't define. */ /* #undef pid_t */ diff --git a/Mkfiles/vc/config.h b/Mkfiles/vc/config.h index 756be2a7..c406ccc9 100644 --- a/Mkfiles/vc/config.h +++ b/Mkfiles/vc/config.h @@ -30,12 +30,18 @@ /* Define to 1 if you have the header file. */ /* #undef HAVE_ASSERT_H */ +/* Define to 1 if you have the `basename' function. */ +#define HAVE_BASENAME 1 + /* Define to 1 if you have the `bcopy' function. */ /* #undef HAVE_BCOPY */ /* */ /* #undef HAVE_CATGETS */ +/* Define to 1 if you have the `closedir' function. */ +/* #undef HAVE_CLOSEDIR */ + /* Define to 1 if you have the header file. */ #define HAVE_CTYPE_H 1 @@ -98,7 +104,8 @@ /* Define if you have the header file. */ #define HAVE_LIMITS_H 1 -/* Define if your system has a working `malloc' function. */ +/* Define to 1 if your system has a GNU libc compatible `malloc' function, and + to 0 otherwise. */ #define HAVE_MALLOC 1 /* Define if you have the header file. */ @@ -131,9 +138,15 @@ /* Define to 1 if you have the header file, and it defines `DIR'. */ /* #undef HAVE_NDIR_H */ +/* Define to 1 if you have the `opendir' function. */ +/* #undef HAVE_OPENDIR */ + /* Define if libtool can extract symbol lists from object files. */ /* #undef HAVE_PRELOADED_SYMBOLS */ +/* Define to 1 if you have the `readdir' function. */ +/* #undefine HAVE_READDIR */ + /* Define to 1 if you have the `rindex' function. */ /* #undef HAVE_RINDEX */ @@ -284,13 +297,13 @@ #define PACKAGE_NAME "yasm" /* Define to the full name and version of this package. */ -#define PACKAGE_STRING "yasm `date "+%Y%m%d"`" +#define PACKAGE_STRING "yasm CVS" /* Define to the one symbol short name of this package. */ #define PACKAGE_TARNAME "yasm" /* Define to the version of this package. */ -#define PACKAGE_VERSION "`date "+%Y%m%d"`" +#define PACKAGE_VERSION "CVS" /* Define if the C compiler supports function prototypes. */ #define PROTOTYPES 1 @@ -302,15 +315,11 @@ /* #undef USE_FORKWAITMSG */ /* Version number of package */ -#define VERSION "0.1.0" +#define VERSION "CVS" /* Define if using the dmalloc debugging malloc package */ /* #undef WITH_DMALLOC */ -/* Define if `lex' declares `yytext' as a `char *' by default, not a `char[]'. - */ -#define YYTEXT_POINTER 1 - /* Make sure we see all GNU extensions. */ /* #undef _GNU_SOURCE */ @@ -330,6 +339,9 @@ if it is not supported. */ /* #undef inline */ +/* Define to rpl_malloc if the replacement function should be used. */ +/* #undef malloc */ + /* Define to `int' if doesn't define. */ #define pid_t int diff --git a/configure.ac b/configure.ac index 6cf3d561..57c81054 100644 --- a/configure.ac +++ b/configure.ac @@ -126,7 +126,7 @@ AC_TYPE_SIZE_T AC_FUNC_FORK AC_FUNC_MALLOC AC_FUNC_VPRINTF -AC_CHECK_FUNCS([abort memcpy memmove strrchr toascii]) +AC_CHECK_FUNCS([abort memcpy memmove strrchr toascii vsnprintf]) # Look for the case-insensitive comparison functions AC_CHECK_FUNCS([strcasecmp strncasecmp stricmp strcmpi]) # Check for stuff wanted by the test suite. None of this is required. diff --git a/configure.in b/configure.in index 6cf3d561..57c81054 100644 --- a/configure.in +++ b/configure.in @@ -126,7 +126,7 @@ AC_TYPE_SIZE_T AC_FUNC_FORK AC_FUNC_MALLOC AC_FUNC_VPRINTF -AC_CHECK_FUNCS([abort memcpy memmove strrchr toascii]) +AC_CHECK_FUNCS([abort memcpy memmove strrchr toascii vsnprintf]) # Look for the case-insensitive comparison functions AC_CHECK_FUNCS([strcasecmp strncasecmp stricmp strcmpi]) # Check for stuff wanted by the test suite. None of this is required.