1 |
bicatali 09/07/28 16:31:20 |
2 |
|
3 |
Added: stiff-configure.patch |
4 |
Log: |
5 |
Version bump |
6 |
(Portage version: 2.2_rc33/cvs/Linux x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 sci-astronomy/stiff/files/stiff-configure.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-astronomy/stiff/files/stiff-configure.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sci-astronomy/stiff/files/stiff-configure.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: stiff-configure.patch |
15 |
=================================================================== |
16 |
--- configure.ac.orig 2009-03-10 12:34:36.000000000 +0000 |
17 |
+++ configure.ac 2009-07-28 17:26:22.000000000 +0100 |
18 |
@@ -21,40 +21,14 @@ |
19 |
|
20 |
# Include macros |
21 |
#sinclude(acx_pthread.m4) |
22 |
-sinclude(acx_prog_cc_optim.m4) |
23 |
|
24 |
# Display pakage and version number |
25 |
AC_MSG_RESULT([*********** Configuring: $PACKAGE $VERSION ($date) **********]) |
26 |
|
27 |
-# Initialize the list of compilers to consider |
28 |
-cclist="cc gcc" |
29 |
- |
30 |
-# Backup and reset the input CFLAGS and LDFLAGS |
31 |
-mycflags="$CFLAGS" |
32 |
-CFLAGS="" |
33 |
-myldflags="$LDFLAGS" |
34 |
-LDFLAGS="" |
35 |
- |
36 |
-# Provide special option for the Linux Intel C compiler |
37 |
-AC_MSG_CHECKING([for Linux Intel C compiler mode]) |
38 |
-AC_ARG_ENABLE(icc, |
39 |
- [AC_HELP_STRING([--enable-icc], |
40 |
- [Enable special mode for compilation with the Intel compiler \ |
41 |
-(off by default)])], |
42 |
- use_icc="yes" |
43 |
- cclist="icc $cclist" |
44 |
- AC_MSG_RESULT([yes]), |
45 |
- use_icc="no" |
46 |
- AC_MSG_RESULT([no])) |
47 |
- |
48 |
-# Checks for programs. |
49 |
-# GCC is chosen last because it is likely to yield less optimized code |
50 |
-AC_PROG_CC([$cclist]) |
51 |
# C Compiler: Check that it is ANSI C |
52 |
AM_PROG_CC_STDC |
53 |
# C Compiler: Check that it is POSIX-compliant |
54 |
AC_ISC_POSIX |
55 |
-ACX_PROG_CC_OPTIM |
56 |
AC_PROG_AWK |
57 |
AC_PROG_INSTALL |
58 |
AC_PROG_RANLIB |
59 |
@@ -107,19 +81,9 @@ |
60 |
|
61 |
# Link with gprof option |
62 |
if test "$use_gprof" = "yes"; then |
63 |
- if test "$use_icc" = "yes"; then |
64 |
- CFLAGS="$CFLAGS -pq" |
65 |
- else |
66 |
- CFLAGS="$CFLAGS -pg" |
67 |
- fi |
68 |
use_static="no" |
69 |
fi |
70 |
|
71 |
-# Static linking option |
72 |
-if test "$use_static" = "yes"; then |
73 |
- LDFLAGS="-static -shared-libgcc $LDFLAGS" |
74 |
-fi |
75 |
- |
76 |
# Override automatic CFLAGS and LDFLAGS with those of user |
77 |
#if test -n "$mycflags"; then |
78 |
#CFLAGS="$mycflags" |