summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorM Joonas Pihlaja <jpihlaja@cc.helsinki.fi>2010-03-11 02:50:25 +0200
committerJulien Danjou <julien@danjou.info>2010-05-05 11:02:37 +0200
commit26010a37d1196ada662c239f33eef41396b9b353 (patch)
treefc5dfd67d82ef31c10e3ac9b5cfb99de13bd0823 /autogen.sh
parentbe486b72eb0695684307e1c169b7a76337d12581 (diff)
downloadxcb-pthread-stubs-26010a37d1196ada662c239f33eef41396b9b353.tar.gz
Generate stubs.c at autogen time from a template file.
It's easier to add a line to a list of functions in a template file than copy-pasting five lines of template from other entries and editing configure.ac. Reviewed-by: Jamey Sharp <jamey@minilop.net>
Diffstat (limited to 'autogen.sh')
-rwxr-xr-xautogen.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/autogen.sh b/autogen.sh
index 904cd67..44e664c 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -6,6 +6,8 @@ test -z "$srcdir" && srcdir=.
ORIGDIR=`pwd`
cd $srcdir
+m4 -P stubs.c.m4 >stubs.c
+
autoreconf -v --install || exit 1
cd $ORIGDIR || exit $?