configure.ac: use the gettext macro

Original commit message from CVS:
2005-10-16  Thomas Vander Stichele  <thomas at apestaart dot org>

* configure.ac:
use the gettext macro
* gst/elements/gstelements.c:
* gst/gst.c:
* gst/indexers/gstindexers.c:
update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
* win32/common/config.h:
updated config.h
* win32/common/config.h.in:
add the template to generate config.h
* win32/common/gstenumtypes.c:
* win32/common/gstversion.h:
updated copies
This commit is contained in:
Thomas Vander Stichele 2005-10-16 09:20:52 +00:00
parent b45c86c1df
commit 0ecb219505
11 changed files with 358 additions and 91 deletions

View file

@ -1,3 +1,19 @@
2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
* configure.ac:
use the gettext macro
* gst/elements/gstelements.c:
* gst/gst.c:
* gst/indexers/gstindexers.c:
update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
* win32/common/config.h:
updated config.h
* win32/common/config.h.in:
add the template to generate config.h
* win32/common/gstenumtypes.c:
* win32/common/gstversion.h:
updated copies
2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org> 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
* gst/gst.c: (gst_version): * gst/gst.c: (gst_version):

2
common

@ -1 +1 @@
Subproject commit 361749d506054ba03e7ccc1aad9d531673a5e342 Subproject commit e8d4a23bcbd07bbdf00f9e35787000e96fff9fc2

View file

@ -315,23 +315,7 @@ AC_C_INLINE
dnl *** TODO: decide where to put *** dnl *** TODO: decide where to put ***
dnl set up gettext dnl set up gettext
AM_GNU_GETTEXT_VERSION(0.11.5) GST_GETTEXT([gstreamer-$GST_MAJORMINOR])
AM_GNU_GETTEXT([external])
GETTEXT_PACKAGE=gstreamer-$GST_MAJORMINOR
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE], "$GETTEXT_PACKAGE",
[gettext package name])
dnl define LOCALEDIR in config.h
AS_AC_EXPAND(LOCALEDIR, $datadir/locale)
AC_DEFINE_UNQUOTED([LOCALEDIR], "$LOCALEDIR",
[gettext locale dir])
dnl define LIBDIR so we can inform people where we live
AS_AC_EXPAND(LIBDIR, $libdir)
AC_DEFINE_UNQUOTED([LIBDIR], "$LIBDIR",
[library dir])
dnl define an ERROR_CFLAGS Makefile variable dnl define an ERROR_CFLAGS Makefile variable
GST_SET_ERROR_CFLAGS($GST_CVS) GST_SET_ERROR_CFLAGS($GST_CVS)
@ -339,8 +323,13 @@ GST_SET_ERROR_CFLAGS($GST_CVS)
dnl define correct errorlevel for debugging messages. We want to have GST_ERROR dnl define correct errorlevel for debugging messages. We want to have GST_ERROR
dnl messages printed when running cvs builds dnl messages printed when running cvs builds
if test "x$GST_CVS" = "xyes"; then if test "x$GST_CVS" = "xyes"; then
AC_DEFINE(GST_LEVEL_DEFAULT, GST_LEVEL_ERROR, [Default errorlevel to use]) GST_LEVEL_DEFAULT=GST_LEVEL_ERROR
else
GST_LEVEL_DEFAULT=GST_LEVEL_NONE
fi fi
AC_DEFINE_UNQUOTED(GST_LEVEL_DEFAULT, $GST_LEVEL_DEFAULT,
[Default errorlevel to use])
AC_SUBST(GST_LEVEL_DEFAULT)
dnl *** checks for dependency libraries *** dnl *** checks for dependency libraries ***
@ -415,9 +404,15 @@ fi
dnl *** FIXME: name this part dnl *** FIXME: name this part
dnl set license and copyright notice dnl set license and copyright notice
AC_DEFINE(GST_LICENSE, "LGPL", [GStreamer license]) GST_LICENSE="LGPL"
AC_DEFINE(GST_LICENSE, "$GST_LICENSE", [GStreamer license])
AC_SUBST(GST_LICENSE)
dnl Set location of plugin directory dnl define LIBDIR so we can inform people where we live
AS_AC_EXPAND(LIBDIR, $libdir)
AC_DEFINE_UNQUOTED(LIBDIR, "$LIBDIR", [library dir])
dnl set location of plugin directory
AS_AC_EXPAND(PLUGINS_DIR, ${libdir}/gstreamer-$GST_MAJORMINOR) AS_AC_EXPAND(PLUGINS_DIR, ${libdir}/gstreamer-$GST_MAJORMINOR)
AC_DEFINE_UNQUOTED(PLUGINS_DIR, "$PLUGINS_DIR", [Define the plugin directory]) AC_DEFINE_UNQUOTED(PLUGINS_DIR, "$PLUGINS_DIR", [Define the plugin directory])
AC_SUBST(PLUGINS_DIR) AC_SUBST(PLUGINS_DIR)
@ -566,6 +561,7 @@ docs/manual/Makefile
docs/pwg/Makefile docs/pwg/Makefile
docs/xsl/Makefile docs/xsl/Makefile
docs/version.entities docs/version.entities
win32/common/config.h
pkgconfig/Makefile pkgconfig/Makefile
stamp.h stamp.h
pkgconfig/gstreamer.pc pkgconfig/gstreamer.pc

