summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@herrb.eu>2016-09-04 19:55:37 +0100
committerMatthieu Herrb <matthieu@herrb.eu>2016-09-04 19:55:37 +0100
commitdf25a1c5a2f433198915a4350eb3223665d53b21 (patch)
tree9cc111912b00c4f65d9f6294016fcb3b433eda46 /configure.ac
parent93199a5240a48f6eb79cb91bd89a7bbc289f2b56 (diff)
Unifdef XFT
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac16
1 files changed, 3 insertions, 13 deletions
diff --git a/configure.ac b/configure.ac
index b7b6ecd..8eac455 100644
--- a/configure.ac
+++ b/configure.ac
@@ -220,19 +220,9 @@ PKG_CHECK_EXISTS(xinerama, [
])
# Xft text drawing for the greeter screen
-AC_ARG_WITH(xft,
- AS_HELP_STRING([--with-xft],
- [Use Xft to draw text (default is YES if installed)]),
- [USE_XFT="$withval"],
- PKG_CHECK_EXISTS(xft xrender, [USE_XFT="yes"], [USE_XFT="no"]))
-
-if test "x$USE_XFT" = "xyes" ; then
- PKG_CHECK_MODULES(XFT, xft xrender)
- GREETER_CFLAGS="$GREETER_CFLAGS $XFT_CFLAGS"
- GREETER_LIBS="$GREETER_LIBS $XFT_LIBS"
- AC_DEFINE([USE_XFT], 1,
- [Define to 1 to use Xft for text on greeter screen])
-fi
+PKG_CHECK_MODULES(XFT, xft xrender)
+GREETER_CFLAGS="$GREETER_CFLAGS $XFT_CFLAGS"
+GREETER_LIBS="$GREETER_LIBS $XFT_LIBS"
# XPM logos for the greeter screen
PKG_CHECK_MODULES(XPM, xpm)