The R Project SVN R

Rev

Rev 46821 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 46821 Rev 46994
Line 2... Line 2...
2
#
2
#
3
# ${R_HOME}/bin/COMPILE
3
# ${R_HOME}/bin/COMPILE
4
 
4
 
5
# @configure_input@
5
# @configure_input@
6
 
6
 
7
revision='$Rev: 46821 $'
7
revision='$Rev: 46994 $'
8
version=`set - ${revision}; echo ${2}`
8
version=`set - ${revision}; echo ${2}`
9
version="R compilation front end ${version}
9
version="R compilation front end ${version}
10
 
10
 
11
Copyright (C) 2000-2006 The R Core Development Team.
11
Copyright (C) 2000-2006 The R Core Development Team.
12
This is free software; see the GNU General Public License version 2 or
12
This is free software; see the GNU General Public License version 2 or
Line 53... Line 53...
53
    -D*)
53
    -D*)
54
      MAKEFLAGS="${MAKEFLAGS} ${1}" ;;
54
      MAKEFLAGS="${MAKEFLAGS} ${1}" ;;
55
    *=*)
55
    *=*)
56
      argn=`echo "${1}" | sed -e 's/=.*//'`
56
      argn=`echo "${1}" | sed -e 's/=.*//'`
57
      argv=`echo "${1}" | \
57
      argv=`echo "${1}" | \
58
        sed -e 's/[^=]*=//; s/^\\"//; s/\\"$//; s/\\"/\\\\"/g'`
58
	sed -e 's/[^=]*=//; s/^\\"//; s/\\"$//; s/\\"/\\\\"/g'`
59
      MAKEFLAGS="${MAKEFLAGS} ${argn}=\"${argv}\""
59
      MAKEFLAGS="${MAKEFLAGS} ${argn}=\"${argv}\""
60
      ;;
60
      ;;
61
    *)
61
    *)
62
      echo "ERROR: don't know how to compile '${1}'"
62
      echo "ERROR: don't know how to compile '${1}'"
63
      exit 1
63
      exit 1