| Line 22... |
Line 22... |
| 22 |
## A copy of the GNU General Public License is available via WWW at
|
22 |
## A copy of the GNU General Public License is available via WWW at
|
| 23 |
## http://www.gnu.org/copyleft/gpl.html. You can also obtain it by
|
23 |
## http://www.gnu.org/copyleft/gpl.html. You can also obtain it by
|
| 24 |
## writing to the Free Software Foundation, Inc., 59 Temple Place,
|
24 |
## writing to the Free Software Foundation, Inc., 59 Temple Place,
|
| 25 |
## Suite 330, Boston, MA 02111-1307, U.S.A.
|
25 |
## Suite 330, Boston, MA 02111-1307, U.S.A.
|
| 26 |
|
26 |
|
| 27 |
revision='$Revision: 1.1 $'
|
27 |
revision='$Revision: 1.2 $'
|
| 28 |
version=`set - ${revision}; echo ${2}`
|
28 |
version=`set - ${revision}; echo ${2}`
|
| 29 |
version="R configuration information retrieval script ${version}
|
29 |
version="R configuration information retrieval script ${version}
|
| 30 |
|
30 |
|
| 31 |
Copyright (C) 2002 The R Core Development Team.
|
31 |
Copyright (C) 2002 The R Core Development Team.
|
| 32 |
This is free software; see the GNU General Public Licence version 2
|
32 |
This is free software; see the GNU General Public Licence version 2
|
| Line 100... |
Line 100... |
| 100 |
## | uniq`
|
100 |
## | uniq`
|
| 101 |
## to obtain the configure vars and hence create most of the above usage
|
101 |
## to obtain the configure vars and hence create most of the above usage
|
| 102 |
## info as well as the list ok accepted variables below automatically.
|
102 |
## info as well as the list ok accepted variables below automatically.
|
| 103 |
|
103 |
|
| 104 |
makefiles="-f ${R_HOME}/etc/Makeconf -f ${R_HOME}/share/make/config.mk"
|
104 |
makefiles="-f ${R_HOME}/etc/Makeconf -f ${R_HOME}/share/make/config.mk"
|
| 105 |
query="make ${makefiles} print R_HOME=${R_HOME}"
|
105 |
query="${MAKE} -s ${makefiles} print R_HOME=${R_HOME}"
|
| 106 |
|
106 |
|
| 107 |
LIBR=`eval $query VAR=LIBR`
|
107 |
LIBR=`eval $query VAR=LIBR`
|
| 108 |
|
108 |
|
| 109 |
var=
|
109 |
var=
|
| 110 |
while test -n "${1}"; do
|
110 |
while test -n "${1}"; do
|