Changeset 1975


Ignore:
Timestamp:
Dec 2, 2010 9:49:21 PM (13 years ago)
Author:
gah
Message:
 
Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure

    r1957 r1975  
    71937193
    71947194
    7195 with_tclsh="yes"
     7195rp_with_tclsh="yes"
    71967196
    71977197# Check whether --with-tclsh was given.
     
    71997199  withval=$with_tclsh;
    72007200else
    7201   with_tclsh=yes
     7201  rp_with_tclsh=yes
    72027202fi
    72037203
    72047204
    72057205TCLSH=
    7206 if test "$with_tclsh" != "no" ; then
     7206if test "$rp_with_tclsh" != "no" ; then
    72077207    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tclsh" >&5
    72087208$as_echo_n "checking for tclsh... " >&6; }
    7209     if test -x "$with_tclsh/bin/tclsh"
     7209    if test -x "$rp_with_tclsh/bin/tclsh"
    72107210    then
    7211         echo Found tclsh in $with_tclsh/bin/tclsh
    7212         TCLSH="$with_tclsh/bin/tclsh"
     7211        echo Found tclsh in $rp_with_tclsh/bin/tclsh
     7212        TCLSH="$rp_with_tclsh/bin/tclsh"
    72137213    else
    7214        if test -x "$with_tclsh"
     7214       if test -x "$rp_with_tclsh"
    72157215        then
    7216             echo Found tclsh in $with_tclsh
    7217             TCLSH="$with_tclsh"
     7216            echo Found tclsh in $rp_with_tclsh
     7217            TCLSH="$rp_with_tclsh"
    72187218        else
    72197219            if test -x "${exec_prefix}/bin/tclsh"
     
    72947294TCL_INC_SPEC="$TCL_INCLUDE_SPEC"
    72957295
    7296 if test "x$with_tcllib" != "x" ; then
    7297    tclconfig="${with_tcllib}/tclConfig.sh"
     7296if test "x$rp_with_tcllib" != "x" ; then
     7297   tclconfig="${rp_with_tcllib}/tclConfig.sh"
    72987298   if test -f "$tclconfig" ; then
    72997299    . $tclconfig
    73007300   fi
    7301    TCL_LIB_SPEC="-L${with_tcllib} -ltcl${TCL_VERSION}"
    7302 fi
    7303 if test "x$with_tclinclude" != "x" ; then
    7304    TCL_INC_SPEC="-I${with_tclinclude}"
     7301   TCL_LIB_SPEC="-L${rp_with_tcllib} -ltcl${TCL_VERSION}"
     7302fi
     7303if test "x$rp_with_tclinclude" != "x" ; then
     7304   TCL_INC_SPEC="-I${rp_with_tclinclude}"
    73057305fi
    73067306
     
    73127312# Check whether --with-vtk was given.
    73137313if test "${with_vtk+set}" = set; then :
    7314   withval=$with_vtk; with_vtk=$withval
    7315 else
    7316   with_vtk=yes
     7314  withval=$with_vtk; rp_with_vtk=$withval
     7315else
     7316  rp_with_vtk=yes
    73177317fi
    73187318
     
    73227322VTKDIR=""
    73237323
    7324 if test "$with_vtk" != "no" ; then
    7325   if test "$with_vtk" = "yes" ; then
     7324if test "$rp_with_vtk" != "no" ; then
     7325  if test "$rp_with_vtk" = "yes" ; then
    73267326    for path in \
    73277327     $libdir \
     
    73497349# Check whether --with-matlab was given.
    73507350if test "${with_matlab+set}" = set; then :
    7351   withval=$with_matlab; with_matlab=$withval
    7352 else
    7353   with_matlab=yes
     7351  withval=$with_matlab; rp_with_matlab=$withval
     7352else
     7353  rp_with_matlab=yes
    73547354fi
    73557355
     
    73607360MEXEXT=""
    73617361MATLAB=
    7362 if test "$with_matlab" != "no" ; then
    7363   if test "$with_matlab" = "yes" ; then
     7362if test "$rp_with_matlab" != "no" ; then
     7363  if test "$rp_with_matlab" = "yes" ; then
    73647364    # Extract the first word of "matlab", so it can be a program name with args.
    73657365set dummy matlab; ac_word=$2
     
    74167416  *)
    74177417  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    7418 as_dummy="${with_matlab}/bin:${with_matlab}"
     7418as_dummy="${rp_with_matlab}/bin:${rp_with_matlab}"
    74197419for as_dir in $as_dummy
    74207420do
     
    75997599# Check whether --with-octave was given.
    76007600if test "${with_octave+set}" = set; then :
    7601   withval=$with_octave; with_octave=$withval
    7602 else
    7603   with_octave=yes
     7601  withval=$with_octave; rp_with_octave=$withval
     7602else
     7603  rp_with_octave=yes
    76047604fi
    76057605
     
    76137613MKOCTFILE2=
    76147614MKOCTFILE3=
    7615 if test "$with_octave" != "no" ; then
     7615if test "$rp_with_octave" != "no" ; then
    76167616  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for octave and mkoctfile" >&5
    76177617$as_echo_n "checking for octave and mkoctfile... " >&6; }
    7618   if test "$with_octave" = "yes" ; then
     7618  if test "$rp_with_octave" = "yes" ; then
    76197619    # Extract the first word of "octave", so it can be a program name with args.
    76207620set dummy octave; ac_word=$2
     
    76987698
    76997699  else
    7700     MKOCTFILE=$with_octave
    7701     OCTAVE=$with_octave
     7700    MKOCTFILE=$rp_with_octave
     7701    OCTAVE=$rp_with_octave
    77027702  fi
    77037703fi
     
    77197719# Check whether --with-octave2 was given.
    77207720if test "${with_octave2+set}" = set; then :
    7721   withval=$with_octave2; with_octave2=$withval
    7722 else
    7723   with_octave2=no
    7724 fi
    7725 
    7726 
    7727 if test "$with_octave2" != "no" ; then
    7728   if test "$with_octave2" = "yes" ; then
     7721  withval=$with_octave2; rp_with_octave2=$withval
     7722else
     7723  rp_with_octave2=no
     7724fi
     7725
     7726
     7727if test "$rp_with_octave2" != "no" ; then
     7728  if test "$rp_with_octave2" = "yes" ; then
    77297729    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for octave and mkoctfile" >&5
    77307730$as_echo_n "checking for octave and mkoctfile... " >&6; }
     
    78107810
    78117811  else
    7812     octave2=$with_octave2
    7813     mkoctfile2=`dirname $with_octave2`/mkoctfile
     7812    octave2=$rp_with_octave2
     7813    mkoctfile2=`dirname $rp_with_octave2`/mkoctfile
    78147814  fi
    78157815fi
     
    78287828# Check whether --with-octave3 was given.
    78297829if test "${with_octave3+set}" = set; then :
    7830   withval=$with_octave3; with_octave3=$withval
    7831 else
    7832   with_octave3=no
    7833 fi
    7834 
    7835 
    7836 echo with_octave3=$with_octave3
    7837 if test "$with_octave3" != "no" ; then
    7838   if test "$with_octave3" = "yes" ; then
     7830  withval=$with_octave3; rp_with_octave3=$withval
     7831else
     7832  rp_with_octave3=no
     7833fi
     7834
     7835
     7836echo rp_with_octave3=$rp_with_octave3
     7837if test "$rp_with_octave3" != "no" ; then
     7838  if test "$rp_with_octave3" = "yes" ; then
    78397839    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for octave and mkoctfile" >&5
    78407840$as_echo_n "checking for octave and mkoctfile... " >&6; }
     
    79207920
    79217921  else
    7922     octave3=$with_octave3
    7923     mkoctfile3=`dirname $with_octave3`/mkoctfile
     7922    octave3=$rp_with_octave3
     7923    mkoctfile3=`dirname $rp_with_octave3`/mkoctfile
    79247924  fi
    79257925fi
     
    79337933  echo version_major=$version_major
    79347934  if test "$version_major" = "3" ; then
    7935     OCTAVE3=$with_octave3
     7935    OCTAVE3=$rp_with_octave3
    79367936    MKOCTFILE3=$mkoctfile3
    79377937  fi
     
    79527952  withval=$with_perl;
    79537953else
    7954   with_perl=yes
     7954  rp_with_perl=yes
    79557955fi
    79567956
     
    79677967PERL_VERSION_RV=
    79687968PERL_LIBSPEC=
    7969 if test "$with_perl" != "no" ; then
     7969if test "$rp_with_perl" != "no" ; then
    79707970  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for perl" >&5
    79717971$as_echo_n "checking for perl... " >&6; }
    7972   if test "$with_perl" != "yes" ; then
     7972  if test "$rp_with_perl" != "yes" ; then
    79737973    # Extract the first word of "perl", so it can be a program name with args.
    79747974set dummy perl; ac_word=$2
     
    79847984  *)
    79857985  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    7986 as_dummy="$with_perl/bin:$with_perl"
     7986as_dummy="$rp_with_perl/bin:$rp_with_perl"
    79877987for as_dir in $as_dummy
    79887988do
     
    81058105  withval=$with_python;
    81068106else
    8107   with_python=yes
    8108 fi
    8109 
    8110 
    8111 if test "$with_python" != "no" ; then
     8107  rp_with_python=yes
     8108fi
     8109
     8110
     8111if test "$rp_with_python" != "no" ; then
    81128112  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for python" >&5
    81138113$as_echo_n "checking for python... " >&6; }
    8114   if test -x "$with_python/bin/python"; then
    8115     echo Found python in $with_python/bin/python
    8116     PYTHON="$with_python/bin/python"
    8117   elif test -x "$with_python"; then
    8118     echo Found python in $with_python
    8119     PYTHON="$with_python"
     8114  if test -x "$rp_with_python/bin/python"; then
     8115    echo Found python in $rp_with_python/bin/python
     8116    PYTHON="$rp_with_python/bin/python"
     8117  elif test -x "$rp_with_python"; then
     8118    echo Found python in $rp_with_python
     8119    PYTHON="$rp_with_python"
    81208120  else
    81218121    # Extract the first word of "python python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5", so it can be a program name with args.
     
    81658165  fi
    81668166  if test "x${PYTHON_VERSION}" != "x"; then
    8167     if test -r $with_python/include/python$PYTHON_VERSION/Python.h -a \
    8168      -d $with_python/lib/python$PYTHON_VERSION/site-packages; then
    8169       PYTHON_INCLUDES=$with_python/include/python$PYTHON_VERSION
    8170       PYTHON_SITE_PACKAGES=$with_python/lib/python$PYTHON_VERSION/site-packages
     8167    if test -r $rp_with_python/include/python$PYTHON_VERSION/Python.h -a \
     8168     -d $rp_with_python/lib/python$PYTHON_VERSION/site-packages; then
     8169      PYTHON_INCLUDES=$rp_with_python/include/python$PYTHON_VERSION
     8170      PYTHON_SITE_PACKAGES=$rp_with_python/lib/python$PYTHON_VERSION/site-packages
    81718171    else
    81728172      if test -r $prefix/include/python$PYTHON_VERSION/Python.h; then
     
    81868186    fi
    81878187  fi
    8188   if test "x$with_python" != "x" ;  then
     8188  if test "x$rp_with_python" != "x" ;  then
    81898189    pythondir='$(PYTHON_SITE_PACKAGES)'
    81908190  else
     
    82428242
    82438243
    8244 rappture_with_ruby="yes"
     8244rp_with_ruby="yes"
    82458245
    82468246RUBY=""
     
    82508250# Check whether --with-ruby was given.
    82518251if test "${with_ruby+set}" = set; then :
    8252   withval=$with_ruby; rappture_with_ruby=$with_val
    8253 fi
    8254 
    8255 if test "${rappture_with_ruby}" != "no" ; then
    8256   if test "${rappture_with_ruby}" = "yes" ; then
     8252  withval=$with_ruby; rp_with_ruby=$withval
     8253fi
     8254
     8255if test "${rp_with_ruby}" != "no" ; then
     8256  if test "${rp_with_ruby}" = "yes" ; then
    82578257    # Extract the first word of "ruby", so it can be a program name with args.
    82588258set dummy ruby; ac_word=$2
     
    83098309  *)
    83108310  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    8311 as_dummy="${rappture_with_ruby}/bin/ruby:${rappture_with_ruby}"
     8311as_dummy="${rp_with_ruby}/bin:${rp_with_ruby}"
    83128312for as_dir in $as_dummy
    83138313do
     
    86608660
    86618661
    8662 rappture_with_java="yes"
     8662rp_with_java="yes"
    86638663JAVA=""
    86648664JAVAH=""
     
    86698669# Check whether --with-java was given.
    86708670if test "${with_java+set}" = set; then :
    8671   withval=$with_java; rappture_with_java=$with_val
    8672 fi
    8673 
    8674 if test "${rappture_with_java}" != "no" ; then
    8675   if test "${rappture_with_java}" = "yes" ; then
     8671  withval=$with_java; rp_with_java=$withval
     8672fi
     8673
     8674
     8675if test "${rp_with_java}" != "no" ; then
     8676  if test "${rp_with_java}" = "yes" ; then
    86768677    # Extract the first word of "java", so it can be a program name with args.
    86778678set dummy java; ac_word=$2
     
    88088809  *)
    88098810  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    8810 as_dummy="${rappture_with_java}/bin/java:${rappture_with_java}"
     8811as_dummy="${rp_with_java}/bin:${rp_with_java}"
    88118812for as_dir in $as_dummy
    88128813do
     
    88498850  *)
    88508851  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    8851 as_dummy="${rappture_with_java}/bin/java:${rappture_with_java}"
     8852as_dummy="${rp_with_java}/bin:${rp_with_java}"
    88528853for as_dir in $as_dummy
    88538854do
     
    88908891  *)
    88918892  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
    8892 as_dummy="${rappture_with_java}/bin/java:${rappture_with_java}"
     8893as_dummy="${rp_with_java}/bin:${rp_with_java}"
    88938894for as_dir in $as_dummy
    88948895do
  • trunk/configure.in

    r1957 r1975  
    114114AC_SUBST(ENABLE_GUI)
    115115
    116 with_tclsh="yes"
     116rp_with_tclsh="yes"
    117117AC_ARG_WITH(
    118118    [tclsh],
     
    120120        [location of tclsh @<:@default=yes@:>@])],
    121121    [],
    122     [with_tclsh=yes])
     122    [rp_with_tclsh=yes])
    123123
    124124TCLSH=
    125 if test "$with_tclsh" != "no" ; then
     125if test "$rp_with_tclsh" != "no" ; then
    126126    AC_MSG_CHECKING([for tclsh])
    127     if test -x "$with_tclsh/bin/tclsh"
     127    if test -x "$rp_with_tclsh/bin/tclsh"
    128128    then
    129         echo Found tclsh in $with_tclsh/bin/tclsh
    130         TCLSH="$with_tclsh/bin/tclsh"
     129        echo Found tclsh in $rp_with_tclsh/bin/tclsh
     130        TCLSH="$rp_with_tclsh/bin/tclsh"
    131131    else
    132        if test -x "$with_tclsh"
     132       if test -x "$rp_with_tclsh"
    133133        then
    134             echo Found tclsh in $with_tclsh
    135             TCLSH="$with_tclsh"
     134            echo Found tclsh in $rp_with_tclsh
     135            TCLSH="$rp_with_tclsh"
    136136        else
    137137            if test -x "${exec_prefix}/bin/tclsh"
     
    172172TCL_INC_SPEC="$TCL_INCLUDE_SPEC"
    173173
    174 if test "x$with_tcllib" != "x" ; then
    175    tclconfig="${with_tcllib}/tclConfig.sh"
     174if test "x$rp_with_tcllib" != "x" ; then
     175   tclconfig="${rp_with_tcllib}/tclConfig.sh"
    176176   if test -f "$tclconfig" ; then
    177177    . $tclconfig
    178178   fi
    179    TCL_LIB_SPEC="-L${with_tcllib} -ltcl${TCL_VERSION}"
    180 fi
    181 if test "x$with_tclinclude" != "x" ; then
    182    TCL_INC_SPEC="-I${with_tclinclude}"
     179   TCL_LIB_SPEC="-L${rp_with_tcllib} -ltcl${TCL_VERSION}"
     180fi
     181if test "x$rp_with_tclinclude" != "x" ; then
     182   TCL_INC_SPEC="-I${rp_with_tclinclude}"
    183183fi
    184184
     
    191191    [AS_HELP_STRING([--with-vtk[=DIR]],
    192192        [location of vtk library @<:@default=yes@:>@])],
    193     [with_vtk=$withval], [with_vtk=yes])
     193    [rp_with_vtk=$withval], [rp_with_vtk=yes])
    194194
    195195AC_MSG_CHECKING([for vtk])
    196196VTKDIR=""
    197197
    198 if test "$with_vtk" != "no" ; then
    199   if test "$with_vtk" = "yes" ; then
     198if test "$rp_with_vtk" != "no" ; then
     199  if test "$rp_with_vtk" = "yes" ; then
    200200    for path in \
    201201     $libdir \
     
    223223    [AS_HELP_STRING([--with-matlab[=DIR]],
    224224        [location of matlab and mex compiler @<:@default=yes@:>@])],
    225     [with_matlab=$withval],
    226     [with_matlab=yes])
     225    [rp_with_matlab=$withval],
     226    [rp_with_matlab=yes])
    227227
    228228MCC=""
     
    231231MEXEXT=""
    232232MATLAB=
    233 if test "$with_matlab" != "no" ; then
    234   if test "$with_matlab" = "yes" ; then
     233if test "$rp_with_matlab" != "no" ; then
     234  if test "$rp_with_matlab" = "yes" ; then
    235235    AC_PATH_PROG(MATLAB, matlab)
    236236  else
    237     AC_PATH_PROG(MATLAB, matlab, [], [${with_matlab}/bin:${with_matlab}])
     237    AC_PATH_PROG(MATLAB, matlab, [], [${rp_with_matlab}/bin:${rp_with_matlab}])
    238238  fi
    239239fi
     
    272272    [AS_HELP_STRING([--with-octave[=DIR]],
    273273        [location of octave compiler MKOCTFILE @<:@default=yes@:>@])],
    274     [with_octave=$withval],
    275     [with_octave=yes])
     274    [rp_with_octave=$withval],
     275    [rp_with_octave=yes])
    276276
    277277OCTAVE=
     
    283283MKOCTFILE2=
    284284MKOCTFILE3=
    285 if test "$with_octave" != "no" ; then
     285if test "$rp_with_octave" != "no" ; then
    286286  AC_MSG_CHECKING([for octave and mkoctfile])
    287   if test "$with_octave" = "yes" ; then
     287  if test "$rp_with_octave" = "yes" ; then
    288288    AC_PATH_PROG(OCTAVE, octave)
    289289    AC_PATH_PROG(MKOCTFILE, mkoctfile)
    290290  else
    291     MKOCTFILE=$with_octave
    292     OCTAVE=$with_octave
     291    MKOCTFILE=$rp_with_octave
     292    OCTAVE=$rp_with_octave
    293293  fi
    294294fi
     
    311311    [AS_HELP_STRING([--with-octave2[=DIR]],
    312312        [location of octave compiler MKOCTFILE @<:@default=no@:>@])],
    313     [with_octave2=$withval],
    314     [with_octave2=no])
    315 
    316 if test "$with_octave2" != "no" ; then
    317   if test "$with_octave2" = "yes" ; then
     313    [rp_with_octave2=$withval],
     314    [rp_with_octave2=no])
     315
     316if test "$rp_with_octave2" != "no" ; then
     317  if test "$rp_with_octave2" = "yes" ; then
    318318    AC_MSG_CHECKING([for octave and mkoctfile])
    319319    AC_PATH_PROG(octave2, octave)
    320320    AC_PATH_PROG(mkoctfile2, mkoctfile)
    321321  else
    322     octave2=$with_octave2
    323     mkoctfile2=`dirname $with_octave2`/mkoctfile
     322    octave2=$rp_with_octave2
     323    mkoctfile2=`dirname $rp_with_octave2`/mkoctfile
    324324  fi
    325325fi
     
    339339    [AS_HELP_STRING([--with-octave3[=DIR]],
    340340        [location of octave compiler MKOCTFILE @<:@default=no@:>@])],
    341     [with_octave3=$withval],
    342     [with_octave3=no])
    343 
    344 echo with_octave3=$with_octave3
    345 if test "$with_octave3" != "no" ; then
    346   if test "$with_octave3" = "yes" ; then
     341    [rp_with_octave3=$withval],
     342    [rp_with_octave3=no])
     343
     344echo rp_with_octave3=$rp_with_octave3
     345if test "$rp_with_octave3" != "no" ; then
     346  if test "$rp_with_octave3" = "yes" ; then
    347347    AC_MSG_CHECKING([for octave and mkoctfile])
    348348    AC_PATH_PROG(octave3, octave)
    349349    AC_PATH_PROG(mkoctfile3, mkoctfile)
    350350  else
    351     octave3=$with_octave3
    352     mkoctfile3=`dirname $with_octave3`/mkoctfile
     351    octave3=$rp_with_octave3
     352    mkoctfile3=`dirname $rp_with_octave3`/mkoctfile
    353353  fi
    354354fi
     
    362362  echo version_major=$version_major
    363363  if test "$version_major" = "3" ; then
    364     OCTAVE3=$with_octave3
     364    OCTAVE3=$rp_with_octave3
    365365    MKOCTFILE3=$mkoctfile3
    366366  fi
     
    380380    [AS_HELP_STRING([--with-perl[=DIR]], [location of perl @<:@default=yes@:>@])],
    381381    [],
    382     [with_perl=yes])
     382    [rp_with_perl=yes])
    383383
    384384PERL=
     
    393393PERL_VERSION_RV=
    394394PERL_LIBSPEC=
    395 if test "$with_perl" != "no" ; then
     395if test "$rp_with_perl" != "no" ; then
    396396  AC_MSG_CHECKING([for perl])
    397   if test "$with_perl" != "yes" ; then
    398     AC_PATH_PROG(PERL, perl, [], [$with_perl/bin:$with_perl])
     397  if test "$rp_with_perl" != "yes" ; then
     398    AC_PATH_PROG(PERL, perl, [], [$rp_with_perl/bin:$rp_with_perl])
    399399  else
    400400    AC_PATH_PROG(PERL, perl)
     
    448448    [AS_HELP_STRING([--with-python[=DIR]],[location of python @<:@default=yes@:>@])],
    449449    [],
    450     [with_python=yes])
    451 
    452 if test "$with_python" != "no" ; then
     450    [rp_with_python=yes])
     451
     452if test "$rp_with_python" != "no" ; then
    453453  AC_MSG_CHECKING([for python])
    454   if test -x "$with_python/bin/python"; then
    455     echo Found python in $with_python/bin/python
    456     PYTHON="$with_python/bin/python"
    457   elif test -x "$with_python"; then
    458     echo Found python in $with_python
    459     PYTHON="$with_python"
     454  if test -x "$rp_with_python/bin/python"; then
     455    echo Found python in $rp_with_python/bin/python
     456    PYTHON="$rp_with_python/bin/python"
     457  elif test -x "$rp_with_python"; then
     458    echo Found python in $rp_with_python
     459    PYTHON="$rp_with_python"
    460460  else
    461461    AC_PATH_PROG(PYTHON, python python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5)
     
    466466  fi
    467467  if test "x${PYTHON_VERSION}" != "x"; then
    468     if test -r $with_python/include/python$PYTHON_VERSION/Python.h -a \
    469      -d $with_python/lib/python$PYTHON_VERSION/site-packages; then
    470       PYTHON_INCLUDES=$with_python/include/python$PYTHON_VERSION
    471       PYTHON_SITE_PACKAGES=$with_python/lib/python$PYTHON_VERSION/site-packages
     468    if test -r $rp_with_python/include/python$PYTHON_VERSION/Python.h -a \
     469     -d $rp_with_python/lib/python$PYTHON_VERSION/site-packages; then
     470      PYTHON_INCLUDES=$rp_with_python/include/python$PYTHON_VERSION
     471      PYTHON_SITE_PACKAGES=$rp_with_python/lib/python$PYTHON_VERSION/site-packages
    472472    else
    473473      if test -r $prefix/include/python$PYTHON_VERSION/Python.h; then
     
    487487    fi
    488488  fi
    489   if test "x$with_python" != "x" ;  then
     489  if test "x$rp_with_python" != "x" ;  then
    490490    pythondir='$(PYTHON_SITE_PACKAGES)'
    491491  else
     
    538538AC_SUBST(HAVE_PYTHON_DISTUTILS)
    539539
    540 rappture_with_ruby="yes"
     540rp_with_ruby="yes"
    541541
    542542RUBY=""
     
    545545AC_ARG_WITH(ruby,
    546546  AS_HELP_STRING([--with-ruby=PATH], [absolute path to ruby executable]),
    547   [rappture_with_ruby=$with_val])
    548 if test "${rappture_with_ruby}" != "no" ; then
    549   if test "${rappture_with_ruby}" = "yes" ; then
     547  [rp_with_ruby=$withval])
     548if test "${rp_with_ruby}" != "no" ; then
     549  if test "${rp_with_ruby}" = "yes" ; then
    550550    AC_PATH_PROG(RUBY, ruby)
    551551  else
    552     AC_PATH_PROG(RUBY, ruby, [],
    553       [${rappture_with_ruby}/bin/ruby:${rappture_with_ruby}])
     552    AC_PATH_PROG(RUBY, ruby, [], [${rp_with_ruby}/bin:${rp_with_ruby}])
    554553  fi
    555554fi
     
    572571AC_SUBST(RUBY_PLATFORM)
    573572
    574 rappture_with_java="yes"
     573rp_with_java="yes"
    575574JAVA=""
    576575JAVAH=""
     
    580579AC_ARG_WITH(java,
    581580  AS_HELP_STRING([--with-java=PATH], [absolute path to java executable]),
    582   [rappture_with_java=$with_val])
    583 if test "${rappture_with_java}" != "no" ; then
    584   if test "${rappture_with_java}" = "yes" ; then
     581  [rp_with_java=$withval])
     582
     583if test "${rp_with_java}" != "no" ; then
     584  if test "${rp_with_java}" = "yes" ; then
    585585    AC_PATH_PROG(JAVA, java)
    586586    AC_PATH_PROG(JAVAC, javac)
    587587    AC_PATH_PROG(JAVAH, javah)
    588588  else
    589     AC_PATH_PROG(JAVA, java, [],
    590       [${rappture_with_java}/bin/java:${rappture_with_java}])
    591     AC_PATH_PROG(JAVAC, javac, [],
    592       [${rappture_with_java}/bin/java:${rappture_with_java}])
    593     AC_PATH_PROG(JAVAH, javah, [],
    594       [${rappture_with_java}/bin/java:${rappture_with_java}])
     589    AC_PATH_PROG(JAVA,  java,  [], [${rp_with_java}/bin:${rp_with_java}])
     590    AC_PATH_PROG(JAVAC, javac, [], [${rp_with_java}/bin:${rp_with_java}])
     591    AC_PATH_PROG(JAVAH, javah, [], [${rp_with_java}/bin:${rp_with_java}])
    595592  fi
    596593fi
Note: See TracChangeset for help on using the changeset viewer.