Configure Update

Change the increment of the number of jobservers to be more posixish.
More compatible with HPUX's ksh.
This commit is contained in:
John Safranek 2018-07-03 14:39:54 -07:00
parent ae54bae2fa
commit af65a9520a
1 changed files with 4 additions and 2 deletions

View File

@ -33,7 +33,9 @@
# and this notice are preserved. This file is offered as-is, without any
# warranty.
#serial 8
#serial 8.1
# Local update: Make the increment of enable-jobserver so it isn't executable
# and is more posix syntax.
AC_DEFUN([AX_AM_JOBSERVER], [
AC_REQUIRE([AX_COUNT_CPUS])
@ -45,7 +47,7 @@ AC_DEFUN([AX_AM_JOBSERVER], [
],, [enable_jobserver=m4_ifval([$1],[$1],[yes])])
if test "x$enable_jobserver" = "xyes"; then
enable_jobserver=$CPU_COUNT
((enable_jobserver++))
: $((enable_jobserver+=1))
fi
m4_pattern_allow(AM_MAKEFLAGS)
if test "x$enable_jobserver" != "xno"; then