Commit 64f314d9 authored by Gildas Bazin's avatar Gildas Bazin

* ALL: WinCE port.

parent 7b137904
## Process this file with automake to produce Makefile.in ## Process this file with automake to produce Makefile.in
SUBDIRS = src examples misc SUBDIRS = src examples misc
DIST_SUBDIRS = $(SUBDIRS) doc debian DIST_SUBDIRS = $(SUBDIRS) doc debian wince
EXTRA_DIST = libdvbpsi.spec bootstrap EXTRA_DIST = libdvbpsi.spec bootstrap
......
...@@ -10,6 +10,7 @@ AM_CONFIG_HEADER(config.h) ...@@ -10,6 +10,7 @@ AM_CONFIG_HEADER(config.h)
#AC_CANONICAL_HOST #AC_CANONICAL_HOST
AC_PROG_CC AC_PROG_CC
AC_STDC_HEADERS AC_STDC_HEADERS
AC_C_INLINE
AM_PROG_LIBTOOL AM_PROG_LIBTOOL
...@@ -56,7 +57,20 @@ fi ...@@ -56,7 +57,20 @@ fi
dnl Check for headers dnl Check for headers
AC_CHECK_HEADERS(stdint.h inttypes.h) AC_CHECK_HEADERS(stdint.h inttypes.h)
AC_OUTPUT([Makefile src/Makefile examples/Makefile misc/Makefile doc/Makefile debian/Makefile]) dnl Check for variadic macros
AC_CACHE_CHECK([for variadic cpp macros],
[ac_cv_cpp_variadic_macros],
[AC_TRY_COMPILE(
[#include <stdio.h>
#define a(b,c...) printf(b,##c)],
[a("foo");a("%s","bar");a("%s%s","baz","quux");],
ac_cv_cpp_variadic_macros=yes,
ac_cv_cpp_variadic_macros=no)])
if test "${ac_cv_cpp_variadic_macros}" != "no"; then
AC_DEFINE(HAVE_VARIADIC_MACROS, 1, Support for variadic macros)
fi
AC_OUTPUT([Makefile src/Makefile examples/Makefile misc/Makefile doc/Makefile debian/Makefile wince/Makefile])
echo " echo "
libdvbpsi configuration libdvbpsi configuration
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
* dvbpsi_private.h: main private header * dvbpsi_private.h: main private header
*---------------------------------------------------------------------------- *----------------------------------------------------------------------------
* (c)2001-2002 VideoLAN * (c)2001-2002 VideoLAN
* $Id: dvbpsi_private.h,v 1.2 2002/01/22 20:30:16 bozo Exp $ * $Id$
* *
* Authors: Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr> * Authors: Arnaud de Bossoreille de Ribou <bozo@via.ecp.fr>
* *
...@@ -33,17 +33,33 @@ ...@@ -33,17 +33,33 @@
*****************************************************************************/ *****************************************************************************/
#define DVBPSI_ERROR(src, str) \ #define DVBPSI_ERROR(src, str) \
fprintf(stderr, "libdvbpsi error (" src "): " str "\n"); fprintf(stderr, "libdvbpsi error (" src "): " str "\n");
#define DVBPSI_ERROR_ARG(src, str, x...) \ #ifdef HAVE_VARIADIC_MACROS
# define DVBPSI_ERROR_ARG(src, str, x...) \
fprintf(stderr, "libdvbpsi error (" src "): " str "\n", x); fprintf(stderr, "libdvbpsi error (" src "): " str "\n", x);
#else
inline void DVBPSI_ERROR_ARG( char *src, const char *str, ... )
{ va_list ap; va_start( ap, str );
vfprintf(stderr, str, ap); fprintf(stderr,"\n"); va_end( ap ); }
#endif
#ifdef DEBUG #ifdef DEBUG
# define DVBPSI_DEBUG(src, str) \ # define DVBPSI_DEBUG(src, str) \
fprintf(stderr, "libdvbpsi debug (" src "): " str "\n"); fprintf(stderr, "libdvbpsi debug (" src "): " str "\n");
# ifdef HAVE_VARIADIC_MACROS
# define DVBPSI_DEBUG_ARG(src, str, x...) \ # define DVBPSI_DEBUG_ARG(src, str, x...) \
fprintf(stderr, "libdvbpsi debug (" src "): " str "\n", x); fprintf(stderr, "libdvbpsi debug (" src "): " str "\n", x);
# else
inline void DVBPSI_DEBUG_ARG( char *src, const char *str, ... )
{ va_list ap; va_start( ap, str );
vfprintf(stderr, str, ap); fprintf(stderr,"\n"); va_end( ap ); }
# endif
#else #else
# define DVBPSI_DEBUG(src, str) # define DVBPSI_DEBUG(src, str)
# ifdef HAVE_VARIADIC_MACROS
# define DVBPSI_DEBUG_ARG(src, str, x...) # define DVBPSI_DEBUG_ARG(src, str, x...)
# else
inline void DVBPSI_DEBUG_ARG( char *src, const char *str, ... ) {}
# endif
#endif #endif
......
NULL =
EXTRA_DIST = \
libdvbpsi.vcw \
libdvbpsi.vcp \
config.h \
$(NULL)
/* config.h. Generated by configure. */
/* config.h.in. Generated from configure.ac by autoheader. */
/* Define to 1 if you have the <dlfcn.h> header file. */
/* #undef HAVE_DLFCN_H */
/* Define to 1 if you have the <inttypes.h> header file. */
/* #undef HAVE_INTTYPES_H */
/* Define to 1 if you have the <memory.h> header file. */
#define HAVE_MEMORY_H 1
/* 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. */
#define HAVE_STDLIB_H 1
/* Define to 1 if you have the <strings.h> header file. */
#define HAVE_STRINGS_H 1
/* Define to 1 if you have the <string.h> header file. */
#define HAVE_STRING_H 1
/* Define to 1 if you have the <sys/stat.h> header file. */
#define HAVE_SYS_STAT_H 1
/* Define to 1 if you have the <sys/types.h> header file. */
#define HAVE_SYS_TYPES_H 1
/* Define to 1 if you have the <unistd.h> header file. */
#define HAVE_UNISTD_H 1
/* Define as `__inline' if that's what the C compiler calls it, or to nothing
if it is not supported. */
#define inline __inline
/* Name of package */
#define PACKAGE "libdvbpsi3"
/* Define to the address where bug reports for this package should be sent. */
#define PACKAGE_BUGREPORT ""
/* Define to the full name of this package. */
#define PACKAGE_NAME ""
/* Define to the full name and version of this package. */
#define PACKAGE_STRING ""
/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME ""
/* Define to the version of this package. */
#define PACKAGE_VERSION ""
/* Define to 1 if you have the ANSI C header files. */
#define STDC_HEADERS 1
/* Version number of package */
#define VERSION "0.1.5"
/* C99 types */
typedef unsigned char uint8_t;
typedef signed char int8_t;
typedef unsigned short uint16_t;
typedef signed short int16_t;
typedef unsigned int uint32_t;
typedef signed int int32_t;
typedef unsigned __int64 uint64_t;
typedef signed __int64 int64_t;
typedef uint32_t uintptr_t;
typedef int32_t intptr_t;
This diff is collapsed.
Microsoft eMbedded Visual Tools Workspace File, Format Version 4.00
# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
###############################################################################
Project: "libdvbpsi"=.\libdvbpsi.vcp - Package Owner=<4>
Package=<5>
{{{
}}}
Package=<4>
{{{
}}}
###############################################################################
Global:
Package=<5>
{{{
}}}
Package=<3>
{{{
}}}
###############################################################################
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment