diff options
author | Matt Turner <[email protected]> | 2013-03-09 00:25:45 -0800 |
---|---|---|
committer | Matt Turner <[email protected]> | 2013-03-12 17:02:21 -0700 |
commit | 439c3d4e313370823d49b53f031697cc8b18d171 (patch) | |
tree | fd0128dd9f8be183b6be9ac16ec1eb01fefbce51 /src/mesa/main | |
parent | 42c1b33f6d5ee1ab4ab7fdc8a7ab2c1dcd9e43e6 (diff) |
mesa: Replace MESA_VERSION with PACKAGE_VERSION.
One fewer place to have to update.
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/main')
-rw-r--r-- | src/mesa/main/context.c | 2 | ||||
-rw-r--r-- | src/mesa/main/errors.c | 2 | ||||
-rw-r--r-- | src/mesa/main/version.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/main/context.c b/src/mesa/main/context.c index cdcf7adfa25..b428d40fc1c 100644 --- a/src/mesa/main/context.c +++ b/src/mesa/main/context.c @@ -410,7 +410,7 @@ one_time_init( struct gl_context *ctx ) #if defined(DEBUG) && defined(__DATE__) && defined(__TIME__) if (MESA_VERBOSE != 0) { _mesa_debug(ctx, "Mesa %s DEBUG build %s %s\n", - MESA_VERSION_STRING, __DATE__, __TIME__); + PACKAGE_VERSION, __DATE__, __TIME__); } #endif diff --git a/src/mesa/main/errors.c b/src/mesa/main/errors.c index 684f235c32a..1c1d85d414d 100644 --- a/src/mesa/main/errors.c +++ b/src/mesa/main/errors.c @@ -848,7 +848,7 @@ _mesa_problem( const struct gl_context *ctx, const char *fmtString, ... ) _mesa_vsnprintf( str, MAX_DEBUG_MESSAGE_LENGTH, fmtString, args ); va_end( args ); fprintf(stderr, "Mesa %s implementation error: %s\n", - MESA_VERSION_STRING, str); + PACKAGE_VERSION, str); fprintf(stderr, "Please report at bugs.freedesktop.org\n"); } } diff --git a/src/mesa/main/version.c b/src/mesa/main/version.c index c9031898129..3d4af5923c6 100644 --- a/src/mesa/main/version.c +++ b/src/mesa/main/version.c @@ -99,7 +99,7 @@ create_version_string(struct gl_context *ctx, const char *prefix) ctx->VersionString = malloc(max); if (ctx->VersionString) { _mesa_snprintf(ctx->VersionString, max, - "%s%u.%u%s Mesa " MESA_VERSION_STRING + "%s%u.%u%s Mesa " PACKAGE_VERSION #ifdef MESA_GIT_SHA1 " (" MESA_GIT_SHA1 ")" #endif |