The R Project SVN R

Rev

Rev 37351 | Rev 40913 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 37351 Rev 37401
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., 51 Franklin Street,
24
## writing to the Free Software Foundation, Inc., 51 Franklin Street,
25
## Fifth Floor, Boston, MA 02110-1301  USA.
25
## Fifth Floor, Boston, MA 02110-1301  USA.
26
 
26
 
27
revision='$Revision: 37351 $'
27
revision='$Revision: 37401 $'
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-6 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
33
or later for copying conditions.  There is NO warranty."
33
or later for copying conditions.  There is NO warranty."
34
 
34
 
35
usage="Usage: R CMD config [options] [VAR]
35
usage="Usage: R CMD config [options] [VAR]
36
 
36
 
Line 126... Line 126...
126
      echo "${version}"; exit 0 ;;
126
      echo "${version}"; exit 0 ;;
127
    --cppflags)
127
    --cppflags)
128
      if test -z "${LIBR}"; then
128
      if test -z "${LIBR}"; then
129
        echo "R was not built as a shared library" >&2
129
        echo "R was not built as a shared library" >&2
130
      else
130
      else
131
        echo "-I${R_HOME}/include"
131
        echo "-I${R_INCLUDE_DIR} -I${R_INCLUDE_DIR}${R_ARCH}"
132
      fi
132
      fi
133
      exit 0
133
      exit 0
134
      ;;
134
      ;;
135
    --ldflags)
135
    --ldflags)
136
      if test -z "${LIBR}"; then
136
      if test -z "${LIBR}"; then