mirror of
https://github.com/Llewellynvdm/conky.git
synced 2025-02-02 20:18:30 +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:
parent
e425061a2c
commit
46ac6b392a
11
configure.in
11
configure.in
@ -171,7 +171,7 @@ AC_ARG_ENABLE(x11,
|
|||||||
[want_x11="$enableval"])
|
[want_x11="$enableval"])
|
||||||
|
|
||||||
|
|
||||||
if test x$want_x11 == xyes; then
|
if test "x$want_x11" = "xyes"; then
|
||||||
AC_PATH_X
|
AC_PATH_X
|
||||||
AC_PATH_XTRA
|
AC_PATH_XTRA
|
||||||
CFLAGS="$CFLAGS $X_CFLAGS"
|
CFLAGS="$CFLAGS $X_CFLAGS"
|
||||||
@ -253,8 +253,13 @@ dnl Some random headers
|
|||||||
dnl
|
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([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 sys/mount.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 For cairo
|
||||||
|
|
||||||
dnl
|
dnl
|
||||||
|
Loading…
x
Reference in New Issue
Block a user