From 98b868f55f3a8c1a45bacf74c9acb354474e40e2 Mon Sep 17 00:00:00 2001
From: Amar Takhar <verm@aegisub.org>
Date: Thu, 6 Mar 2008 18:18:09 +0000
Subject: [PATCH] Whoops the wrong OpenMP detection support got committed, this
 is the correct version.

Originally committed to SVN as r1917.
---
 configure.in | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/configure.in b/configure.in
index 163069ccc..16d365316 100644
--- a/configure.in
+++ b/configure.in
@@ -130,10 +130,9 @@ AC_PREPROC_IFELSE(
   ],
 [AC_MSG_RESULT([no])])
 
-AX_OPENMP([with_openmp="yes"], [with_openmp="no"])
-if test $with_openmp == "yes"; then
-fi
-
+AX_OPENMP([], [with_openmp="no"])
+AM_CONDITIONAL([HAVE_OPENMP], [test "$with_openmp" != "no"])
+AC_SUBST(OPENMP_CXXFLAGS)
 
 
 #################
-- 
GitLab