aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Oberritter <obi@opendreambox.org>2006-01-22 12:32:45 +0000
committerAndreas Oberritter <obi@opendreambox.org>2006-01-22 12:32:45 +0000
commitd6c68fa2ec0f3c8b6248444a7414942291b571e1 (patch)
tree481ecc2c7ca754ec6d5be9eb55672ce677f57cf6
parenteb464659563590850a287589992f32021fc52369 (diff)
downloadenigma2-d6c68fa2ec0f3c8b6248444a7414942291b571e1.tar.gz
enigma2-d6c68fa2ec0f3c8b6248444a7414942291b571e1.zip
remove generated file "config.h":
pass preprocessor definitions as command line arguments instead this also drops the dependency on "autoheader"
-rw-r--r--acinclude.m41
-rwxr-xr-xautogen.sh2
-rw-r--r--configure.ac1
-rw-r--r--lib/base/eerror.h1
-rw-r--r--lib/base/encoding.cpp1
-rw-r--r--lib/base/filepush.cpp1
-rw-r--r--lib/dvb/decoder.cpp1
-rw-r--r--lib/dvb/demux.cpp1
-rw-r--r--lib/dvb/frontend.cpp1
-rw-r--r--lib/dvb/frontend.h1
-rw-r--r--lib/dvb/idvb.h1
-rw-r--r--lib/dvb/sec.cpp1
-rw-r--r--lib/dvb/sec.h1
-rw-r--r--lib/dvb/tstools.cpp1
-rw-r--r--lib/dvb/tstools.h1
-rw-r--r--lib/dvb/volume.cpp1
16 files changed, 1 insertions, 16 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 385008da..e58d2751 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -1,5 +1,4 @@
AC_DEFUN(TUXBOX_APPS,[
-AM_CONFIG_HEADER(config.h)
AM_MAINTAINER_MODE
INSTALL="$INSTALL -p"
diff --git a/autogen.sh b/autogen.sh
index d646011e..7ce66e1a 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -55,8 +55,6 @@ echo " libtoolize --automake"
libtoolize --automake
echo " autoconf"
autoconf
-echo " autoheader"
-autoheader
echo " automake --add-missing"
automake --add-missing
diff --git a/configure.ac b/configure.ac
index 0fe3c481..a985afd0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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"
diff --git a/lib/base/eerror.h b/lib/base/eerror.h
index 2ae89e2f..ea5fcc51 100644
--- a/lib/base/eerror.h
+++ b/lib/base/eerror.h
@@ -1,7 +1,6 @@
#ifndef __E_ERROR__
#define __E_ERROR__
-#include "config.h"
#include <string>
#include <map>
#include <new>
diff --git a/lib/base/encoding.cpp b/lib/base/encoding.cpp
index 48be7873..2b834b6c 100644
--- a/lib/base/encoding.cpp
+++ b/lib/base/encoding.cpp
@@ -1,6 +1,5 @@
#include <lib/base/encoding.h>
#include <lib/base/eerror.h>
-#include <config.h>
eDVBTextEncodingHandler encodingHandler; // the one and only instance
diff --git a/lib/base/filepush.cpp b/lib/base/filepush.cpp
index b99896fc..ce33d04f 100644
--- a/lib/base/filepush.cpp
+++ b/lib/base/filepush.cpp
@@ -1,4 +1,3 @@
-#include <config.h>
#include <lib/base/filepush.h>
#include <lib/base/eerror.h>
#include <errno.h>
diff --git a/lib/dvb/decoder.cpp b/lib/dvb/decoder.cpp
index cbc40683..8e21dcad 100644
--- a/lib/dvb/decoder.cpp
+++ b/lib/dvb/decoder.cpp
@@ -1,4 +1,3 @@
-#include <config.h>
#include <lib/base/eerror.h>
#include <lib/dvb/decoder.h>
#if HAVE_DVB_API_VERSION < 3
diff --git a/lib/dvb/demux.cpp b/lib/dvb/demux.cpp
index 384a77e1..5be44dc9 100644
--- a/lib/dvb/demux.cpp
+++ b/lib/dvb/demux.cpp
@@ -1,4 +1,3 @@
-#include <config.h>
#include <stdio.h>
#include <fcntl.h>
#include <sys/ioctl.h>
diff --git a/lib/dvb/frontend.cpp b/lib/dvb/frontend.cpp
index 99cafe75..c44a312a 100644
--- a/lib/dvb/frontend.cpp
+++ b/lib/dvb/frontend.cpp
@@ -1,4 +1,3 @@
-#include <config.h>
#include <lib/dvb/dvb.h>
#include <lib/base/eerror.h>
#include <errno.h>
diff --git a/lib/dvb/frontend.h b/lib/dvb/frontend.h
index 0a7943f9..8843f6f4 100644
--- a/lib/dvb/frontend.h
+++ b/lib/dvb/frontend.h
@@ -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>
diff --git a/lib/dvb/idvb.h b/lib/dvb/idvb.h
index 5b6f19fc..f18d4f34 100644
--- a/lib/dvb/idvb.h
+++ b/lib/dvb/idvb.h
@@ -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
diff --git a/lib/dvb/sec.cpp b/lib/dvb/sec.cpp
index 5d74753a..58a1b6fa 100644
--- a/lib/dvb/sec.cpp
+++ b/lib/dvb/sec.cpp
@@ -1,4 +1,3 @@
-#include <config.h>
#include <lib/dvb/dvb.h>
#include <lib/dvb/sec.h>
#include <lib/dvb/rotor_calc.h>
diff --git a/lib/dvb/sec.h b/lib/dvb/sec.h
index 8a51f331..18bc2b37 100644
--- a/lib/dvb/sec.h
+++ b/lib/dvb/sec.h
@@ -1,7 +1,6 @@
#ifndef __dvb_sec_h
#define __dvb_sec_h
-#include <config.h>
#include <lib/dvb/idvb.h>
#include <list>
diff --git a/lib/dvb/tstools.cpp b/lib/dvb/tstools.cpp
index 20eb3ce6..02a0b8a9 100644
--- a/lib/dvb/tstools.cpp
+++ b/lib/dvb/tstools.cpp
@@ -1,4 +1,3 @@
-#include <config.h>
#include <lib/dvb/tstools.h>
#include <lib/base/eerror.h>
#include <unistd.h>
diff --git a/lib/dvb/tstools.h b/lib/dvb/tstools.h
index 509946de..95fbd9e2 100644
--- a/lib/dvb/tstools.h
+++ b/lib/dvb/tstools.h
@@ -1,7 +1,6 @@
#ifndef __lib_dvb_tstools_h
#define __lib_dvb_tstools_h
-#include <config.h>
#include <sys/types.h>
/*
diff --git a/lib/dvb/volume.cpp b/lib/dvb/volume.cpp
index e57fbc80..9cfcf2ee 100644
--- a/lib/dvb/volume.cpp
+++ b/lib/dvb/volume.cpp
@@ -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"