View file

@ -81,4 +81,4 @@ GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
GST_VERSION_MINOR, GST_VERSION_MINOR,
"gstelements", "gstelements",
"standard GStreamer elements", "standard GStreamer elements",
plugin_init, VERSION, GST_LICENSE, GST_PACKAGE, GST_ORIGIN); plugin_init, VERSION, GST_LICENSE, GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN);

View file

@ -513,8 +513,8 @@ static GstPluginDesc plugin_desc = {
VERSION, VERSION,
GST_LICENSE, GST_LICENSE,
PACKAGE, PACKAGE,
GST_PACKAGE, GST_PACKAGE_NAME,
GST_ORIGIN, GST_PACKAGE_ORIGIN,
GST_PADDING_INIT GST_PADDING_INIT
}; };

View file

@ -41,4 +41,4 @@ GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
GST_VERSION_MINOR, GST_VERSION_MINOR,
"gstindexers", "gstindexers",
"GStreamer core indexers", "GStreamer core indexers",
plugin_init, VERSION, GST_LICENSE, GST_PACKAGE, GST_ORIGIN) plugin_init, VERSION, GST_LICENSE, GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN);

View file

@ -81,4 +81,4 @@ GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
GST_VERSION_MINOR, GST_VERSION_MINOR,
"gstelements", "gstelements",
"standard GStreamer elements", "standard GStreamer elements",
plugin_init, VERSION, GST_LICENSE, GST_PACKAGE, GST_ORIGIN); plugin_init, VERSION, GST_LICENSE, GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN);

View file

@ -41,4 +41,4 @@ GST_PLUGIN_DEFINE (GST_VERSION_MAJOR,
GST_VERSION_MINOR, GST_VERSION_MINOR,
"gstindexers", "gstindexers",
"GStreamer core indexers", "GStreamer core indexers",
plugin_init, VERSION, GST_LICENSE, GST_PACKAGE, GST_ORIGIN) plugin_init, VERSION, GST_LICENSE, GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN);

View file

