summaryrefslogtreecommitdiff
path: root/math/liblbfgs/patches/patch-configure.in
blob: e7997ec7ca085ea79cdbf39625217eccda4b9803 (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
27
28
29
30
31
32
33
34
35
$NetBSD: patch-configure.in,v 1.1 2014/11/02 23:09:31 cheusov Exp $

# fix for build failure seen on Linux/gcc-4.7
--- ./configure.in.orig	2014-11-02 17:48:31.192060650 -0500
+++ ./configure.in	2014-11-02 17:48:50.225607845 -0500
@@ -42,14 +42,6 @@
 
 
 dnl ------------------------------------------------------------------
-dnl Checks for header files.
-dnl ------------------------------------------------------------------
-AC_HEADER_STDC
-AC_CHECK_HEADERS(xmmintrin.h emmintrin.h)
-
-
-
-dnl ------------------------------------------------------------------
 dnl Checks for debugging mode
 dnl ------------------------------------------------------------------
 AC_ARG_ENABLE(
@@ -87,6 +79,14 @@
 )
 
 dnl ------------------------------------------------------------------
+dnl Checks for header files.
+dnl ------------------------------------------------------------------
+AC_HEADER_STDC
+AC_CHECK_HEADERS(xmmintrin.h emmintrin.h)
+
+
+
+dnl ------------------------------------------------------------------
 dnl Checks for library functions.
 dnl ------------------------------------------------------------------
 AC_CHECK_LIB(m, fabs)