diff options
author | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2008-11-28 04:48:50 -0200 |
---|---|---|
committer | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2008-11-28 04:48:50 -0200 |
commit | b9497ba77692f2d44a9a1339ae2d0ff436abed70 (patch) | |
tree | f3c2e9174b994f2513d81dc3761057dcc407fd4c | |
parent | 36675d65ddc1ed35190f5fdbb18d5b460c7ba972 (diff) |
Correct wrong check for Linux libsysfs.
This patch was the original one, and the previous test was a wrong
attempt to simplify the change.
Triggered by tinderbox build.
-rw-r--r-- | configure.ac | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 73402a6..392921e 100644 --- a/configure.ac +++ b/configure.ac @@ -89,8 +89,9 @@ AC_HEADER_CHECK([linux/input.h], [AC_DEFINE([LINUX_INPUT], [1], [Using the Linux input subsystem])] ) AC_CHECK_HEADER(sysfs/libsysfs.h, HAVE_LIBSYSFS=yes, HAVE_LIBSYSFS=no) -AC_DEFINE(LINUX_SYSFS, test x$HAVE_LIBSYSFS = xyes, - [Using sysfs to probe devices]) +if test x$HAVE_LIBSYSFS = xyes; then + AC_DEFINE(LINUX_SYSFS, 1, [Using sysfs to probe devices]) +fi AM_CONDITIONAL(HAVE_LIBSYSFS, test x$HAVE_LIBSYSFS = xyes) XORG_MANPAGE_SECTIONS |