summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2022-04-19 14:16:04 +0200
committerLubomir Rintel <lkundrak@v3.sk>2022-04-21 09:58:56 +0200
commit3b06ee7c4ea8d749a705336841a883f8178c89bf (patch)
treea5506a89df68aa709716f3fcabfc9adee4f7ccc0
parent29fe4035c1c83b921ddeb9f74a2e97b4569ed66d (diff)
configure.ac: fix a syntax error
Fixes this error: checking whether more special flags are required for pthreads... no checking for PTHREAD_PRIO_INHERIT... yes ./configure: line 30294: ,as_fn_error: command not found checking for a Python interpreter with version >= 3... python checking for python... /usr/bin/python Fixes: 3affccf29b53 ('tests: fix undefined references to pthread') (cherry picked from commit a8284b1d3b967789066c76c39660a91565fb7833)
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 3f4ae39293..facfa9f0b6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1275,7 +1275,7 @@ else
fi
AC_SUBST(NM_LOG_COMPILER, 'LOG_COMPILER = "$(top_srcdir)/tools/run-nm-test.sh" --called-from-make "$(abs_top_builddir)" "$(LIBTOOL)" "$(with_valgrind)" "'"$with_valgrind_suppressions"'" --launch-dbus=auto')
-AX_PTHREAD([,AC_MSG_ERROR([Threads are required for the NetworkManager tests])])
+AX_PTHREAD([], [AC_MSG_ERROR([Threads are required for the NetworkManager tests])])
if test -n "$PYTHON" ; then
AM_PATH_PYTHON([], [], [])