@ -1,93 +1,109 @@
/* config.h.in. Generated from configure.ac by autoheader. */ /* config.h.in. Generated from configure.ac by autoheader. */
/* This copy of config.h.in is specifically for win32 Visual Studio builds */
/* always defined to indicate that i18n is enabled */ /* Define to 1 if translation of program messages to the user's native
/* #define ENABLE_NLS 1*/ language is requested. */
#undef ENABLE_NLS
/* gettext package name */ /* gettext package name */
#define GETTEXT_PACKAGE "gstreamer-0.9" #define GETTEXT_PACKAGE "gstreamer-0.9"
/* PREFIX - specifically added for Windows for easier moving */
#define PREFIX "C:\\gstreamer" #define PREFIX "C:\\gstreamer"
/* Location of registry */ /* Location of registry */
#define GST_CACHE_DIR PREFIX "\\var\\cache" #define GST_CACHE_DIR PREFIX "\\var\\cache"
/* macro to use to show function name */ /* macro to use to show function name */
/*#undef GST_FUNCTION*/ #undef GST_FUNCTION
/* Defined if gcov is enabled to force a rebuild due to config.h changing */ /* Defined if gcov is enabled to force a rebuild due to config.h changing */
/* #undef GST_GCOV_ENABLED */ #undef GST_GCOV_ENABLED
/* Default errorlevel to use */ /* Default errorlevel to use */
#define GST_LEVEL_DEFAULT GST_LEVEL_ERROR #define GST_LEVEL_DEFAULT GST_LEVEL_ERROR
/* GStreamer license */ /* GStreamer license */
#define GST_LICENSE "LGPL" #define GST_LICENSE LGPL
/* package origin */ /* package origin */
#define GST_ORIGIN "http://gstreamer.freedesktop.org/" #define GST_ORIGIN @GST_ORIGIN@
/* package name in plugins */ /* package name in plugins */
#define GST_PACKAGE "GStreamer" #define GST_PACKAGE @GST_PACKAGE@
/* Define the version */ /* Define the version */
#define GST_VERSION "0.9.3.1" #define GST_VERSION 0.9.3.1
/* Define if the target CPU is an Alpha */ /* Define if the host CPU is an Alpha */
/* #undef HAVE_CPU_ALPHA */ #undef HAVE_CPU_ALPHA
/* Define if the target CPU is an ARM */ /* Define if the host CPU is an ARM */
/* #undef HAVE_CPU_ARM */ #undef HAVE_CPU_ARM
/* Define if the target CPU is a HPPA */ /* Define if the host CPU is a HPPA */
/* #undef HAVE_CPU_HPPA */ #undef HAVE_CPU_HPPA
/* Define if the target CPU is an x86 */ /* Define if the host CPU is an x86 */
#define HAVE_CPU_I386 1 #undef HAVE_CPU_I386
/* Define if the target CPU is a IA64 */ /* Define if the host CPU is a IA64 */
/* #undef HAVE_CPU_IA64 */ #undef HAVE_CPU_IA64
/* Define if the target CPU is a M68K */ /* Define if the host CPU is a M68K */
/* #undef HAVE_CPU_M68K */ #undef HAVE_CPU_M68K
/* Define if the target CPU is a MIPS */ /* Define if the host CPU is a MIPS */
/* #undef HAVE_CPU_MIPS */ #undef HAVE_CPU_MIPS
/* Define if the target CPU is a PowerPC */ /* Define if the host CPU is a PowerPC */
/* #undef HAVE_CPU_PPC */ #undef HAVE_CPU_PPC
/* Define if the target CPU is a S390 */ /* Define if the host CPU is a S390 */
/* #undef HAVE_CPU_S390 */ #undef HAVE_CPU_S390
/* Define if the target CPU is a SPARC */ /* Define if the host CPU is a SPARC */
/* #undef HAVE_CPU_SPARC */ #undef HAVE_CPU_SPARC
/* Define if the target CPU is a x86_64 */ /* Define if the host CPU is a x86_64 */
/* #undef HAVE_CPU_X86_64 */ #undef HAVE_CPU_X86_64
/* Define if the GNU dcgettext() function is already present or preinstalled. /* Define if the GNU dcgettext() function is already present or preinstalled.
*/ */
/* #undef HAVE_DCGETTEXT */ #undef HAVE_DCGETTEXT
/* Defined if we have dladdr () */ /* Defined if we have dladdr () */
/* #undef HAVE_DLADDR */ #undef HAVE_DLADDR
/* Define to 1 if you have the <dlfcn.h> header file. */ /* Define to 1 if you have the <dlfcn.h> header file. */
/* #undef HAVE_DLFCN_H */ #define HAVE_DLFCN_H 1
/* Define to 1 if you have the `fgetpos' function. */
#define HAVE_FGETPOS 1
/* Define to 1 if fseeko (and presumably ftello) exists and is declared. */
#undef HAVE_FSEEKO
/* Define to 1 if you have the `fsetpos' function. */
#define HAVE_FSETPOS 1
/* Define to 1 if you have the `ftello' function. */
#undef HAVE_FTELLO
/* defined if the compiler implements __func__ */ /* defined if the compiler implements __func__ */
#define HAVE_FUNC 1 #undef HAVE_FUNC
/* defined if the compiler implements __FUNCTION__ */ /* defined if the compiler implements __FUNCTION__ */
#define HAVE_FUNCTION 1 #undef HAVE_FUNCTION
/* Define to 1 if you have the `getpagesize' function. */ /* Define to 1 if you have the `getpagesize' function. */
#define HAVE_GETPAGESIZE 1 #undef HAVE_GETPAGESIZE
/* Define if the GNU gettext() function is already present or preinstalled. */ /* Define if the GNU gettext() function is already present or preinstalled. */
#undef HAVE_GETTEXT #undef HAVE_GETTEXT
/* Define if you have the iconv() function. */ /* Define if you have the iconv() function. */
/* #undef HAVE_ICONV */ #undef HAVE_ICONV
/* Define to 1 if you have the <inttypes.h> header file. */ /* Define to 1 if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H #undef HAVE_INTTYPES_H
@ -102,19 +118,19 @@
#undef HAVE_MEMORY_H #undef HAVE_MEMORY_H
/* Define to 1 if you have a working `mmap' system call. */ /* Define to 1 if you have a working `mmap' system call. */
/* #undef HAVE_MMAP */ #undef HAVE_MMAP
/* defined if the compiler implements __PRETTY_FUNCTION__ */ /* defined if the compiler implements __PRETTY_FUNCTION__ */
#define HAVE_PRETTY_FUNCTION 1 #undef HAVE_PRETTY_FUNCTION
/* Defined if we have register_printf_function () */ /* Defined if we have register_printf_function () */
/* #undef HAVE_PRINTF_EXTENSION */ #undef HAVE_PRINTF_EXTENSION
/* Define if RDTSC is available */ /* Define if RDTSC is available */
/* #undef HAVE_RDTSC */ #undef HAVE_RDTSC
/* Defined if we have sigaction () */ /* Define to 1 if you have the `sigaction' function. */
/* #undef HAVE_SIGACTION */ #undef HAVE_SIGACTION
/* Define to 1 if you have the <stdint.h> header file. */ /* Define to 1 if you have the <stdint.h> header file. */
#undef HAVE_STDINT_H #undef HAVE_STDINT_H
@ -128,20 +144,26 @@
/* Define to 1 if you have the <string.h> header file. */ /* Define to 1 if you have the <string.h> header file. */
#undef HAVE_STRING_H #undef HAVE_STRING_H
/* Define to 1 if you have the <sys/socket.h> header file. */
#undef HAVE_SYS_SOCKET_H
/* Define to 1 if you have the <sys/stat.h> header file. */ /* Define to 1 if you have the <sys/stat.h> header file. */
#undef HAVE_SYS_STAT_H #undef HAVE_SYS_STAT_H
/* Define to 1 if you have the <sys/types.h> header file. */ /* Define to 1 if you have the <sys/types.h> header file. */
#undef HAVE_SYS_TYPES_H #undef HAVE_SYS_TYPES_H
/* defined if we have ucontext.h */ /* Define to 1 if you have the <ucontext.h> header file. */
#undef HAVE_UCONTEXT_H #undef HAVE_UCONTEXT_H
/* defined if unaligned memory access works correctly */
#undef HAVE_UNALIGNED_ACCESS
/* Define to 1 if you have the <unistd.h> header file. */ /* Define to 1 if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H #undef HAVE_UNISTD_H
/* Define if valgrind should be used */ /* Define if valgrind should be used */
/* #undef HAVE_VALGRIND */ #undef HAVE_VALGRIND
/* Defined if compiling for Windows */ /* Defined if compiling for Windows */
#define HAVE_WIN32 1 #define HAVE_WIN32 1
@ -153,22 +175,22 @@
#define LOCALEDIR PREFIX "\\share\\locale" #define LOCALEDIR PREFIX "\\share\\locale"
/* Name of package */ /* Name of package */
#define PACKAGE "gstreamer" #undef PACKAGE
/* Define to the address where bug reports for this package should be sent. */ /* Define to the address where bug reports for this package should be sent. */
#define PACKAGE_BUGREPORT "" #undef PACKAGE_BUGREPORT
/* Define to the full name of this package. */ /* Define to the full name of this package. */
#define PACKAGE_NAME "" #undef PACKAGE_NAME
/* Define to the full name and version of this package. */ /* Define to the full name and version of this package. */
#define PACKAGE_STRING "" #undef PACKAGE_STRING
/* Define to the one symbol short name of this package. */ /* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "" #undef PACKAGE_TARNAME
/* Define to the version of this package. */ /* Define to the version of this package. */
#define PACKAGE_VERSION "" #undef PACKAGE_VERSION
/* Define the plugin directory */ /* Define the plugin directory */
#define PLUGINS_DIR PREFIX "\\lib\\gstreamer-0.9" #define PLUGINS_DIR PREFIX "\\lib\\gstreamer-0.9"
@ -176,25 +198,27 @@
/* Define to 1 if you have the ANSI C header files. */ /* Define to 1 if you have the ANSI C header files. */
#undef STDC_HEADERS #undef STDC_HEADERS
/* Define if we should use i586 optimized stack functions */
#undef USE_FAST_STACK_TRASH
/* Define if we should poison deallocated memory */ /* Define if we should poison deallocated memory */
#undef USE_POISONING #undef USE_POISONING
/* Version number of package */ /* Version number of package */
#define VERSION "0.9.3.1" #define VERSION 0.9.3.1
/* Define to 1 if your processor stores words with the most significant byte /* Define to 1 if your processor stores words with the most significant byte
first (like Motorola and SPARC, unlike Intel and VAX). */ first (like Motorola and SPARC, unlike Intel and VAX). */
/* #undef WORDS_BIGENDIAN */ #undef WORDS_BIGENDIAN
/* Number of bits in a file offset, on hosts where this is settable. */ /* Number of bits in a file offset, on hosts where this is settable. */
/* #undef _FILE_OFFSET_BITS */ #undef _FILE_OFFSET_BITS
/* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */
#undef _LARGEFILE_SOURCE
/* Define for large files, on AIX-style hosts. */ /* Define for large files, on AIX-style hosts. */
/* #undef _LARGE_FILES */ #undef _LARGE_FILES
/* Define as `__inline' if that's what the C compiler calls it, or to nothing /* Define to `__inline__' or `__inline' if that's what the C compiler
if it is not supported. */ calls it, or to nothing if 'inline' is not supported under any name. */
/* #undef inline */ #ifndef __cplusplus
#undef inline
#endif

