From 3b06ee7c4ea8d749a705336841a883f8178c89bf Mon Sep 17 00:00:00 2001 From: Lubomir Rintel Date: Tue, 19 Apr 2022 14:16:04 +0200 Subject: [PATCH] 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) --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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([], [], [])