summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rwxr-xr-xautogen.sh1
-rw-r--r--configure.in1
-rw-r--r--libpiano/configure.in1
-rw-r--r--libpiano/src/xml.c1
-rw-r--r--src/settings.c1
6 files changed, 6 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 26f6eab..a2ce306 100644
--- a/.gitignore
+++ b/.gitignore
@@ -18,3 +18,4 @@ make
Makefile
Makefile.in
missing
+stamp-h1
diff --git a/autogen.sh b/autogen.sh
index 3d09394..a0cb304 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -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