[build] Use autoheader & config.h

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-05-20 19:55:14 +02:00
parent dc431ec430
commit 680944d583
4 changed files with 6 additions and 12 deletions

View File

@ -29,6 +29,7 @@
#include <xcb/xcb.h> #include <xcb/xcb.h>
#include "config.h"
#include "common/util.h" #include "common/util.h"
#include "common/list.h" #include "common/list.h"
#include "common/xutil.h" #include "common/xutil.h"

View File

@ -22,6 +22,7 @@
#include <stdlib.h> #include <stdlib.h>
#include <stdio.h> #include <stdio.h>
#include "config.h"
#include "common/version.h" #include "common/version.h"
#include "awesome-version-internal.h" #include "awesome-version-internal.h"

View File

@ -25,6 +25,7 @@ foreign
std-options std-options
subdir-objects subdir-objects
]) ])
AC_CONFIG_HEADER([config.h])
AC_DEFINE_UNQUOTED([AWESOME_RELEASE], [m4_esyscmd([./build-utils/package-codename . codename-stamp])], [release code name]) AC_DEFINE_UNQUOTED([AWESOME_RELEASE], [m4_esyscmd([./build-utils/package-codename . codename-stamp])], [release code name])

15
lua.c
View File

@ -11,22 +11,13 @@
/* XStringToKeysym() */ /* XStringToKeysym() */
#include <X11/Xlib.h> #include <X11/Xlib.h>
#include "config.h"
#include "structs.h" #include "structs.h"
#include "lua.h" #include "lua.h"
#include "tag.h"
#include "statusbar.h"
#include "widget.h"
#include "placement.h"
#include "client.h"
#include "window.h" #include "window.h"
#include "mouse.h" #include "tag.h"
#include "statusbar.h" #include "client.h"
#include "screen.h"
#include "titlebar.h"
#include "layouts/tile.h" #include "layouts/tile.h"
#include "layouts/floating.h"
#include "common/util.h"
#include "common/xutil.h"
extern AwesomeConf globalconf; extern AwesomeConf globalconf;
extern bool running; extern bool running;