diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2012-01-10 11:55:14 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2012-01-26 12:59:17 +1000 |
commit | 09b1aa6538cd48e20928da9a835999dfc851f62c (patch) | |
tree | 6f95cfbede06ddb47d7e62d03b5439ae4423de9c | |
parent | 8a8931cc77babbd84a4ec7a1df04e995aaa1e980 (diff) |
Fix wrong check for configdir
We care about configdir, not sysconfigdir. Otherwise, --with-config-dir=""
on a server that does support xorg.conf.d has no effect and the fdi files do
not get installed.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Acked-by: Ping Cheng <pinglinux@gmail.com>
-rw-r--r-- | configure.ac | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index ee9508f..d125d7d 100644 --- a/configure.ac +++ b/configure.ac @@ -101,7 +101,7 @@ AC_ARG_WITH([xorg-conf-dir], [configdir="$withval"], [configdir="$sysconfigdir"]) AC_SUBST(configdir) -AM_CONDITIONAL(HAS_XORG_CONF_DIR, [test "x$sysconfigdir" != "x"]) +AM_CONDITIONAL(HAS_XORG_CONF_DIR, [test "x$configdir" != "x"]) AC_ARG_ENABLE(unit-tests, AS_HELP_STRING([--enable-unit-tests], [Enable unit-tests (default: auto)]), |