224
win32/common/config.h.in Normal file
View file

@ -0,0 +1,224 @@
/* config.h.in. Generated from configure.ac by autoheader. */
/* This copy of config.h.in is specifically for win32 Visual Studio builds */
/* Define to 1 if translation of program messages to the user's native
language is requested. */
#undef ENABLE_NLS
/* gettext package name */
#define GETTEXT_PACKAGE "@GETTEXT_PACKAGE@"
/* PREFIX - specifically added for Windows for easier moving */
#define PREFIX "C:\\gstreamer"
/* Location of registry */
#define GST_CACHE_DIR PREFIX "\\var\\cache"
/* macro to use to show function name */
#undef GST_FUNCTION
/* Defined if gcov is enabled to force a rebuild due to config.h changing */
#undef GST_GCOV_ENABLED
/* Default errorlevel to use */
#define GST_LEVEL_DEFAULT @GST_LEVEL_DEFAULT@
/* GStreamer license */
#define GST_LICENSE @GST_LICENSE@
/* package origin */
#define GST_ORIGIN @GST_ORIGIN@
/* package name in plugins */
#define GST_PACKAGE @GST_PACKAGE@
/* Define the version */
#define GST_VERSION @GST_VERSION@
/* Define if the host CPU is an Alpha */
#undef HAVE_CPU_ALPHA
/* Define if the host CPU is an ARM */
#undef HAVE_CPU_ARM
/* Define if the host CPU is a HPPA */
#undef HAVE_CPU_HPPA
/* Define if the host CPU is an x86 */
#undef HAVE_CPU_I386
/* Define if the host CPU is a IA64 */
#undef HAVE_CPU_IA64
/* Define if the host CPU is a M68K */
#undef HAVE_CPU_M68K
/* Define if the host CPU is a MIPS */
#undef HAVE_CPU_MIPS
/* Define if the host CPU is a PowerPC */
#undef HAVE_CPU_PPC
/* Define if the host CPU is a S390 */
#undef HAVE_CPU_S390
/* Define if the host CPU is a SPARC */
#undef HAVE_CPU_SPARC
/* Define if the host CPU is a x86_64 */
#undef HAVE_CPU_X86_64
/* Define if the GNU dcgettext() function is already present or preinstalled.
*/
#undef HAVE_DCGETTEXT
/* Defined if we have dladdr () */
#undef HAVE_DLADDR
/* Define to 1 if you have the <dlfcn.h> header file. */
#define HAVE_DLFCN_H 1
/* Define to 1 if you have the `fgetpos' function. */
#define HAVE_FGETPOS 1
/* Define to 1 if fseeko (and presumably ftello) exists and is declared. */
#undef HAVE_FSEEKO
/* Define to 1 if you have the `fsetpos' function. */
#define HAVE_FSETPOS 1
/* Define to 1 if you have the `ftello' function. */
#undef HAVE_FTELLO
/* defined if the compiler implements __func__ */
#undef HAVE_FUNC
/* defined if the compiler implements __FUNCTION__ */
#undef HAVE_FUNCTION
/* Define to 1 if you have the `getpagesize' function. */
#undef HAVE_GETPAGESIZE
/* Define if the GNU gettext() function is already present or preinstalled. */
#undef HAVE_GETTEXT
/* Define if you have the iconv() function. */
#undef HAVE_ICONV
/* Define to 1 if you have the <inttypes.h> header file. */
#undef HAVE_INTTYPES_H
/* Define if libxml2 is available */
#define HAVE_LIBXML2 1
/* defined if we have makecontext () */
#undef HAVE_MAKECONTEXT
/* Define to 1 if you have the <memory.h> header file. */
#undef HAVE_MEMORY_H
/* Define to 1 if you have a working `mmap' system call. */
#undef HAVE_MMAP
/* defined if the compiler implements __PRETTY_FUNCTION__ */
#undef HAVE_PRETTY_FUNCTION
/* Defined if we have register_printf_function () */
#undef HAVE_PRINTF_EXTENSION
/* Define if RDTSC is available */
#undef HAVE_RDTSC
/* Define to 1 if you have the `sigaction' function. */
#undef HAVE_SIGACTION
/* Define to 1 if you have the <stdint.h> header file. */
#undef HAVE_STDINT_H
/* Define to 1 if you have the <stdlib.h> header file. */
#undef HAVE_STDLIB_H
/* Define to 1 if you have the <strings.h> header file. */
#undef HAVE_STRINGS_H
/* Define to 1 if you have the <string.h> header file. */
#undef HAVE_STRING_H
/* Define to 1 if you have the <sys/socket.h> header file. */
#undef HAVE_SYS_SOCKET_H
/* Define to 1 if you have the <sys/stat.h> header file. */
#undef HAVE_SYS_STAT_H
/* Define to 1 if you have the <sys/types.h> header file. */
#undef HAVE_SYS_TYPES_H
/* Define to 1 if you have the <ucontext.h> header file. */
#undef HAVE_UCONTEXT_H
/* defined if unaligned memory access works correctly */
#undef HAVE_UNALIGNED_ACCESS
/* Define to 1 if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H
/* Define if valgrind should be used */
#undef HAVE_VALGRIND
/* Defined if compiling for Windows */
#define HAVE_WIN32 1
/* library dir */
#define LIBDIR PREFIX "\\lib"
/* gettext locale dir */
#define LOCALEDIR PREFIX "\\share\\locale"
/* Name of package */
#undef PACKAGE
/* Define to the address where bug reports for this package should be sent. */
#undef PACKAGE_BUGREPORT
/* Define to the full name of this package. */
#undef PACKAGE_NAME
/* Define to the full name and version of this package. */
#undef PACKAGE_STRING
/* Define to the one symbol short name of this package. */
#undef PACKAGE_TARNAME
/* Define to the version of this package. */
#undef PACKAGE_VERSION
/* Define the plugin directory */
#define PLUGINS_DIR PREFIX "\\lib\\gstreamer-0.9"
/* Define to 1 if you have the ANSI C header files. */
#undef STDC_HEADERS
/* Define if we should poison deallocated memory */
#undef USE_POISONING
/* Version number of package */
#define VERSION @VERSION@
/* Define to 1 if your processor stores words with the most significant byte
first (like Motorola and SPARC, unlike Intel and VAX). */
#undef WORDS_BIGENDIAN
/* Number of bits in a file offset, on hosts where this is settable. */
#undef _FILE_OFFSET_BITS
/* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */
#undef _LARGEFILE_SOURCE
/* Define for large files, on AIX-style hosts. */
#undef _LARGE_FILES
/* Define to `__inline__' or `__inline' if that's what the C compiler
calls it, or to nothing if 'inline' is not supported under any name. */
#ifndef __cplusplus
#undef inline
#endif

