mirror of
https://github.com/X11Libre/xf86-input-synaptics.git
synced 2026-03-24 01:34:04 +00:00
config: use automake "dir" pattern for simplification
configdir is where the config file is installed config_DATA is the filename Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
This commit is contained in:
@@ -20,8 +20,7 @@
|
||||
|
||||
|
||||
if HAS_XORG_CONF_DIR
|
||||
confdir = $(XORG_CONF_DIR)
|
||||
dist_conf_DATA = 50-synaptics.conf
|
||||
dist_config_DATA = 50-synaptics.conf
|
||||
else
|
||||
|
||||
EXTRA_DIST = 11-x11-synaptics.fdi
|
||||
|
||||
@@ -76,9 +76,9 @@ sysconfigdir=`$PKG_CONFIG --variable=sysconfigdir xorg-server`
|
||||
AC_ARG_WITH(xorg-conf-dir,
|
||||
AC_HELP_STRING([--with-xorg-conf-dir=DIR],
|
||||
[Default xorg.conf.d directory [[default=from $PKG_CONFIG xorg-server]]]),
|
||||
[XORG_CONF_DIR="$withval"],
|
||||
[XORG_CONF_DIR="$sysconfigdir"])
|
||||
AC_SUBST(XORG_CONF_DIR)
|
||||
[configdir="$withval"],
|
||||
[configdir="$sysconfigdir"])
|
||||
AC_SUBST(configdir)
|
||||
AM_CONDITIONAL(HAS_XORG_CONF_DIR, [test "x$sysconfigdir" != "x"])
|
||||
|
||||
# Define a configure option to enable code debugging
|
||||
|
||||
Reference in New Issue
Block a user