]> git.pld-linux.org Git - packages/hdf5.git/blame - hdf5-config.patch
- updated for 1.6.3
[packages/hdf5.git] / hdf5-config.patch
CommitLineData
98765fbd
JB
1--- hdf5-1.6.0/config/commence.in.orig 2003-07-03 19:23:35.000000000 +0200
2+++ hdf5-1.6.0/config/commence.in 2003-07-19 14:00:59.000000000 +0200
3@@ -51,7 +51,7 @@
4 LT_LINK_EXE=$(LT) --mode=link $(CC) $(LT_STATIC_EXEC) -dlopen self -rpath $(libdir) $(DYNAMIC_DIRS)
5 LT_RUN=$(LT) --mode=execute
6 LT_INSTALL_PROG=$(LT) --mode=install $(INSTALL_PROGRAM)
7-LT_INSTALL_LIB=$(LT) --mode=install $(INSTALL_DATA)
8+LT_INSTALL_LIB=$(LT) --mode=install $(INSTALL_PROGRAM)
9 LT_UNINSTALL=$(LT) --mode=uninstall $(RM)
10
11 ## Optional variables. We must declare them here because Irix pmake
12--- hdf5-1.6.0/c++/config/commence.in.orig 2003-06-30 17:19:35.000000000 +0200
13+++ hdf5-1.6.0/c++/config/commence.in 2003-07-19 14:01:16.000000000 +0200
14@@ -50,11 +50,11 @@
699014da
JB
15 DYNAMIC_DIRS=@DYNAMIC_DIRS@
16 LT=$(top_builddir)/libtool
17 LT_COMPILE=$(LT) --mode=compile $(CXX)
18-LT_LINK_LIB=$(LT) --mode=link $(CXX) -static -rpath $(libdir) $(DYNAMIC_DIRS)
98765fbd 19-LT_LINK_EXE=$(LT) --mode=link $(CXX) -static $(LT_STATIC_EXEC) -dlopen self -rpath $(bindir) $(DYNAMIC_DIRS)
699014da 20+LT_LINK_LIB=$(LT) --mode=link $(CXX) -rpath $(libdir) $(DYNAMIC_DIRS)
79cc6a5d 21+LT_LINK_EXE=$(LT) --mode=link $(CXX) $(LT_STATIC_EXEC) -dlopen self -rpath $(bindir) $(DYNAMIC_DIRS)
699014da
JB
22 LT_RUN=$(LT) --mode=execute
23 LT_INSTALL_PROG=$(LT) --mode=install $(INSTALL_PROGRAM)
98765fbd
JB
24-LT_INSTALL_LIB=$(LT) --mode=install $(INSTALL_DATA)
25+LT_INSTALL_LIB=$(LT) --mode=install $(INSTALL_PROGRAM)
26 LT_UNINSTALL=$(LT) --mode=uninstall $(RM)
27
28 ## Optional variables. We must declare them here because Irix pmake
f9aea359
JB
29--- hdf5-1.6.3/config/gnu-flags.orig 2004-07-15 23:56:54.000000000 +0200
30+++ hdf5-1.6.3/config/gnu-flags 2004-10-25 00:37:36.704824744 +0200
31@@ -90,27 +90,6 @@
79cc6a5d
JB
32 fi
33
f9aea359 34 arch=
79cc6a5d
JB
35-# Architecture-specific flags
36-case "$host_os-$host_cpu" in
f9aea359 37- # FreeBSD sets the information from "uname -m" to the general machine
79cc6a5d
JB
38- # architecture, not the specific CPU for the machine, so even our
39- # Pentium II Xeon server is set to "i386". Once we know we are on a FreeBSD
40- # machine, use the "sysctl" command to get the CPU hardware model.
f9aea359 41- freebsd*-i386)
79cc6a5d
JB
42- host_cpu_model=`sysctl -n hw.model`
43- case "$host_cpu_model" in
44- # Hmm.. this might not catch Celerons, but it won't hurt them either...
98765fbd 45- *Pro*|*II*|*III*|*IV*|*Athlon*)
f9aea359 46- arch="-march=i686"
79cc6a5d
JB
47- ;;
48- esac
49- ;;
50-
51- *-i686)
f9aea359 52- arch="-march=i686"
79cc6a5d
JB
53- ;;
54-esac
55-
56 # Host-specific flags
57 case "`hostname`" in
58 sleipnir.ncsa.uiuc.edu)
f9aea359
JB
59@@ -127,7 +106,7 @@
60 # Production
61 case "$cc_vendor-$cc_version" in
62 gcc-2.95.[34])
63- PROD_CFLAGS="-O3 $NOFP"
64+ PROD_CFLAGS="$NOFP"
65 ;;
66 gcc-3.[0-4]*)
67 # The optimization level is reduced for gcc 3.* due to problems
68@@ -136,14 +115,14 @@
69 # failures for various integer types -> long long conversions in the
70 # test/dtypes test). Perhaps later versions of gcc will fix this
71 # bug... - QAK - 2003/10/20
72- PROD_CFLAGS="-O $NOFP"
73+ PROD_CFLAGS="$NOFP"
74 ;;
75 gcc-3*)
76 # Be optimistic about future versions of gcc.. :-) - QAK - 2003/10/20
77- PROD_CFLAGS="-O3 $NOFP"
78+ PROD_CFLAGS="$NOFP"
79 ;;
80 *)
81- PROD_CFLAGS="-O $NOFP"
82+ PROD_CFLAGS="$NOFP"
83 ;;
84 esac
85
86@@ -173,7 +152,7 @@
87 CFLAGS="$CFLAGS -Wno-long-long"
88
89 # Append warning flags from gcc-3* case
90- CFLAGS="$CFLAGS -Wfloat-equal -Wmissing-format-attribute -Wpadded"
91+ CFLAGS="$CFLAGS -Wfloat-equal -Wmissing-format-attribute"
92
93 # Append warning flags from gcc-3.2* case
94 CFLAGS="$CFLAGS -Wmissing-noreturn -Wpacked -Wdisabled-optimization -Wmultichar"
95@@ -203,7 +182,7 @@
96 CFLAGS="$CFLAGS -Wno-long-long"
0802df2e 97
f9aea359
JB
98 # Append warning flags from gcc-3* case
99- CFLAGS="$CFLAGS -Wfloat-equal -Wmissing-format-attribute -Wpadded"
100+ CFLAGS="$CFLAGS -Wfloat-equal -Wmissing-format-attribute"
0802df2e 101
f9aea359
JB
102 # Append warning flags from gcc-3.2* case
103 CFLAGS="$CFLAGS -Wmissing-noreturn -Wpacked -Wdisabled-optimization -Wmultichar"
104@@ -230,7 +209,7 @@
105 CFLAGS="$CFLAGS -Wno-long-long"
0802df2e 106
f9aea359
JB
107 # Append warning flags from gcc-3* case
108- CFLAGS="$CFLAGS -Wfloat-equal -Wmissing-format-attribute -Wpadded"
109+ CFLAGS="$CFLAGS -Wfloat-equal -Wmissing-format-attribute"
0802df2e 110
f9aea359
JB
111 # Append more extra warning flags that only gcc3.2+ know about
112 CFLAGS="$CFLAGS -Wmissing-noreturn -Wpacked -Wdisabled-optimization -Wmultichar"
113@@ -254,7 +233,7 @@
114 CFLAGS="$CFLAGS -Wno-long-long"
0802df2e 115
f9aea359
JB
116 # Append some extra warning flags that only gcc3+ know about
117- CFLAGS="$CFLAGS -Wfloat-equal -Wmissing-format-attribute -Wpadded"
118+ CFLAGS="$CFLAGS -Wfloat-equal -Wmissing-format-attribute"
0802df2e 119
f9aea359
JB
120 # Flags are set
121 cc_flags_set=yes
This page took 0.075788 seconds and 4 git commands to generate.