diff options
author | Lars-Dominik Braun <PromyLOPh@gmail.com> | 2008-06-17 19:06:39 +0200 |
---|---|---|
committer | Lars-Dominik Braun <PromyLOPh@gmail.com> | 2008-06-17 19:06:39 +0200 |
commit | 0c6a6ffce7c6bb15b18d8c59135c10f2fbadb34b (patch) | |
tree | 6a4e390582c28391483b9cdc9d25923c4a4740fe | |
parent | 22f765b7b3abb4b0553b285b42bf81b24fefa224 (diff) | |
download | pianobar-0c6a6ffce7c6bb15b18d8c59135c10f2fbadb34b.tar.gz pianobar-0c6a6ffce7c6bb15b18d8c59135c10f2fbadb34b.tar.bz2 pianobar-0c6a6ffce7c6bb15b18d8c59135c10f2fbadb34b.zip |
Use config.h
-rw-r--r-- | .gitignore | 1 | ||||
-rwxr-xr-x | autogen.sh | 1 | ||||
-rw-r--r-- | configure.in | 1 | ||||
-rw-r--r-- | libpiano/configure.in | 1 | ||||
-rw-r--r-- | libpiano/src/xml.c | 1 | ||||
-rw-r--r-- | src/settings.c | 1 |
6 files changed, 6 insertions, 0 deletions
@@ -18,3 +18,4 @@ make Makefile Makefile.in missing +stamp-h1 @@ -4,6 +4,7 @@ for DIR in . libpiano; do cd $DIR libtoolize --force \ && aclocal \ + && autoheader \ && automake --add-missing \ && autoconf done diff --git a/configure.in b/configure.in index 2edfb6e..9dec623 100644 --- a/configure.in +++ b/configure.in @@ -1,5 +1,6 @@ AC_INIT([pianobar], [0.1], [PromyLOPh@gmail.com]) AC_CONFIG_SRCDIR([src/main.c]) +AM_CONFIG_HEADER([src/config.h]) AM_INIT_AUTOMAKE([-Wall]) AC_PROG_CC diff --git a/libpiano/configure.in b/libpiano/configure.in index 6d7e380..9ad6541 100644 --- a/libpiano/configure.in +++ b/libpiano/configure.in @@ -1,6 +1,7 @@ AC_INIT([libpiano], [0.1], [PromyLOPh@gmail.com]) AC_CONFIG_AUX_DIR([.]) AC_CONFIG_SRCDIR([src/main.c]) +AM_CONFIG_HEADER([src/config.h]) AM_INIT_AUTOMAKE([-Wall]) AC_PROG_CC diff --git a/libpiano/src/xml.c b/libpiano/src/xml.c index 3369074..1267951 100644 --- a/libpiano/src/xml.c +++ b/libpiano/src/xml.c @@ -28,6 +28,7 @@ THE SOFTWARE. #include "piano.h" #include "crypt.h" +#include "config.h" void PianoXmlStructParser (xmlNode *structRoot, void (*callback) (char *, xmlNode *, void *), void *data); diff --git a/src/settings.c b/src/settings.c index 66cf59b..91fce9a 100644 --- a/src/settings.c +++ b/src/settings.c @@ -25,6 +25,7 @@ THE SOFTWARE. #include <stdio.h> #include "settings.h" +#include "config.h" /* tries to guess your config dir; somehow conforming to * http://standards.freedesktop.org/basedir-spec/basedir-spec-0.6.html |