From dcc4837a237abb01919b3fa837d14a1b03bcc4ce Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Thu, 23 Aug 2007 17:21:23 +0000 Subject: [PATCH] Automatically generate win32/common/config.h via configure (this ensures the win32 version of config.h is up-to-date ... Original commit message from CVS: * configure.ac: * win32/common/config.h: * win32/common/config.h.in: Automatically generate win32/common/config.h via configure (this ensures the win32 version of config.h is up-to-date when a release is made, #433373). config.h.in file might need some more work. --- ChangeLog | 9 +++ configure.ac | 1 + win32/common/config.h | 15 ++--- win32/common/config.h.in | 153 ++++++++++++++++++++++------------------------- 4 files changed, 86 insertions(+), 92 deletions(-) diff --git a/ChangeLog b/ChangeLog index ea37b23..7fb05dd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2007-08-23 Tim-Philipp Müller + + * configure.ac: + * win32/common/config.h: + * win32/common/config.h.in: + Automatically generate win32/common/config.h via configure (this + ensures the win32 version of config.h is up-to-date when a release + is made, #433373). config.h.in file might need some more work. + 2007-08-22 Tim-Philipp Müller Patch by: Jonathan Matthew diff --git a/configure.ac b/configure.ac index 1982616..1c8030ff 100644 --- a/configure.ac +++ b/configure.ac @@ -1070,6 +1070,7 @@ m4/Makefile tests/Makefile tests/check/Makefile tests/icles/Makefile +win32/common/config.h ) AC_OUTPUT diff --git a/win32/common/config.h b/win32/common/config.h index 3e68c2f..6a54f83 100644 --- a/win32/common/config.h +++ b/win32/common/config.h @@ -26,14 +26,11 @@ /* GStreamer license */ #define GST_LICENSE "LGPL" -/* package origin */ -#define GST_PACKAGE_ORIGIN "Unknown package origin" - /* package name in plugins */ -#define GST_PACKAGE_NAME "GStreamer Bad Plug-ins source release" +#define GST_PACKAGE_NAME "GStreamer Bad Plug-ins CVS/prerelease" -/* Define the version */ -#define GST_VERSION "0.10.3" +/* package origin */ +#define GST_PACKAGE_ORIGIN "Unknown package origin" /* Define if the host CPU is an Alpha */ #undef HAVE_CPU_ALPHA @@ -187,7 +184,7 @@ #undef PACKAGE_NAME /* Define to the full name and version of this package. */ -#undef PACKAGE_STRING "GStreamer Bad Plug-ins 0.10.3" +#undef PACKAGE_STRING /* Define to the one symbol short name of this package. */ #undef PACKAGE_TARNAME @@ -195,7 +192,7 @@ /* Define to the version of this package. */ #undef PACKAGE_VERSION -/* Define the plugin directory */ +/* directory where plugins are located */ #define PLUGINDIR PREFIX "\\lib\\gstreamer-0.10" /* Define to 1 if you have the ANSI C header files. */ @@ -205,7 +202,7 @@ #undef USE_POISONING /* Version number of package */ -#define VERSION "0.10.3" +#define VERSION "0.10.5.1" /* Define to 1 if your processor stores words with the most significant byte first (like Motorola and SPARC, unlike Intel and VAX). */ diff --git a/win32/common/config.h.in b/win32/common/config.h.in index e359cce..a5be8d7 100644 --- a/win32/common/config.h.in +++ b/win32/common/config.h.in @@ -8,14 +8,20 @@ /* 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 */ -#define GST_FUNCTION "(function)" +#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 */ -#undef GST_LEVEL_DEFAULT +#define GST_LEVEL_DEFAULT GST_LEVEL_ERROR /* GStreamer license */ #define GST_LICENSE "@GST_LICENSE@" @@ -26,12 +32,6 @@ /* package origin */ #define GST_PACKAGE_ORIGIN "@GST_PACKAGE_ORIGIN@" -/* support for features: gstalsa */ -#undef HAVE_ALSA - -/* support for features: cdparanoia */ -#undef HAVE_CDPARANOIA - /* Define if the host CPU is an Alpha */ #undef HAVE_CPU_ALPHA @@ -69,17 +69,23 @@ */ #undef HAVE_DCGETTEXT +/* Defined if we have dladdr () */ +#undef HAVE_DLADDR + /* Define to 1 if you have the header file. */ #undef HAVE_DLFCN_H -/* support for features: */ -#undef HAVE_EXTERNAL +/* 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 -/* FIONREAD ioctl found in sys/filio.h */ -#undef HAVE_FIONREAD_IN_SYS_FILIO +/* Define to 1 if you have the `fsetpos' function. */ +#define HAVE_FSETPOS 1 -/* FIONREAD ioctl found in sys/ioclt.h */ -#undef HAVE_FIONREAD_IN_SYS_IOCTL +/* Define to 1 if you have the `ftello' function. */ +#undef HAVE_FTELLO /* defined if the compiler implements __func__ */ #undef HAVE_FUNC @@ -87,53 +93,44 @@ /* 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 -/* support for features: gnomevfssrc */ -#undef HAVE_GNOME_VFS - -/* support for features: v4lsrc v4lmjpegsrc v4lmjpegsink */ -#undef HAVE_GST_V4L - /* Define if you have the iconv() function. */ #undef HAVE_ICONV /* Define to 1 if you have the header file. */ #undef HAVE_INTTYPES_H -/* Define to 1 if you have the `asound' library (-lasound). */ -#undef HAVE_LIBASOUND - -/* support for features: libvisual */ -#undef HAVE_LIBVISUAL - -/* Define if you have C99's lrint function. */ -#undef HAVE_LRINT +/* Define if libxml2 is available */ +#define HAVE_LIBXML2 1 -/* Define if you have C99's lrintf function. */ -#undef HAVE_LRINTF - -/* Define to 1 if you have the header file. */ -#undef HAVE_MALLOC_H +/* defined if we have makecontext () */ +#undef HAVE_MAKECONTEXT /* Define to 1 if you have the header file. */ #undef HAVE_MEMORY_H -/* support for features: oggdemux oggmux */ -#undef HAVE_OGG - -/* support for features: pango */ -#undef HAVE_PANGO +/* 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 to 1 if you have the header file. */ +#define HAVE_PROCESS_H 1 + /* Define if RDTSC is available */ #undef HAVE_RDTSC -/* Define to 1 if you have the header file. */ -#undef HAVE_REGEX_H +/* Define to 1 if you have the `sigaction' function. */ +#undef HAVE_SIGACTION /* Define to 1 if you have the header file. */ #undef HAVE_STDINT_H @@ -151,13 +148,16 @@ #undef HAVE_SYS_SOCKET_H /* Define to 1 if you have the header file. */ -#undef HAVE_SYS_STAT_H 1 +#define HAVE_SYS_STAT_H 1 /* Define to 1 if you have the header file. */ -#undef HAVE_SYS_TYPES_H 1 +#define HAVE_SYS_TYPES_H 1 + +/* Define to 1 if you have the header file. */ +#undef HAVE_UCONTEXT_H -/* support for features: theoradec theoraenc */ -#undef HAVE_THEORA +/* defined if unaligned memory access works correctly */ +#undef HAVE_UNALIGNED_ACCESS /* Define to 1 if you have the header file. */ #undef HAVE_UNISTD_H @@ -165,20 +165,11 @@ /* Define if valgrind should be used */ #undef HAVE_VALGRIND -/* support for features: vorbisenc vorbisdec */ -#undef HAVE_VORBIS - -/* defined if vorbis_synthesis_restart is present */ -#undef HAVE_VORBIS_SYNTHESIS_RESTART - -/* support for features: ximagesink */ -#undef HAVE_X +/* Defined if compiling for Windows */ +#define HAVE_WIN32 1 -/* support for features: xshm */ -#undef HAVE_XSHM - -/* support for features: xvimagesink */ -#undef HAVE_XVIDEO +/* library dir */ +#define LIBDIR PREFIX "\\lib" /* gettext locale dir */ #define LOCALEDIR PREFIX "\\share\\locale" @@ -187,41 +178,29 @@ #define PACKAGE "@PACKAGE@" /* Define to the address where bug reports for this package should be sent. */ -#define PACKAGE_BUGREPORT "@PACKAGE_BUGREPORT@" +#undef PACKAGE_BUGREPORT /* Define to the full name of this package. */ -#undef PACKAGE_NAME "@PACKAGE_NAME@" +#undef PACKAGE_NAME /* Define to the full name and version of this package. */ -#undef PACKAGE_STRING "@PACKAGE_STRING@" +#undef PACKAGE_STRING /* Define to the one symbol short name of this package. */ -#undef PACKAGE_TARNAME "@PACKAGE_TARNAME@" +#undef PACKAGE_TARNAME /* Define to the version of this package. */ -#undef PACKAGE_VERSION "@PACKAGE_VERSION@" +#undef PACKAGE_VERSION /* directory where plugins are located */ -#undef PLUGINDIR - -/* The size of a `char', as computed by sizeof. */ -#undef SIZEOF_CHAR - -/* The size of a `int', as computed by sizeof. */ -#undef SIZEOF_INT - -/* The size of a `long', as computed by sizeof. */ -#undef SIZEOF_LONG - -/* The size of a `short', as computed by sizeof. */ -#undef SIZEOF_SHORT - -/* The size of a `void*', as computed by sizeof. */ -#undef SIZEOF_VOIDP +#define PLUGINDIR PREFIX "\\lib\\gstreamer-0.10" /* 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@" @@ -229,11 +208,19 @@ first (like Motorola and SPARC, unlike Intel and VAX). */ #undef WORDS_BIGENDIAN -/* Define to 1 if the X Window System is missing or not being used. */ -#undef X_DISPLAY_MISSING +/* 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 +/* #undef inline */ + +#define GST_PACKAGE "Gst-plugins-bad" +#define PACKAGE "gst-plugins-bad" +#define GST_ORIGIN "gstreamer.freedesktop.org" -- 2.7.4