View file

@ -26,8 +26,8 @@
* Use the GST_VERSION_* macros e.g. when defining own plugins. The GStreamer * Use the GST_VERSION_* macros e.g. when defining own plugins. The GStreamer
* runtime checks if these plugin and core version match and refuses to use a * runtime checks if these plugin and core version match and refuses to use a
* plugin compiled against a different version of GStreamer. * plugin compiled against a different version of GStreamer.
* You can also use the macros to keep the GStreamer version information in your * You can also use the macros to keep the GStreamer version information in
* application. * your application.
* *
* Use the gst_version() function if you want to know which version of * Use the gst_version() function if you want to know which version of
* GStreamer you are currently linked against. * GStreamer you are currently linked against.
@ -58,8 +58,15 @@ G_BEGIN_DECLS
* The micro version of GStreamer at compile time: * The micro version of GStreamer at compile time:
*/ */
#define GST_VERSION_MICRO (3) #define GST_VERSION_MICRO (3)
/**
* GST_VERSION_NANO:
*
* The nano version of GStreamer at compile time:
* Actual releases have 0, CVS versions have 1, prerelease versions have 2-...
*/
#define GST_VERSION_NANO (1)
void gst_version (guint *major, guint *minor, guint *micro); void gst_version (guint *major, guint *minor, guint *micro, guint *nano);
G_END_DECLS G_END_DECLS