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: 3affccf29b ('tests: fix undefined references to pthread')
(cherry picked from commit a8284b1d3b)
This commit is contained in:
Lubomir Rintel 2022-04-19 14:16:04 +02:00
parent 29fe4035c1
commit 3b06ee7c4e

View file

@ -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([], [], [])