From f544651eb57ad41241df48d148c9e8fb6fa45777 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 1fd434b450..ea27150514 100644 --- a/configure.ac +++ b/configure.ac @@ -1252,7 +1252,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([], [], [])