[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnunet-gtk] branch master updated: portability fixes.
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnunet-gtk] branch master updated: portability fixes. |
Date: |
Fri, 01 Mar 2019 20:28:43 +0100 |
This is an automated email from the git hooks/post-receive script.
ng0 pushed a commit to branch master
in repository gnunet-gtk.
The following commit(s) were added to refs/heads/master by this push:
new b2d49cb6 portability fixes.
b2d49cb6 is described below
commit b2d49cb6f7b1286274bfac1080ce2137e612e01b
Author: ng0 <address@hidden>
AuthorDate: Fri Mar 1 19:27:59 2019 +0000
portability fixes.
Explanation:
===========================================================================
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.
---
configure.ac | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/configure.ac b/configure.ac
index bed39d02..11bf63ea 100644
--- a/configure.ac
+++ b/configure.ac
@@ -289,7 +289,7 @@ AC_ARG_WITH(glade,
]
)
-if test "x$glade" == "x0" -a ! "x$lookin" == "x"
+if test "x$glade" = "x0" -a ! "x$lookin" = "x"
then
AC_MSG_CHECKING(for Glade3 in $lookin)
backup_LIBS="$LIBS"
@@ -305,7 +305,7 @@ then
AC_CHECK_LIB([gladeui-2], [glade_xml_node_new],
glade=2)
)
- if test ! "x$glade" == "x0"
+ if test ! "x$glade" = "x0"
then
EXT_LIB_PATH="-L${lookin}/lib $EXT_LIB_PATH"
fi
@@ -314,7 +314,7 @@ then
CPPFLAGS="$backup_CPPFLAGS"
fi
-if test "x$glade" == "x0"
+if test "x$glade" = "x0"
then
AC_MSG_ERROR([gnunet-gtk requires Glade3 (library and headers)])
fi
@@ -427,7 +427,7 @@ AC_ARG_WITH(gnunet,
]
)
-if test "x$gnunet" == "x0" -a ! "x$lookin" == "x"
+if test "x$gnunet" = "x0" -a ! "x$lookin" = "x"
then
AC_MSG_CHECKING(for GNUnet util library in $lookin)
backup_LIBS="$LIBS"
@@ -460,7 +460,7 @@ then
CPPFLAGS="$backup_CPPFLAGS"
fi
-if test "x$gnunet" == "x0"
+if test "x$gnunet" = "x0"
then
AC_MSG_ERROR([gnunet-gtk requires GNUnet])
fi
@@ -567,7 +567,7 @@ then
AC_MSG_WARN([gnunet-setup will not include QR support])
fi
-if test "x$gnunet_conversation" == "x0"
+if test "x$gnunet_conversation" = "x0"
then
AC_MSG_WARN([gnunet-conversation-gtk will not be built])
fi
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [gnunet-gtk] branch master updated: portability fixes.,
gnunet <=