diff options
-rw-r--r-- | Makefile.am | 4 | ||||
-rw-r--r-- | configure.ac | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am index c25ecff..f00a804 100644 --- a/Makefile.am +++ b/Makefile.am @@ -5,7 +5,9 @@ ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS} NULL = -DISTCHECK_CONFIGURE_FLAGS = --without-systemd +DISTCHECK_CONFIGURE_FLAGS = \ + --without-systemd \ + --with-gtk=$(GTK_API_VERSION) SUBDIRS = \ src \ diff --git a/configure.ac b/configure.ac index f29d711..7191391 100644 --- a/configure.ac +++ b/configure.ac @@ -75,6 +75,8 @@ case "$with_gtk" in ;; esac +AC_SUBST(GTK_API_VERSION) + AC_CHECK_HEADERS(unistd.h) AC_CHECK_HEADERS(crypt.h sys/select.h) AC_CHECK_FUNCS(select fcntl uname nice setpriority getcwd getwd putenv sbrk) |