diff options
author | Eric Anholt <eric@anholt.net> | 2018-08-01 13:49:51 -0700 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2018-08-02 10:27:36 -0400 |
commit | 708ddfbda1391468d66957e247f51854b39db5fa (patch) | |
tree | 8fd1b3a56e53baed14cb6e353626a6c80b91cbf4 | |
parent | 7deaf990079b94c70d263d8f1e16bb954bd2917f (diff) |
automake,meson: Remove HAVE_LIBUDEV define.
CONFIG_UDEV and CONFIG_UDEV_KMS are the actual defines that are used
in the C code.
Signed-off-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r-- | configure.ac | 1 | ||||
-rw-r--r-- | include/meson.build | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 7d5cb0d4d..e0ebc78a1 100644 --- a/configure.ac +++ b/configure.ac @@ -859,7 +859,6 @@ fi PKG_CHECK_MODULES(UDEV, $LIBUDEV, [HAVE_LIBUDEV=yes], [HAVE_LIBUDEV=no]) if test "x$CONFIG_UDEV" = xauto; then CONFIG_UDEV="$HAVE_LIBUDEV" - AC_DEFINE(HAVE_LIBUDEV, 1, [Define to 1 if libudev is available.]) fi AM_CONDITIONAL(CONFIG_UDEV, [test "x$CONFIG_UDEV" = xyes]) if test "x$CONFIG_UDEV" = xyes; then diff --git a/include/meson.build b/include/meson.build index 9682827dd..81a48af96 100644 --- a/include/meson.build +++ b/include/meson.build @@ -61,7 +61,6 @@ conf_data.set('HAVE_INPUTTHREAD', '1') # XXX conf_data.set('HAVE_PTHREAD_SETNAME_NP_WITHOUT_TID', '1') # XXX conf_data.set('HAVE_LIBBSD', libbsd_dep.found()) # XXX: HAVE_SYSTEMD_DAEMON -# XXX: HAVE_LIBUDEV conf_data.set('CONFIG_UDEV', build_udev) conf_data.set('CONFIG_UDEV_KMS', build_udev) conf_data.set('HAVE_DBUS', build_dbus) |