]> granicus.if.org Git - gc/commitdiff
Fix 'package requirements (atomic_ops) were not met' configure error
authorIvan Maidanski <ivmai@mail.ru>
Mon, 16 Oct 2017 21:02:27 +0000 (00:02 +0300)
committerIvan Maidanski <ivmai@mail.ru>
Mon, 16 Oct 2017 21:02:27 +0000 (00:02 +0300)
(fix commit 3d34335)

* configure.ac [$missing_libatomic_ops] (PKG_CHECK_MODULES):
Pass no-op to action-if-not-found parameter (because the default
action-if-not-found ends the execution with an error in case of the
missing dependency).

configure.ac

index d56a020b12425c33595440007e2f73d1cb939667..cb314a650c78c855fb6d4309478a6b9c10eaec83 100644 (file)
@@ -1008,7 +1008,7 @@ AS_IF([test x"$with_libatomic_ops" != xno -a x"$with_libatomic_ops" != xnone],
 # autogen.sh (autoreconf); alternatively, comment out the following 3 lines.
 AS_IF([test x$missing_libatomic_ops = xtrue],
   [ PKG_CHECK_MODULES([ATOMIC_OPS], [atomic_ops],
-    [ missing_libatomic_ops=false ]) ])
+    [ missing_libatomic_ops=false ], [ [] ]) ])
 
 # Retry with AC_CHECK_HEADER if PKG_CHECK_MODULES failed.
 AS_IF([test x$missing_libatomic_ops = xtrue],