diff options
author | Marc-Antoine Perennou <Marc-Antoine@Perennou.com> | 2015-09-01 11:20:16 +0900 |
---|---|---|
committer | fujiwarat <takao.fujiwara1@gmail.com> | 2015-09-01 11:20:16 +0900 |
commit | c0ced65ea1298e860c571cd9151d81e620834132 (patch) | |
tree | 2446f00e94601adc5e9a2959bcc847982d20e9d7 | |
parent | 173af53099633fa18713ac45f9f64b50607f83ff (diff) | |
download | ibus-c0ced65ea1298e860c571cd9151d81e620834132.tar.gz |
check for x11 for the ui too
if built with --enable-ui --disable-xim it currently fails because
X11_LIBS is empty
BUG=https://github.com/ibus/ibus/pull/1812
R=Shawn.P.Huang@gmail.com
Review URL: https://codereview.appspot.com/264020043
Patch from Marc-Antoine Perennou <Marc-Antoine@Perennou.com>.
-rw-r--r-- | configure.ac | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index bd39e7ef..4600dbae 100644 --- a/configure.ac +++ b/configure.ac @@ -555,6 +555,10 @@ AC_ARG_ENABLE(ui, ) AM_CONDITIONAL([ENABLE_UI], [test x"$enable_ui" = x"yes"]) if test x"$enable_ui" = x"yes"; then + # Check for x11 + PKG_CHECK_MODULES(X11, [ + x11 + ]) enable_ui="yes (enabled, use --disable-ui to disable)" fi |