diff options
| -rwxr-xr-x | autogen.sh | 1 | ||||
| -rw-r--r-- | configure.ac | 7 | ||||
| -rw-r--r-- | src/Makefile.am | 6 |
3 files changed, 6 insertions, 8 deletions
| @@ -9,4 +9,3 @@ cd $srcdir | |||
| 9 | autoreconf -v --install || exit 1 | 9 | autoreconf -v --install || exit 1 |
| 10 | cd $ORIGDIR || exit $? | 10 | cd $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]) |
| 7 | AC_CONFIG_SRCDIR([Makefile.am]) | 7 | AC_CONFIG_SRCDIR([Makefile.am]) |
| 8 | AC_CONFIG_HEADERS([config.h]) | 8 | AC_CONFIG_HEADERS([config.h]) |
| 9 | AC_CONFIG_AUX_DIR([config-aux]) | ||
| 9 | 10 | ||
| 10 | # Initialize Automake | 11 | # Initialize Automake |
| 11 | AM_INIT_AUTOMAKE([foreign dist-bzip2]) | 12 | AM_INIT_AUTOMAKE([foreign dist-bzip2]) |
| @@ -21,11 +22,7 @@ AC_PROG_LIBTOOL | |||
| 21 | AC_PROG_CC | 22 | AC_PROG_CC |
| 22 | AC_PROG_INSTALL | 23 | AC_PROG_INSTALL |
| 23 | 24 | ||
| 24 | # Initialize X.Org macros | 25 | PKG_CHECK_MODULES([MTDEV], [mtdev >= 1.0]) |
| 25 | m4_ifndef([XORG_MACROS_VERSION], | ||
| 26 | [m4_fatal([must install xorg-macros 1.5 or later before running autoconf/autogen])]) | ||
| 27 | XORG_MACROS_VERSION(1.5) | ||
| 28 | XORG_DEFAULT_OPTIONS | ||
| 29 | 26 | ||
| 30 | AC_CONFIG_FILES([Makefile | 27 | AC_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 @@ | |||
| 1 | lib_LTLIBRARIES = libgrail.la | 1 | lib_LTLIBRARIES = libgrail.la |
| 2 | 2 | ||
| 3 | libgrail_la_LDFLAGS = -version-info @LIB_VERSION@ | 3 | libgrail_la_LDFLAGS = \ |
| 4 | -version-info @LIB_VERSION@ \ | ||
| 5 | $(MTDEV_LIBS) | ||
| 4 | 6 | ||
| 5 | libgrail_la_SOURCES = \ | 7 | libgrail_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 | ||
| 11 | AM_CFLAGS = $(CWARNFLAGS) | 13 | AM_CFLAGS = $(CWARNFLAGS) -std=c99 |
| 12 | 14 | ||
| 13 | INCLUDES = -I$(top_srcdir)/include/ | 15 | INCLUDES = -I$(top_srcdir)/include/ |
| 14 | 16 | ||
