remove generated file "config.h":
authorAndreas Oberritter <obi@opendreambox.org>
Sun, 22 Jan 2006 12:32:45 +0000 (12:32 +0000)
committerAndreas Oberritter <obi@opendreambox.org>
Sun, 22 Jan 2006 12:32:45 +0000 (12:32 +0000)
pass preprocessor definitions as command line arguments instead
this also drops the dependency on "autoheader"

16 files changed:
acinclude.m4
autogen.sh
configure.ac
lib/base/eerror.h
lib/base/encoding.cpp
lib/base/filepush.cpp
lib/dvb/decoder.cpp
lib/dvb/demux.cpp
lib/dvb/frontend.cpp
lib/dvb/frontend.h
lib/dvb/idvb.h
lib/dvb/sec.cpp
lib/dvb/sec.h
lib/dvb/tstools.cpp
lib/dvb/tstools.h
lib/dvb/volume.cpp

index 385008d..e58d275 100644 (file)
@@ -1,5 +1,4 @@
 AC_DEFUN(TUXBOX_APPS,[
-AM_CONFIG_HEADER(config.h)
 AM_MAINTAINER_MODE
 
 INSTALL="$INSTALL -p"
index d646011..7ce66e1 100755 (executable)
@@ -55,8 +55,6 @@ echo "  libtoolize --automake"
 libtoolize --automake
 echo "  autoconf"
 autoconf
-echo "  autoheader"
-autoheader
 echo "  automake --add-missing"
 automake --add-missing 
 
index 0fe3c48..a985afd 100644 (file)
@@ -33,6 +33,7 @@ if test "$withsdl" = "yes" ; then
        AC_DEFINE_UNQUOTED([WITH_SDL],[$withsdl],[With SDL])
 fi
 
+CPPFLAGS="$CPPFLAGS "'-I$(top_srcdir)'
 CPPFLAGS="$CPPFLAGS $PYTHON_CPPFLAGS $MD5SUM_CFLAGS $FREETYPE_CFLAGS $FRIBIDI_CFLAGS $ID3TAG_CFLAGS $MAD_CFLAGS $PLUGINS_CFLAGS $PNG_CFLAGS $SDL_CFLAGS $SIGC_CFLAGS $XMLTREE_CFLAGS $DVBSI_CFLAGS"
 CXXFLAGS="$CXXFLAGS -fno-rtti -fno-exceptions -Wall"
 LDFLAGS="$LDFLAGS $PYTHON_LDFLAGS $SDL_LDFLAGS"
index 2ae89e2..ea5fcc5 100644 (file)
@@ -1,7 +1,6 @@
 #ifndef __E_ERROR__
 #define __E_ERROR__
 
-#include "config.h"
 #include <string>
 #include <map>       
 #include <new>
index 48be787..2b834b6 100644 (file)
@@ -1,6 +1,5 @@
 #include <lib/base/encoding.h>
 #include <lib/base/eerror.h>
-#include <config.h>
 
 eDVBTextEncodingHandler encodingHandler;  // the one and only instance
 
index b99896f..ce33d04 100644 (file)
@@ -1,4 +1,3 @@
-#include <config.h>
 #include <lib/base/filepush.h>
 #include <lib/base/eerror.h>
 #include <errno.h>
index cbc4068..8e21dca 100644 (file)
@@ -1,4 +1,3 @@
-#include <config.h>
 #include <lib/base/eerror.h>
 #include <lib/dvb/decoder.h>
 #if HAVE_DVB_API_VERSION < 3 
index 384a77e..5be44dc 100644 (file)
@@ -1,4 +1,3 @@
-#include <config.h>
 #include <stdio.h>
 #include <fcntl.h>
 #include <sys/ioctl.h>
index 99cafe7..c44a312 100644 (file)
@@ -1,4 +1,3 @@
-#include <config.h>
 #include <lib/dvb/dvb.h>
 #include <lib/base/eerror.h>
 #include <errno.h>
index 0a7943f..8843f6f 100644 (file)
@@ -1,7 +1,6 @@
 #ifndef __dvb_frontend_h
 #define __dvb_frontend_h
 
-#include <config.h>
 #include <lib/dvb/idvb.h>
 #include <lib/dvb/sec.h>
 
index 5b6f19f..f18d4f3 100644 (file)
@@ -1,7 +1,6 @@
 #ifndef __dvb_idvb_h
 #define __dvb_idvb_h
 
-#include <config.h>
 #if HAVE_DVB_API_VERSION < 3
 #include <ost/frontend.h>
 #define FRONTENDPARAMETERS FrontendParameters
index 5d74753..58a1b6f 100644 (file)
@@ -1,4 +1,3 @@
-#include <config.h>
 #include <lib/dvb/dvb.h>
 #include <lib/dvb/sec.h>
 #include <lib/dvb/rotor_calc.h>
index 8a51f33..18bc2b3 100644 (file)
@@ -1,7 +1,6 @@
 #ifndef __dvb_sec_h
 #define __dvb_sec_h
 
-#include <config.h>
 #include <lib/dvb/idvb.h>
 #include <list>
 
index 20eb3ce..02a0b8a 100644 (file)
@@ -1,4 +1,3 @@
-#include <config.h>
 #include <lib/dvb/tstools.h>
 #include <lib/base/eerror.h>
 #include <unistd.h>
index 509946d..95fbd9e 100644 (file)
@@ -1,7 +1,6 @@
 #ifndef __lib_dvb_tstools_h
 #define __lib_dvb_tstools_h
 
-#include <config.h>
 #include <sys/types.h>
 
 /*
index e57fbc8..9cfcf2e 100644 (file)
@@ -4,7 +4,6 @@
 #include <sys/ioctl.h>
 #include <unistd.h>
 
-#include <config.h>
 #if HAVE_DVB_API_VERSION < 3
 #define VIDEO_DEV "/dev/dvb/card0/video0"
 #define AUDIO_DEV "/dev/dvb/card0/audio0"