From 16cf6932f4b5aa9d92fa7abdd87eb941c37787b5 Mon Sep 17 00:00:00 2001 From: Alexey Yakovenko Date: Mon, 10 Feb 2014 08:11:46 +0100 Subject: fixed hotkeys static build --- configure.ac | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 57303d12..8ae9d2c0 100644 --- a/configure.ac +++ b/configure.ac @@ -461,15 +461,15 @@ AS_IF([test "${enable_ffmpeg}" != "no"], [ ]) AS_IF([test "${enable_hotkeys}" != "no"], [ - AS_IF([test "${HAVE_XLIB_H}" = "yes"], [ - AS_IF([test "${enable_staticlink}" = "no"], [ - HOTKEYS_CFLAGS="-I../../$LIB/include" - HOTKEYS_LIBS="-lX11" - AC_SUBST(HOTKEYS_CFLAGS) - AC_SUBST(HOTKEYS_LIBS) - HAVE_HOTKEYS=yes - ], - [ + AS_IF([test "${enable_staticlink}" = "no"], [ + HOTKEYS_CFLAGS="-I../../$LIB/include" + HOTKEYS_LIBS="-lX11" + AC_SUBST(HOTKEYS_CFLAGS) + AC_SUBST(HOTKEYS_LIBS) + HAVE_HOTKEYS=yes + ], + [ + AS_IF([test "${HAVE_XLIB_H}" = "yes"], [ AC_CHECK_HEADER([X11/Xlib.h], HAVE_XLIB_H=yes) AS_IF([test "${HAVE_XLIB_H}" = "yes"], [ HOTKEYS_LIBS="-lX11" -- cgit v1.2.3