aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorng0 <ng0@n0.is>2019-02-22 23:48:19 +0000
committerng0 <ng0@n0.is>2019-02-22 23:48:19 +0000
commit6fd96676ab10db4864bf5efb4496e2287b8d545e (patch)
tree0b1a8e8f93172c3cb3b4489504e06e7696b18fb5 /configure.ac
parente73b829feec7ca6af5116b5ffb566c79d6aa1bbd (diff)
downloadgnunet-6fd96676ab10db4864bf5efb4496e2287b8d545e.tar.gz
gnunet-6fd96676ab10db4864bf5efb4496e2287b8d545e.zip
configure.ac: make it more portable.
===> Creating toolchain wrappers for gnunet-0.11.0pre66 ===> Configuring for gnunet-0.11.0pre66 => Modifying GNU configure scripts to avoid --recheck => Replacing config-guess with pkgsrc versions => Replacing config-sub with pkgsrc versions => Replacing install-sh with pkgsrc version => Checking for portability problems in extracted files ERROR: [check-portability.awk] => Found test ... == ...: ERROR: [check-portability.awk] configure: if test "x$enable_autostart" == "xno" 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. 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. There are two ways to fix this error message. If the file that contains the "test ==" is needed for building the package, you should create a patch for it, replacing the "==" operator with "=". If the file is not needed, add its name to the CHECK_PORTABILITY_SKIP variable in the package Makefile. =========================================================================== *** Error code 1 Stop. make[1]: stopped in /usr/pkgsrc/wip/gnunet *** Error code 1
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 317a9b6a2..87a60cb04 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1530,7 +1530,7 @@ AC_MSG_CHECKING(whether to start peer's services on demand by default)
1530AC_ARG_ENABLE([autostart], 1530AC_ARG_ENABLE([autostart],
1531 [AS_HELP_STRING([--disable-autostart], [do not start peer's services by default])], 1531 [AS_HELP_STRING([--disable-autostart], [do not start peer's services by default])],
1532 [enable_autostart=${enableval} 1532 [enable_autostart=${enableval}
1533 if test "x$enable_autostart" == "xno" 1533 if test "x$enable_autostart" = "xno"
1534 then 1534 then
1535 START_ON_DEMAND="NO" 1535 START_ON_DEMAND="NO"
1536 fi 1536 fi