1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2025-01-23 07:08:31 +00:00

Autotools fixes again:

- Fix "present but cannot be compiled" warning for sys/mount.h
- Fix X11 detecting one more time. We used 'test x$foo == x$bar', which
  works not for all shells (it doesn't works with zsh, tcsh and freebsd
  /bin/sh, that's all what I've checked). So, use 'test x$foo = x$bar'.


git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky@244 7f574dfc-610e-0410-a909-a81674777703
This commit is contained in:
Roman Bogorodskiy 2005-08-30 12:27:48 +00:00
parent e425061a2c
commit 46ac6b392a

View File

@ -171,7 +171,7 @@ AC_ARG_ENABLE(x11,
[want_x11="$enableval"])
if test x$want_x11 == xyes; then
if test "x$want_x11" = "xyes"; then
AC_PATH_X
AC_PATH_XTRA
CFLAGS="$CFLAGS $X_CFLAGS"
@ -253,8 +253,13 @@ dnl Some random headers
dnl
AC_CHECK_HEADERS([signal.h unistd.h X11/Xlib.h sys/utsname.h sys/stat.h linux/soundcard.h dirent.h mcheck.h])
AC_CHECK_HEADERS([sys/statfs.h sys/param.h sys/mount.h])
AC_CHECK_HEADERS([signal.h unistd.h sys/utsname.h sys/stat.h linux/soundcard.h dirent.h mcheck.h])
AC_CHECK_HEADERS([sys/statfs.h sys/param.h])
AC_CHECK_HEADERS([sys/mount.h], [], [],
[#ifdef HAVE_SYS_PARAM_H
#include <sys/param.h>
#endif
])
dnl For cairo
dnl