$OpenBSD: patch-configure_ac,v 1.2 2019/03/27 16:19:55 jca Exp $

- do not use -latomic with clang

Index: configure.ac
--- configure.ac.orig
+++ configure.ac
@@ -208,9 +208,6 @@ dnl Check if $CXX is clang by evaluating the version s
 dnl $ax_cv_cxx_compiler_vendor seems not to work (it is either "gnu" or just empty).
 dnl If $CXX is clang (string is found), grep returns 0 and the if is executed.
 dnl Use /dev/null to suppress grep output to shell.
-if ($CXX --version | grep 'clang version' > /dev/null); then
-    LDFLAGS="${LDFLAGS} -latomic"
-fi
 
 if test x$enable_sse = xyes; then
 
@@ -650,10 +647,6 @@ case "${host_os}" in
       AC_CHECK_LIB(asound, snd_pcm_open, have_alsa=yes, have_alsa=no)
       if [[ $have_alsa = "yes" ]] ; then
          LIBS="$LIBS -lasound"
-      fi
-      PKG_CHECK_MODULES(JACK, jack, have_jack=yes, have_jack=no)
-      if [[ $have_jack = "yes" ]] ; then
-         LIBS="$LIBS $JACK_LIBS"
       fi
       AC_CHECK_LIB(hpi, HPI_SubSysCreate, have_asihpi=yes, have_asihpi=no, -lm)
       if [[ $have_asihpi = "yes" ]] ; then
