diff options
author | Sami Kerola <kerolasa@iki.fi> | 2013-02-12 22:05:45 (GMT) |
---|---|---|
committer | Sami Kerola <kerolasa@iki.fi> | 2013-05-26 09:38:10 (GMT) |
commit | 73b79587708d49adfec3edb464fd0970fc9f9022 (patch) | |
tree | 17a8fd36635ccf8e56d5f4fa821678665348dab6 /src | |
parent | f5bfd27f524d33e9aebf502dc6c0e8ff316fed7c (diff) | |
download | fluxbox-73b79587708d49adfec3edb464fd0970fc9f9022.zip fluxbox-73b79587708d49adfec3edb464fd0970fc9f9022.tar.bz2 |
build-sys: include config.h to all files using automake
Do not try to be too smart which compilations need config.h, as most of
them will simply because of the config.h has information about system
capabilities.
Diffstat (limited to 'src')
36 files changed, 3 insertions, 133 deletions
diff --git a/src/ClockTool.cc b/src/ClockTool.cc index b6d343f..0812092 100644 --- a/src/ClockTool.cc +++ b/src/ClockTool.cc | |||
@@ -37,10 +37,6 @@ | |||
37 | #include "FbTk/I18n.hh" | 37 | #include "FbTk/I18n.hh" |
38 | #include "FbTk/FbTime.hh" | 38 | #include "FbTk/FbTime.hh" |
39 | 39 | ||
40 | #ifdef HAVE_CONFIG_H | ||
41 | #include "config.h" | ||
42 | #endif // HAVE_CONFIG_H | ||
43 | |||
44 | #ifdef HAVE_CTIME | 40 | #ifdef HAVE_CTIME |
45 | #include <ctime> | 41 | #include <ctime> |
46 | #else | 42 | #else |
diff --git a/src/CurrentWindowCmd.cc b/src/CurrentWindowCmd.cc index 6138e64..0d2e12f 100644 --- a/src/CurrentWindowCmd.cc +++ b/src/CurrentWindowCmd.cc | |||
@@ -39,10 +39,6 @@ | |||
39 | #include "FbTk/Util.hh" | 39 | #include "FbTk/Util.hh" |
40 | #include "FbTk/RelCalcHelper.hh" | 40 | #include "FbTk/RelCalcHelper.hh" |
41 | 41 | ||
42 | #ifdef HAVE_CONFIG_H | ||
43 | #include "config.h" | ||
44 | #endif // HAVE_CONFIG_H | ||
45 | |||
46 | #ifdef HAVE_CSTDLIB | 42 | #ifdef HAVE_CSTDLIB |
47 | #include <cstdlib> | 43 | #include <cstdlib> |
48 | #else | 44 | #else |
diff --git a/src/Debug.hh b/src/Debug.hh index 3688b52..59072e8 100644 --- a/src/Debug.hh +++ b/src/Debug.hh | |||
@@ -1,7 +1,6 @@ | |||
1 | #ifndef DEBUG_HH | 1 | #ifndef DEBUG_HH |
2 | #define DEBUG_HH | 2 | #define DEBUG_HH |
3 | 3 | ||
4 | #include "config.h" | ||
5 | #include <iostream> | 4 | #include <iostream> |
6 | 5 | ||
7 | #ifdef DEBUG | 6 | #ifdef DEBUG |
diff --git a/src/FbCommands.cc b/src/FbCommands.cc index eb7fbfd..c8cf4ae 100644 --- a/src/FbCommands.cc +++ b/src/FbCommands.cc | |||
@@ -54,11 +54,6 @@ | |||
54 | #include <string.h> | 54 | #include <string.h> |
55 | #endif | 55 | #endif |
56 | 56 | ||
57 | |||
58 | #ifdef HAVE_CONFIG_H | ||
59 | #include "config.h" | ||
60 | #endif // HAVE_CONFIG_H | ||
61 | |||
62 | #if defined(__EMX__) && defined(HAVE_PROCESS_H) | 57 | #if defined(__EMX__) && defined(HAVE_PROCESS_H) |
63 | #include <process.h> // for P_NOWAIT | 58 | #include <process.h> // for P_NOWAIT |
64 | #endif // __EMX__ | 59 | #endif // __EMX__ |
diff --git a/src/FbTk/FbString.hh b/src/FbTk/FbString.hh index 4f3e792..750014d 100644 --- a/src/FbTk/FbString.hh +++ b/src/FbTk/FbString.hh | |||
@@ -25,7 +25,6 @@ | |||
25 | 25 | ||
26 | #include <string> | 26 | #include <string> |
27 | 27 | ||
28 | #include "config.h" | ||
29 | #ifdef HAVE_ICONV | 28 | #ifdef HAVE_ICONV |
30 | #include <iconv.h> | 29 | #include <iconv.h> |
31 | #endif // HAVE_ICONV | 30 | #endif // HAVE_ICONV |
diff --git a/src/FbTk/FbTime.hh b/src/FbTk/FbTime.hh index 3d80b12..42ee912 100644 --- a/src/FbTk/FbTime.hh +++ b/src/FbTk/FbTime.hh | |||
@@ -22,12 +22,6 @@ | |||
22 | #ifndef FBTK_FBTIME_HH | 22 | #ifndef FBTK_FBTIME_HH |
23 | #define FBTK_FBTIME_HH | 23 | #define FBTK_FBTIME_HH |
24 | 24 | ||
25 | |||
26 | #ifdef HAVE_CONFIG_H | ||
27 | #include "config.h" | ||
28 | #endif // HAVE_CONFIG_H | ||
29 | |||
30 | |||
31 | #ifdef HAVE_INTTYPES_H | 25 | #ifdef HAVE_INTTYPES_H |
32 | #include <inttypes.h> | 26 | #include <inttypes.h> |
33 | #endif // HAVE_INTTYPES_H | 27 | #endif // HAVE_INTTYPES_H |
diff --git a/src/FbTk/FbWindow.cc b/src/FbTk/FbWindow.cc index 257447f..4582574 100644 --- a/src/FbTk/FbWindow.cc +++ b/src/FbTk/FbWindow.cc | |||
@@ -28,10 +28,6 @@ | |||
28 | #include "App.hh" | 28 | #include "App.hh" |
29 | #include "Transparent.hh" | 29 | #include "Transparent.hh" |
30 | 30 | ||
31 | #ifdef HAVE_CONFIG_H | ||
32 | #include "config.h" | ||
33 | #endif // HAVE_CONFIG_H | ||
34 | |||
35 | #include <X11/Xutil.h> | 31 | #include <X11/Xutil.h> |
36 | #include <X11/Xatom.h> | 32 | #include <X11/Xatom.h> |
37 | 33 | ||
diff --git a/src/FbTk/FileUtil.hh b/src/FbTk/FileUtil.hh index d031a6e..fbc8ceb 100644 --- a/src/FbTk/FileUtil.hh +++ b/src/FbTk/FileUtil.hh | |||
@@ -22,9 +22,6 @@ | |||
22 | #ifndef FBTK_FILEUTIL_HH | 22 | #ifndef FBTK_FILEUTIL_HH |
23 | #define FBTK_FILEUTIL_HH | 23 | #define FBTK_FILEUTIL_HH |
24 | 24 | ||
25 | #ifdef HAVE_CONFIG_H | ||
26 | #include "config.h" | ||
27 | #endif // HAVE_CONFIG_H | ||
28 | #ifdef HAVE_CTIME | 25 | #ifdef HAVE_CTIME |
29 | #include <ctime> | 26 | #include <ctime> |
30 | #else | 27 | #else |
diff --git a/src/FbTk/Font.cc b/src/FbTk/Font.cc index 544ddc2..5987134 100644 --- a/src/FbTk/Font.cc +++ b/src/FbTk/Font.cc | |||
@@ -25,10 +25,6 @@ | |||
25 | #include "FontImp.hh" | 25 | #include "FontImp.hh" |
26 | #include "App.hh" | 26 | #include "App.hh" |
27 | 27 | ||
28 | #ifdef HAVE_CONFIG_H | ||
29 | #include "config.h" | ||
30 | #endif // HAVE_CONFIG_H | ||
31 | |||
32 | // for antialias | 28 | // for antialias |
33 | #ifdef USE_XFT | 29 | #ifdef USE_XFT |
34 | #include "XftFontImp.hh" | 30 | #include "XftFontImp.hh" |
diff --git a/src/FbTk/Font.hh b/src/FbTk/Font.hh index 6ea2571..8a0f05d 100644 --- a/src/FbTk/Font.hh +++ b/src/FbTk/Font.hh | |||
@@ -24,10 +24,6 @@ | |||
24 | 24 | ||
25 | #include <X11/Xlib.h> | 25 | #include <X11/Xlib.h> |
26 | 26 | ||
27 | #ifdef HAVE_CONFIG_H | ||
28 | #include "config.h" | ||
29 | #endif // HAVE_CONFIG_H | ||
30 | |||
31 | #include "FbString.hh" | 27 | #include "FbString.hh" |
32 | #include "Color.hh" | 28 | #include "Color.hh" |
33 | #include "Orientation.hh" | 29 | #include "Orientation.hh" |
diff --git a/src/FbTk/I18n.hh b/src/FbTk/I18n.hh index 0413f74..4ff4b77 100644 --- a/src/FbTk/I18n.hh +++ b/src/FbTk/I18n.hh | |||
@@ -30,11 +30,6 @@ | |||
30 | 30 | ||
31 | #include "FbString.hh" | 31 | #include "FbString.hh" |
32 | 32 | ||
33 | #ifdef HAVE_CONFIG_H | ||
34 | #include "config.h" | ||
35 | #endif // HAVE_CONFIG_H | ||
36 | |||
37 | |||
38 | #ifdef HAVE_LOCALE_H | 33 | #ifdef HAVE_LOCALE_H |
39 | #include <locale.h> | 34 | #include <locale.h> |
40 | #endif // HAVE_LOCALE_H | 35 | #endif // HAVE_LOCALE_H |
diff --git a/src/FbTk/Image.cc b/src/FbTk/Image.cc index 1cf94fa..f1bca2c 100644 --- a/src/FbTk/Image.cc +++ b/src/FbTk/Image.cc | |||
@@ -23,10 +23,6 @@ | |||
23 | #include "StringUtil.hh" | 23 | #include "StringUtil.hh" |
24 | #include "FileUtil.hh" | 24 | #include "FileUtil.hh" |
25 | 25 | ||
26 | #ifdef HAVE_CONFIG_H | ||
27 | #include "config.h" | ||
28 | #endif // HAVE_CONFIG_H | ||
29 | |||
30 | #ifdef HAVE_XPM | 26 | #ifdef HAVE_XPM |
31 | #include "ImageXPM.hh" | 27 | #include "ImageXPM.hh" |
32 | #endif // HAVE_XPM | 28 | #endif // HAVE_XPM |
diff --git a/src/FbTk/ImageControl.cc b/src/FbTk/ImageControl.cc index c99ef9a..8b5f23d 100644 --- a/src/FbTk/ImageControl.cc +++ b/src/FbTk/ImageControl.cc | |||
@@ -35,11 +35,6 @@ | |||
35 | #define _GNU_SOURCE | 35 | #define _GNU_SOURCE |
36 | #endif // _GNU_SOURCE | 36 | #endif // _GNU_SOURCE |
37 | 37 | ||
38 | |||
39 | #ifdef HAVE_CONFIG_H | ||
40 | #include "config.h" | ||
41 | #endif // HAVE_CONFIG_H | ||
42 | |||
43 | #ifdef HAVE_SYS_TYPES_H | 38 | #ifdef HAVE_SYS_TYPES_H |
44 | #include <sys/types.h> | 39 | #include <sys/types.h> |
45 | #endif // HAVE_SYS_TYPES_H | 40 | #endif // HAVE_SYS_TYPES_H |
diff --git a/src/FbTk/Makefile.am b/src/FbTk/Makefile.am index d54eaae..3c34b22 100644 --- a/src/FbTk/Makefile.am +++ b/src/FbTk/Makefile.am | |||
@@ -1,6 +1,6 @@ | |||
1 | noinst_LIBRARIES = libFbTk.a | 1 | noinst_LIBRARIES = libFbTk.a |
2 | 2 | ||
3 | AM_CPPFLAGS=@CPPFLAGS@ | 3 | AM_CPPFLAGS=-include $(top_builddir)/config.h |
4 | 4 | ||
5 | if XFT | 5 | if XFT |
6 | xft_SOURCE= XftFontImp.hh XftFontImp.cc | 6 | xft_SOURCE= XftFontImp.hh XftFontImp.cc |
diff --git a/src/FbTk/Menu.cc b/src/FbTk/Menu.cc index 3632fc9..3e3481f 100644 --- a/src/FbTk/Menu.cc +++ b/src/FbTk/Menu.cc | |||
@@ -29,10 +29,6 @@ | |||
29 | 29 | ||
30 | #include "Menu.hh" | 30 | #include "Menu.hh" |
31 | 31 | ||
32 | #ifdef HAVE_CONFIG_H | ||
33 | #include "config.h" | ||
34 | #endif //HAVE_CONFIG_H | ||
35 | |||
36 | #include "MenuItem.hh" | 32 | #include "MenuItem.hh" |
37 | #include "MenuSeparator.hh" | 33 | #include "MenuSeparator.hh" |
38 | #include "ImageControl.hh" | 34 | #include "ImageControl.hh" |
diff --git a/src/FbTk/RegExp.hh b/src/FbTk/RegExp.hh index 47d2cd5..b3106c0 100644 --- a/src/FbTk/RegExp.hh +++ b/src/FbTk/RegExp.hh | |||
@@ -26,10 +26,6 @@ | |||
26 | 26 | ||
27 | #include "NotCopyable.hh" | 27 | #include "NotCopyable.hh" |
28 | 28 | ||
29 | #ifdef HAVE_CONFIG_H | ||
30 | #include "config.h" | ||
31 | #endif // HAVE_CONFIG_H | ||
32 | |||
33 | #include <string> | 29 | #include <string> |
34 | 30 | ||
35 | /* | 31 | /* |
diff --git a/src/FbTk/Shape.cc b/src/FbTk/Shape.cc index 32745af..806828f 100644 --- a/src/FbTk/Shape.cc +++ b/src/FbTk/Shape.cc | |||
@@ -26,10 +26,6 @@ | |||
26 | #include "GContext.hh" | 26 | #include "GContext.hh" |
27 | #include "FbPixmap.hh" | 27 | #include "FbPixmap.hh" |
28 | 28 | ||
29 | #ifdef HAVE_CONFIG_H | ||
30 | #include "config.h" | ||
31 | #endif // HAVE_CONFIG_H | ||
32 | |||
33 | #ifdef HAVE_CSTRING | 29 | #ifdef HAVE_CSTRING |
34 | #include <cstring> | 30 | #include <cstring> |
35 | #else | 31 | #else |
diff --git a/src/FbTk/ThemeItems.cc b/src/FbTk/ThemeItems.cc index 774a14d..b1f9a60 100644 --- a/src/FbTk/ThemeItems.cc +++ b/src/FbTk/ThemeItems.cc | |||
@@ -24,10 +24,6 @@ | |||
24 | #ifndef THEMEITEMS_HH | 24 | #ifndef THEMEITEMS_HH |
25 | #define THEMEITEMS_HH | 25 | #define THEMEITEMS_HH |
26 | 26 | ||
27 | #ifdef HAVE_CONFIG_H | ||
28 | #include "config.h" | ||
29 | #endif // HAVE_CONFIG_H | ||
30 | |||
31 | #include "Theme.hh" | 27 | #include "Theme.hh" |
32 | #include "Color.hh" | 28 | #include "Color.hh" |
33 | #include "Texture.hh" | 29 | #include "Texture.hh" |
diff --git a/src/FbTk/Timer.hh b/src/FbTk/Timer.hh index b4ce55e..4bdd13a 100644 --- a/src/FbTk/Timer.hh +++ b/src/FbTk/Timer.hh | |||
@@ -29,10 +29,6 @@ | |||
29 | #include "Command.hh" | 29 | #include "Command.hh" |
30 | #include "FbTime.hh" | 30 | #include "FbTime.hh" |
31 | 31 | ||
32 | #ifdef HAVE_CONFIG_H | ||
33 | #include "config.h" | ||
34 | #endif //HAVE_CONFIG_H | ||
35 | |||
36 | #include <string> | 32 | #include <string> |
37 | 33 | ||
38 | namespace FbTk { | 34 | namespace FbTk { |
diff --git a/src/FbTk/Transparent.cc b/src/FbTk/Transparent.cc index 04fee67..7db207a 100644 --- a/src/FbTk/Transparent.cc +++ b/src/FbTk/Transparent.cc | |||
@@ -23,10 +23,6 @@ | |||
23 | #include "App.hh" | 23 | #include "App.hh" |
24 | #include "I18n.hh" | 24 | #include "I18n.hh" |
25 | 25 | ||
26 | #ifdef HAVE_CONFIG_H | ||
27 | #include "config.h" | ||
28 | #endif // HAVE_CONFIG_H | ||
29 | |||
30 | #ifdef HAVE_XRENDER | 26 | #ifdef HAVE_XRENDER |
31 | #include <X11/extensions/Xrender.h> | 27 | #include <X11/extensions/Xrender.h> |
32 | #endif // HAVE_XRENDER | 28 | #endif // HAVE_XRENDER |
diff --git a/src/FbTk/XftFontImp.cc b/src/FbTk/XftFontImp.cc index 15c8212..6568457 100644 --- a/src/FbTk/XftFontImp.cc +++ b/src/FbTk/XftFontImp.cc | |||
@@ -25,10 +25,6 @@ | |||
25 | 25 | ||
26 | #include <math.h> | 26 | #include <math.h> |
27 | 27 | ||
28 | #ifdef HAVE_CONFIG_H | ||
29 | #include "config.h" | ||
30 | #endif //HAVE_CONFIG_H | ||
31 | |||
32 | namespace FbTk { | 28 | namespace FbTk { |
33 | 29 | ||
34 | XftFontImp::XftFontImp(const char *name, bool utf8): | 30 | XftFontImp::XftFontImp(const char *name, bool utf8): |
diff --git a/src/FbTk/XmbFontImp.cc b/src/FbTk/XmbFontImp.cc index 34abee9..6370d86 100644 --- a/src/FbTk/XmbFontImp.cc +++ b/src/FbTk/XmbFontImp.cc | |||
@@ -27,10 +27,6 @@ | |||
27 | #include "FbPixmap.hh" | 27 | #include "FbPixmap.hh" |
28 | #include "GContext.hh" | 28 | #include "GContext.hh" |
29 | 29 | ||
30 | #ifdef HAVE_CONFIG_H | ||
31 | #include "config.h" | ||
32 | #endif //HAVE_CONFIG_H | ||
33 | |||
34 | #ifdef HAVE_SETLOCALE | 30 | #ifdef HAVE_SETLOCALE |
35 | #include <locale.h> | 31 | #include <locale.h> |
36 | #endif // HAVE_SETLOCALE | 32 | #endif // HAVE_SETLOCALE |
diff --git a/src/FbTk/stringstream.hh b/src/FbTk/stringstream.hh index 54bd6f0..31560c9 100644 --- a/src/FbTk/stringstream.hh +++ b/src/FbTk/stringstream.hh | |||
@@ -22,10 +22,6 @@ | |||
22 | #ifndef FBTK_STRINGSTREAM_HH | 22 | #ifndef FBTK_STRINGSTREAM_HH |
23 | #define FBTK_STRINGSTREAM_HH | 23 | #define FBTK_STRINGSTREAM_HH |
24 | 24 | ||
25 | #ifdef HAVE_CONFIG_H | ||
26 | #include "config.h" | ||
27 | #endif // HAVE_CONFIG_H | ||
28 | |||
29 | #ifdef HAVE_SSTREAM | 25 | #ifdef HAVE_SSTREAM |
30 | #include <sstream> | 26 | #include <sstream> |
31 | #define FbTk_istringstream std::istringstream | 27 | #define FbTk_istringstream std::istringstream |
diff --git a/src/IconButton.cc b/src/IconButton.cc index 7c70a63..f7b4f5f 100644 --- a/src/IconButton.cc +++ b/src/IconButton.cc | |||
@@ -32,10 +32,6 @@ | |||
32 | #include "FbTk/ImageControl.hh" | 32 | #include "FbTk/ImageControl.hh" |
33 | #include "FbTk/TextUtils.hh" | 33 | #include "FbTk/TextUtils.hh" |
34 | 34 | ||
35 | #ifdef HAVE_CONFIG_H | ||
36 | #include "config.h" | ||
37 | #endif // HAVE_CONFIG_H | ||
38 | |||
39 | #include <X11/Xutil.h> | 35 | #include <X11/Xutil.h> |
40 | #ifdef SHAPE | 36 | #ifdef SHAPE |
41 | #include <X11/extensions/shape.h> | 37 | #include <X11/extensions/shape.h> |
diff --git a/src/Keys.cc b/src/Keys.cc index 388ec52..79b0403 100644 --- a/src/Keys.cc +++ b/src/Keys.cc | |||
@@ -40,11 +40,6 @@ | |||
40 | #include "FbTk/AutoReloadHelper.hh" | 40 | #include "FbTk/AutoReloadHelper.hh" |
41 | #include "FbTk/STLUtil.hh" | 41 | #include "FbTk/STLUtil.hh" |
42 | 42 | ||
43 | #ifdef HAVE_CONFIG_H | ||
44 | #include "config.h" | ||
45 | #endif // HAVE_CONFIG_H | ||
46 | |||
47 | |||
48 | #ifdef HAVE_CCTYPE | 43 | #ifdef HAVE_CCTYPE |
49 | #include <cctype> | 44 | #include <cctype> |
50 | #else | 45 | #else |
diff --git a/src/Makefile.am b/src/Makefile.am index 257bdbb..966546c 100644 --- a/src/Makefile.am +++ b/src/Makefile.am | |||
@@ -38,7 +38,7 @@ DEFAULT_WINDOWMENU=@DEFAULT_WINDOWMENU@ | |||
38 | PROGRAM_PREFIX=@program_prefix@ | 38 | PROGRAM_PREFIX=@program_prefix@ |
39 | PROGRAM_SUFFIX=@program_suffix@ | 39 | PROGRAM_SUFFIX=@program_suffix@ |
40 | 40 | ||
41 | AM_CPPFLAGS= | 41 | AM_CPPFLAGS=-include $(top_builddir)/config.h |
42 | 42 | ||
43 | bin_PROGRAMS= fluxbox | 43 | bin_PROGRAMS= fluxbox |
44 | BUILT_SOURCES = defaults.hh defaults.cc | 44 | BUILT_SOURCES = defaults.hh defaults.cc |
diff --git a/src/Screen.cc b/src/Screen.cc index 366b8df..9bf8e40 100644 --- a/src/Screen.cc +++ b/src/Screen.cc | |||
@@ -82,10 +82,6 @@ | |||
82 | #define _GNU_SOURCE | 82 | #define _GNU_SOURCE |
83 | #endif // _GNU_SOURCE | 83 | #endif // _GNU_SOURCE |
84 | 84 | ||
85 | #ifdef HAVE_CONFIG_H | ||
86 | #include "config.h" | ||
87 | #endif // HAVE_CONFIG_H | ||
88 | |||
89 | #ifdef USE_SLIT | 85 | #ifdef USE_SLIT |
90 | #include "Slit.hh" | 86 | #include "Slit.hh" |
91 | #include "SlitClient.hh" | 87 | #include "SlitClient.hh" |
diff --git a/src/Slit.cc b/src/Slit.cc index 7d6b1ef..47cd11f 100644 --- a/src/Slit.cc +++ b/src/Slit.cc | |||
@@ -29,10 +29,6 @@ | |||
29 | #define _GNU_SOURCE | 29 | #define _GNU_SOURCE |
30 | #endif // _GNU_SOURCE | 30 | #endif // _GNU_SOURCE |
31 | 31 | ||
32 | #ifdef HAVE_CONFIG_H | ||
33 | #include "config.h" | ||
34 | #endif // HAVE_CONFIG_H | ||
35 | |||
36 | #include "Screen.hh" | 32 | #include "Screen.hh" |
37 | #include "ScreenPlacement.hh" | 33 | #include "ScreenPlacement.hh" |
38 | #include "FbTk/ImageControl.hh" | 34 | #include "FbTk/ImageControl.hh" |
diff --git a/src/Toolbar.cc b/src/Toolbar.cc index 4300790..775bf39 100644 --- a/src/Toolbar.cc +++ b/src/Toolbar.cc | |||
@@ -60,10 +60,6 @@ | |||
60 | #define _GNU_SOURCE | 60 | #define _GNU_SOURCE |
61 | #endif // _GNU_SOURCE | 61 | #endif // _GNU_SOURCE |
62 | 62 | ||
63 | #ifdef HAVE_CONFIG_H | ||
64 | #include "config.h" | ||
65 | #endif // HAVE_CONFIG_H | ||
66 | |||
67 | #include <X11/Xutil.h> | 63 | #include <X11/Xutil.h> |
68 | #include <X11/keysym.h> | 64 | #include <X11/keysym.h> |
69 | 65 | ||
diff --git a/src/Window.cc b/src/Window.cc index c09cc24..4c81124 100644 --- a/src/Window.cc +++ b/src/Window.cc | |||
@@ -55,9 +55,6 @@ | |||
55 | #include "FbTk/Select2nd.hh" | 55 | #include "FbTk/Select2nd.hh" |
56 | #include "FbTk/MemFun.hh" | 56 | #include "FbTk/MemFun.hh" |
57 | 57 | ||
58 | #ifdef HAVE_CONFIG_H | ||
59 | #include "config.h" | ||
60 | #endif // HAVE_CONFIG_H | ||
61 | #ifdef SHAPE | 58 | #ifdef SHAPE |
62 | #include <X11/extensions/shape.h> | 59 | #include <X11/extensions/shape.h> |
63 | #endif // SHAPE | 60 | #endif // SHAPE |
diff --git a/src/WindowState.cc b/src/WindowState.cc index b2c76b0..2f1ee0e 100644 --- a/src/WindowState.cc +++ b/src/WindowState.cc | |||
@@ -23,10 +23,6 @@ | |||
23 | 23 | ||
24 | #include "FbTk/StringUtil.hh" | 24 | #include "FbTk/StringUtil.hh" |
25 | 25 | ||
26 | #ifdef HAVE_CONFIG_H | ||
27 | #include "config.h" | ||
28 | #endif // HAVE_CONFIG_H | ||
29 | |||
30 | #ifdef HAVE_CSTDLIB | 26 | #ifdef HAVE_CSTDLIB |
31 | #include <cstdlib> | 27 | #include <cstdlib> |
32 | #else | 28 | #else |
diff --git a/src/Workspace.cc b/src/Workspace.cc index a162b4c..6a721cb 100644 --- a/src/Workspace.cc +++ b/src/Workspace.cc | |||
@@ -41,10 +41,6 @@ | |||
41 | #define _GNU_SOURCE | 41 | #define _GNU_SOURCE |
42 | #endif // _GNU_SOURCE | 42 | #endif // _GNU_SOURCE |
43 | 43 | ||
44 | #ifdef HAVE_CONFIG_H | ||
45 | #include "config.h" | ||
46 | #endif // HAVE_CONFIG_H | ||
47 | |||
48 | #include <X11/Xlib.h> | 44 | #include <X11/Xlib.h> |
49 | #include <X11/Xatom.h> | 45 | #include <X11/Xatom.h> |
50 | 46 | ||
diff --git a/src/fluxbox.cc b/src/fluxbox.cc index 4ef6a67..cec46eb 100644 --- a/src/fluxbox.cc +++ b/src/fluxbox.cc | |||
@@ -62,10 +62,6 @@ | |||
62 | #define _GNU_SOURCE | 62 | #define _GNU_SOURCE |
63 | #endif // _GNU_SOURCE | 63 | #endif // _GNU_SOURCE |
64 | 64 | ||
65 | #ifdef HAVE_CONFIG_H | ||
66 | #include "config.h" | ||
67 | #endif // HAVE_CONFIG_H | ||
68 | |||
69 | #ifdef USE_EWMH | 65 | #ifdef USE_EWMH |
70 | #include "Ewmh.hh" | 66 | #include "Ewmh.hh" |
71 | #endif // USE_EWMH | 67 | #endif // USE_EWMH |
diff --git a/src/fluxbox.hh b/src/fluxbox.hh index f83934a..58cf664 100644 --- a/src/fluxbox.hh +++ b/src/fluxbox.hh | |||
@@ -41,10 +41,6 @@ | |||
41 | #include <stdio.h> | 41 | #include <stdio.h> |
42 | #endif | 42 | #endif |
43 | 43 | ||
44 | #ifdef HAVE_CONFIG_H | ||
45 | #include "config.h" | ||
46 | #endif // HAVE_CONFIG_H | ||
47 | |||
48 | #ifdef TIME_WITH_SYS_TIME | 44 | #ifdef TIME_WITH_SYS_TIME |
49 | #include <sys/time.h> | 45 | #include <sys/time.h> |
50 | #include <time.h> | 46 | #include <time.h> |
diff --git a/src/main.cc b/src/main.cc index 0639e30..bcd31db 100644 --- a/src/main.cc +++ b/src/main.cc | |||
@@ -20,10 +20,6 @@ | |||
20 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 20 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
21 | // DEALINGS IN THE SOFTWARE. | 21 | // DEALINGS IN THE SOFTWARE. |
22 | 22 | ||
23 | #ifdef HAVE_CONFIG_H | ||
24 | #include "config.h" | ||
25 | #endif // HAVE_CONFIG_H | ||
26 | |||
27 | #include "fluxbox.hh" | 23 | #include "fluxbox.hh" |
28 | #include "version.h" | 24 | #include "version.h" |
29 | #include "defaults.hh" | 25 | #include "defaults.hh" |
diff --git a/src/tests/Makefile.am b/src/tests/Makefile.am index 6b3809d..62d7604 100644 --- a/src/tests/Makefile.am +++ b/src/tests/Makefile.am | |||
@@ -1,4 +1,4 @@ | |||
1 | AM_CPPFLAGS= -I$(top_srcdir)/src | 1 | AM_CPPFLAGS= -I$(top_srcdir)/src -include $(top_builddir)/config.h |
2 | 2 | ||
3 | noinst_PROGRAMS= \ | 3 | noinst_PROGRAMS= \ |
4 | testTexture \ | 4 | testTexture \ |