mirror of
https://github.com/Llewellynvdm/conky.git
synced 2024-11-15 09:44:04 +00:00
Fix quoting problem in configure.ac
since "not supported on foo" is sometimes assigned to want_bar variables, we need to quote them properly when testing them.
This commit is contained in:
parent
d46eed65dc
commit
425b6df7c4
@ -198,7 +198,7 @@ AC_ARG_ENABLE([ibm],
|
|||||||
[want_ibm="$enableval"], [want_ibm=no])
|
[want_ibm="$enableval"], [want_ibm=no])
|
||||||
|
|
||||||
AM_CONDITIONAL(BUILD_IBM, test x$want_ibm = xyes)
|
AM_CONDITIONAL(BUILD_IBM, test x$want_ibm = xyes)
|
||||||
if test x$want_ibm = xyes; then
|
if test "x$want_ibm" = xyes; then
|
||||||
if test x"$uname" != xLinux; then
|
if test x"$uname" != xLinux; then
|
||||||
AC_MSG_NOTICE([support for IBM/Lenovo notebooks not supported on $uname... disabling])
|
AC_MSG_NOTICE([support for IBM/Lenovo notebooks not supported on $uname... disabling])
|
||||||
want_ibm="not supported on $uname"
|
want_ibm="not supported on $uname"
|
||||||
@ -218,7 +218,7 @@ AC_ARG_ENABLE([hddtemp],
|
|||||||
[want_hddtemp="$enableval"], [want_hddtemp=yes])
|
[want_hddtemp="$enableval"], [want_hddtemp=yes])
|
||||||
|
|
||||||
AM_CONDITIONAL(BUILD_HDDTEMP, test x$want_hddtemp = xyes)
|
AM_CONDITIONAL(BUILD_HDDTEMP, test x$want_hddtemp = xyes)
|
||||||
if test x$want_hddtemp = xyes; then
|
if test "x$want_hddtemp" = xyes; then
|
||||||
if test x"$uname" != xLinux; then
|
if test x"$uname" != xLinux; then
|
||||||
AC_MSG_NOTICE([hddtemp not supported on $uname... disabling])
|
AC_MSG_NOTICE([hddtemp not supported on $uname... disabling])
|
||||||
want_hddtemp="not supported on $uname"
|
want_hddtemp="not supported on $uname"
|
||||||
@ -237,7 +237,7 @@ AC_ARG_ENABLE([apcupsd],
|
|||||||
[disable if you do not want apcupsd support @<:@default=yes@:>@]),
|
[disable if you do not want apcupsd support @<:@default=yes@:>@]),
|
||||||
[want_apcupsd="$enableval"], [want_apcupsd=yes])
|
[want_apcupsd="$enableval"], [want_apcupsd=yes])
|
||||||
|
|
||||||
if test x$want_apcupsd = xyes; then
|
if test "x$want_apcupsd" = xyes; then
|
||||||
if test x"$uname" != xLinux -a x"$uname" != xFreeBSD; then
|
if test x"$uname" != xLinux -a x"$uname" != xFreeBSD; then
|
||||||
AC_MSG_NOTICE([apcupsd not supported on $uname... disabling])
|
AC_MSG_NOTICE([apcupsd not supported on $uname... disabling])
|
||||||
want_apcupsd="not supported on $uname"
|
want_apcupsd="not supported on $uname"
|
||||||
@ -245,7 +245,7 @@ if test x$want_apcupsd = xyes; then
|
|||||||
AC_DEFINE(APCUPSD, 1, [Define if you want apcupsd support])
|
AC_DEFINE(APCUPSD, 1, [Define if you want apcupsd support])
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
AM_CONDITIONAL(BUILD_APCUPSD, test x$want_apcupsd = xyes)
|
AM_CONDITIONAL(BUILD_APCUPSD, test "x$want_apcupsd" = xyes)
|
||||||
|
|
||||||
|
|
||||||
dnl
|
dnl
|
||||||
@ -257,7 +257,7 @@ AC_ARG_ENABLE([iostats],
|
|||||||
[enable if you want support for per-task I/O statistics @<:@default=yes@:>@]),
|
[enable if you want support for per-task I/O statistics @<:@default=yes@:>@]),
|
||||||
[want_iostats="$enableval"], [want_iostats=yes])
|
[want_iostats="$enableval"], [want_iostats=yes])
|
||||||
|
|
||||||
if test x$want_iostats = xyes; then
|
if test "x$want_iostats" = xyes; then
|
||||||
if test x"$uname" != xLinux -a x"$uname" != xFreeBSD; then
|
if test x"$uname" != xLinux -a x"$uname" != xFreeBSD; then
|
||||||
AC_MSG_NOTICE([iostats not supported on $uname... disabling])
|
AC_MSG_NOTICE([iostats not supported on $uname... disabling])
|
||||||
want_iostats="not supported on $uname"
|
want_iostats="not supported on $uname"
|
||||||
|
Loading…
Reference in New Issue
Block a user