blob: b1cf59b177a96bc4604f51bcad2a4dd520047205 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
--- config/m4/ac_openmp.m4.orig 2009-07-17 16:35:06.000000000 +0100
+++ config/m4/ac_openmp.m4 2009-09-24 07:17:56.000000000 +0100
@@ -87,6 +87,13 @@
*)
OPENMP_[]_AC_LANG_PREFIX[]FLAGS=$ac_cv_prog_[]_AC_LANG_ABBREV[]_openmp ;;
esac
+ OPENMP_LIBS=
+ if test "x$ac_option" = "x-fopenmp"; then
+ OPENMP_LIBS="-lgomp"
+ fi
+ AC_SUBST([OPENMP_LIBS])
+
fi
AC_SUBST([OPENMP_]_AC_LANG_PREFIX[FLAGS])
+
])
--- configure.in.orig 2009-09-24 06:53:14.000000000 +0100
+++ configure.in 2009-09-24 06:50:12.000000000 +0100
@@ -43,6 +43,7 @@
AC_OPENMP
CFLAGS="$CFLAGS $OPENMP_CFLAGS"
CXXFLAGS="$CXXFLAGS $OPENMP_CXXFLAGS"
+LIBS="$LIBS $OPENMP_LIBS"
dnl files to be generated
AC_OUTPUT(Makefile inc/Makefile inc/Minuit2/Makefile inc/Math/Makefile src/Makefile
|