summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephen M. Webb <stephen.webb@bregmasoft.ca>2010-07-13 10:45:36 +0200
committerHenrik Rydberg <rydberg@euromail.se>2010-08-05 22:48:37 +0200
commit7c277ee54e7d0ea0c44b304897049a01e2d1a44a (patch)
treecfa346fa72bb0b29e0a613efff7d097cd09a3c87
parent3b837806891de6cf77d4d74d04567e7e68c82fc0 (diff)
Configure fixes
Adds the mtdev package dependency and fix some smaller issues. Signed-off-by: Stephen M. Webb <stephen.webb@bregmasoft.ca> Signed-off-by: Henrik Rydberg <rydberg@bitmath.org>
-rwxr-xr-xautogen.sh1
-rw-r--r--configure.ac7
-rw-r--r--src/Makefile.am6
3 files changed, 6 insertions, 8 deletions
diff --git a/autogen.sh b/autogen.sh
index 904cd67..a08311b 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -9,4 +9,3 @@ cd $srcdir
9autoreconf -v --install || exit 1 9autoreconf -v --install || exit 1
10cd $ORIGDIR || exit $? 10cd $ORIGDIR || exit $?
11 11
12$srcdir/configure --enable-maintainer-mode "$@"
diff --git a/configure.ac b/configure.ac
index 5d63a3f..52f16eb 100644
--- a/configure.ac
+++ b/configure.ac
@@ -6,6 +6,7 @@ AC_INIT([Gesture Recognition And Instantiation Library],
6 [grail]) 6 [grail])
7AC_CONFIG_SRCDIR([Makefile.am]) 7AC_CONFIG_SRCDIR([Makefile.am])
8AC_CONFIG_HEADERS([config.h]) 8AC_CONFIG_HEADERS([config.h])
9AC_CONFIG_AUX_DIR([config-aux])
9 10
10# Initialize Automake 11# Initialize Automake
11AM_INIT_AUTOMAKE([foreign dist-bzip2]) 12AM_INIT_AUTOMAKE([foreign dist-bzip2])
@@ -21,11 +22,7 @@ AC_PROG_LIBTOOL
21AC_PROG_CC 22AC_PROG_CC
22AC_PROG_INSTALL 23AC_PROG_INSTALL
23 24
24# Initialize X.Org macros 25PKG_CHECK_MODULES([MTDEV], [mtdev >= 1.0])
25m4_ifndef([XORG_MACROS_VERSION],
26 [m4_fatal([must install xorg-macros 1.5 or later before running autoconf/autogen])])
27XORG_MACROS_VERSION(1.5)
28XORG_DEFAULT_OPTIONS
29 26
30AC_CONFIG_FILES([Makefile 27AC_CONFIG_FILES([Makefile
31 src/Makefile 28 src/Makefile
diff --git a/src/Makefile.am b/src/Makefile.am
index 69ff759..0ecc531 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -1,6 +1,8 @@
1lib_LTLIBRARIES = libgrail.la 1lib_LTLIBRARIES = libgrail.la
2 2
3libgrail_la_LDFLAGS = -version-info @LIB_VERSION@ 3libgrail_la_LDFLAGS = \
4 -version-info @LIB_VERSION@ \
5 $(MTDEV_LIBS)
4 6
5libgrail_la_SOURCES = \ 7libgrail_la_SOURCES = \
6 touch-dev.c \ 8 touch-dev.c \
@@ -8,7 +10,7 @@ libgrail_la_SOURCES = \
8 gesture-client.c \ 10 gesture-client.c \
9 gesture-dev.c 11 gesture-dev.c
10 12
11AM_CFLAGS = $(CWARNFLAGS) 13AM_CFLAGS = $(CWARNFLAGS) -std=c99
12 14
13INCLUDES = -I$(top_srcdir)/include/ 15INCLUDES = -I$(top_srcdir)/include/
14 16