mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-07-07 20:06:36 +02:00
Portability
- Applied patch from Emil Sköldberg. Replace 'test ... == ...' with 'test ... = ...', since [quoted from pkgsrc error message]: The "test" command, as well as the "[" command, are not required to know the "==" operator. Only a few implementations like bash and some versions of ksh support it. When you run "test foo == foo" on a platform that does not support the "==" operator, the result will be "false" instead of "true". This can lead to unexpected behavior.
This commit is contained in:
parent
2791578410
commit
b6e9b84c80
3 changed files with 5 additions and 3 deletions
1
AUTHORS
1
AUTHORS
|
@ -20,6 +20,7 @@ The following submitted code, packages or analysis, and deserve special thanks:
|
||||||
Steven de Brouwer
|
Steven de Brouwer
|
||||||
Pietro Cerutti
|
Pietro Cerutti
|
||||||
Alexander Neumann
|
Alexander Neumann
|
||||||
|
Emil Sköldberg
|
||||||
|
|
||||||
Thanks to the following, who submitted detailed bug reports and excellent suggestions:
|
Thanks to the following, who submitted detailed bug reports and excellent suggestions:
|
||||||
Eugene Kramer
|
Eugene Kramer
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
message when called without an ID.
|
message when called without an ID.
|
||||||
+ Summary report bar colors can now be specified with color.summary.bar
|
+ Summary report bar colors can now be specified with color.summary.bar
|
||||||
and color.summary.background configuration variables.
|
and color.summary.background configuration variables.
|
||||||
|
+ The configure script is more portable (thanks to Emil Sköldberg).
|
||||||
|
|
||||||
------ old releases ------------------------------
|
------ old releases ------------------------------
|
||||||
|
|
||||||
|
|
|
@ -80,7 +80,7 @@ AC_ARG_WITH([ncurses-lib],
|
||||||
[ncurses_lib=$withval],
|
[ncurses_lib=$withval],
|
||||||
[ncurses_lib=''])
|
[ncurses_lib=''])
|
||||||
|
|
||||||
if test "x$with_ncurses" == "xyes" ; then
|
if test "x$with_ncurses" = "xyes" ; then
|
||||||
AC_DEFINE([HAVE_LIBNCURSES], [1], [Defined if you have libncurses])
|
AC_DEFINE([HAVE_LIBNCURSES], [1], [Defined if you have libncurses])
|
||||||
if test -n "$ncurses_inc"; then
|
if test -n "$ncurses_inc"; then
|
||||||
CFLAGS="$CFLAGS -I$ncurses_inc"
|
CFLAGS="$CFLAGS -I$ncurses_inc"
|
||||||
|
@ -111,7 +111,7 @@ fi
|
||||||
# [readline_lib=$withval],
|
# [readline_lib=$withval],
|
||||||
# [readline_lib=''])
|
# [readline_lib=''])
|
||||||
#
|
#
|
||||||
#if test "x$with_readline" == "xyes" ; then
|
#if test "x$with_readline" = "xyes" ; then
|
||||||
# AC_DEFINE([HAVE_LIBREADLINE], [1], [Defined if you have libreadline])
|
# AC_DEFINE([HAVE_LIBREADLINE], [1], [Defined if you have libreadline])
|
||||||
# if test -n "$readline_inc"; then
|
# if test -n "$readline_inc"; then
|
||||||
# CFLAGS="$CFLAGS -I$readline_inc"
|
# CFLAGS="$CFLAGS -I$readline_inc"
|
||||||
|
@ -142,7 +142,7 @@ AC_ARG_WITH([lua-lib],
|
||||||
[lua_lib=$withval],
|
[lua_lib=$withval],
|
||||||
[lua_lib=''])
|
[lua_lib=''])
|
||||||
|
|
||||||
if test "x$with_lua" == "xyes" ; then
|
if test "x$with_lua" = "xyes" ; then
|
||||||
AC_DEFINE([HAVE_LIBLUA], [1], [Defined if you have liblua])
|
AC_DEFINE([HAVE_LIBLUA], [1], [Defined if you have liblua])
|
||||||
if test -n "$lua_inc"; then
|
if test -n "$lua_inc"; then
|
||||||
CFLAGS="$CFLAGS -I$lua_inc"
|
CFLAGS="$CFLAGS -I$lua_inc"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue