Gentoo Archives: gentoo-commits

From: "Sebastien Fabbro (bicatali)" <bicatali@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-libs/arprec/files: arprec-2.2.15-fix-enabling.patch
Date: Fri, 30 Nov 2012 04:10:55
Message-Id: 20121130041041.CA56120C9F@flycatcher.gentoo.org
1 bicatali 12/11/30 04:10:41
2
3 Added: arprec-2.2.15-fix-enabling.patch
4 Log:
5 Version bump. Fix wrong enable option parsing at configure time
6
7 (Portage version: 2.2.01.21313-prefix/cvs/Linux x86_64, signed Manifest commit with key 0x13CB1360)
8
9 Revision Changes Path
10 1.1 sci-libs/arprec/files/arprec-2.2.15-fix-enabling.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/arprec/files/arprec-2.2.15-fix-enabling.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/arprec/files/arprec-2.2.15-fix-enabling.patch?rev=1.1&content-type=text/plain
14
15 Index: arprec-2.2.15-fix-enabling.patch
16 ===================================================================
17 --- configure.ac.orig 2012-11-29 19:50:09.547028887 -0800
18 +++ configure.ac 2012-11-29 19:52:14.380660761 -0800
19 @@ -36,7 +36,7 @@
20
21 # Checks for command-line options
22 # --enable-inline option.
23 -AC_ARG_ENABLE(enable_inline, AC_HELP_STRING(--enable-inline, [inline commonly used functions. [[default=yes]]]))
24 +AC_ARG_ENABLE(inline, AC_HELP_STRING(--enable-inline, [inline commonly used functions. [[default=yes]]]))
25 AC_MSG_CHECKING([if commonly used function is to be inlined])
26 if test "x$enable_inline" != "xno"; then
27 enable_inline="yes"
28 @@ -45,7 +45,7 @@
29 AC_MSG_RESULT($enable_inline)
30
31 # --enable-debug
32 -AC_ARG_ENABLE(enable_debug, AC_HELP_STRING(--enable-debug, [enable debugging code. [[default=no]]]))
33 +AC_ARG_ENABLE(debug, AC_HELP_STRING(--enable-debug, [enable debugging code. [[default=no]]]))
34 AC_MSG_CHECKING([if debugging code is to be enabled])
35 if test "x$enable_debug" = "xyes"; then
36 AC_DEFINE([ARPREC_DEBUG], [1], [Define to 1 to enable debugging code.])
37 @@ -55,7 +55,7 @@
38 AC_MSG_RESULT($enable_debug)
39
40 # --enable-always-fix-fpu
41 -AC_ARG_ENABLE(enable_always_fix_fpu, AC_HELP_STRING(--enable-always-fix-fpu, [Use FPU fix whenever C interface is called. [[default=no]]]))
42 +AC_ARG_ENABLE(always_fix_fpu, AC_HELP_STRING(--enable-always-fix-fpu, [Use FPU fix whenever C interface is called. [[default=no]]]))
43 if test "x$enable_always_fix_fpu" = "xyes"; then
44 AC_DEFINE([ALWAYS_FIX_FPU], [1], [Define to 1 to use FPU fix whenever C interface is called.])
45 else
46 @@ -119,7 +119,7 @@
47 fi
48
49 # --enable-qd
50 -AC_ARG_ENABLE(enable-qd, AC_HELP_STRING(--enable-qd, [Use quad-double (QD)
51 +AC_ARG_ENABLE(qd, AC_HELP_STRING(--enable-qd, [Use quad-double (QD)
52 library. [[default=no]]]))
53 if test "x$enable_qd" = "xyes"; then
54 AC_CHECK_QD([2.3], [CXXFLAGS="$CXXFLAGS $QD_CXXFLAGS"])
55 @@ -129,7 +129,7 @@
56 fi
57
58 # --enable-fma
59 -AC_ARG_ENABLE(enable_fma, AC_HELP_STRING(--enable-fma, [use fused multiply-add/subtract (auto,gnu,c99,ibm,compiler). Use this option with care. [[default=auto]]]))
60 +AC_ARG_ENABLE(fma, AC_HELP_STRING(--enable-fma, [use fused multiply-add/subtract (auto,gnu,c99,ibm,compiler). Use this option with care. [[default=auto]]]))
61 if test "x$enable_fma" = "x"; then
62 enable_fma="auto"
63 fi
64 @@ -175,7 +175,7 @@
65 FCFLAGS="-O2"
66 fi
67 fi
68 -AC_ARG_ENABLE(enable_fortran, AC_HELP_STRING(--enable-fortran, [build Fortran interfaces [[default=auto]]]))
69 +AC_ARG_ENABLE(fortran, AC_HELP_STRING(--enable-fortran, [build Fortran interfaces [[default=auto]]]))
70 if test "x$enable_fortran" != "xno"; then
71 AC_LANG_PUSH(Fortran)
72 AC_PROG_FC([xlf95 ifort pathf95 f95 gfortran g95 pgf95 lf95 fort ifc efc pathf90 xlf90 pgf90 epcf90 xlf f90])