summaryrefslogtreecommitdiff
path: root/packages/nonworking/r/r-2.0.0/configure.patch
blob: acd7e6c46709d46b7feda4621d8f17fe2109b7b6 (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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
--- R-2.0.0/configure~	2004-12-11 00:34:27.270027696 +0000
+++ R-2.0.0/configure	2004-12-10 23:06:11.000000000 +0000
@@ -20960,41 +20960,41 @@
 
 ### * Checks for libraries.
 
-## Set up LD_LIBRARY_PATH or equivalent.
-## <FIXME>
-## What is this doing *HERE*?
-## Should be needed for tests using AC_RUN_IFELSE()?
-## Make sure that non-standard directories specified via '-L' are really
-## searched in the tests.
-## Note: earlier versions used LIBS rather than LDFLAGS.
-for arg in ${LDFLAGS}; do
-  case "${arg}" in
-    -L*)
-      lib=`echo ${arg} | sed "s/^-L//"`
-      separator="${PATH_SEPARATOR}"
-test -z "${separator}" && separator=" "
-if test -z "${R_LD_LIBRARY_PATH}"; then
-  R_LD_LIBRARY_PATH="${lib}"
-else
-  R_LD_LIBRARY_PATH="${R_LD_LIBRARY_PATH}${separator}${lib}"
-fi
-      ;;
-  esac
-done
-## </FIXME>
-
-## Record name of environment variable which tells the dynamic linker
-## where to find shlibs (typically, 'LD_LIBRARY_PATH').
-ltout=`./libtool --config | grep '^shlibpath_var='`
-eval "${ltout}"
-
-## Export LD_LIBRARY_PATH or equivalent.
-if eval "test -z \"\${${shlibpath_var}}\""; then
-  eval "${shlibpath_var}=\"${R_LD_LIBRARY_PATH}\""
-else
-  eval "${shlibpath_var}=\"${R_LD_LIBRARY_PATH}${PATH_SEPARATOR}\${${shlibpath_var}}\""
-fi
-eval "export ${shlibpath_var}"
+### Set up LD_LIBRARY_PATH or equivalent.
+### <FIXME>
+### What is this doing *HERE*?
+### Should be needed for tests using AC_RUN_IFELSE()?
+### Make sure that non-standard directories specified via '-L' are really
+### searched in the tests.
+### Note: earlier versions used LIBS rather than LDFLAGS.
+#for arg in ${LDFLAGS}; do
+#  case "${arg}" in
+#    -L*)
+#      lib=`echo ${arg} | sed "s/^-L//"`
+#      separator="${PATH_SEPARATOR}"
+#test -z "${separator}" && separator=" "
+#if test -z "${R_LD_LIBRARY_PATH}"; then
+#  R_LD_LIBRARY_PATH="${lib}"
+#else
+#  R_LD_LIBRARY_PATH="${R_LD_LIBRARY_PATH}${separator}${lib}"
+#fi
+#      ;;
+#  esac
+#done
+### </FIXME>
+
+### Record name of environment variable which tells the dynamic linker
+### where to find shlibs (typically, 'LD_LIBRARY_PATH').
+#ltout=`./libtool --config | grep '^shlibpath_var='`
+#eval "${ltout}"
+#
+### Export LD_LIBRARY_PATH or equivalent.
+#if eval "test -z \"\${${shlibpath_var}}\""; then
+#  eval "${shlibpath_var}=\"${R_LD_LIBRARY_PATH}\""
+#else
+#  eval "${shlibpath_var}=\"${R_LD_LIBRARY_PATH}${PATH_SEPARATOR}\${${shlibpath_var}}\""
+#fi
+#eval "export ${shlibpath_var}"
 
 ## Yes, we already need this at configure time ...
 case "${host_os}" in
@@ -26334,6 +26334,9 @@
 
 fi
 
+#<Cross-compile addition>
+r_cv_prog_f77_can_run=yes
+#</Cross-compile Addition>
 
 echo "$as_me:$LINENO: checking whether mixed C/Fortran code can be run" >&5
 echo $ECHO_N "checking whether mixed C/Fortran code can be run... $ECHO_C" >&6
@@ -26393,6 +26396,9 @@
    { (exit 1); exit 1; }; }
 fi
 
+#<Cross-compile addition>
+r_cv_prog_f77_cc_compat=yes
+#</Cross-compile Addition>
 
 echo "$as_me:$LINENO: checking whether ${F77} and ${CC} agree on int and double" >&5
 echo $ECHO_N "checking whether ${F77} and ${CC} agree on int and double... $ECHO_C" >&6