source: trunk/dports/editors/MacVim/files/patch-python3.diff @ 70950

Last change on this file since 70950 was 70950, checked in by raimue@…, 10 years ago

editors/MacVim: Add +python31 variant

File size: 721 bytes
  • src/configure.in

    old new  
    949949AC_MSG_RESULT($enable_python3interp)
    950950if test "$enable_python3interp" = "yes" -o "$enable_python3interp" = "dynamic"; then
    951951  dnl -- find the python3 executable
    952   AC_PATH_PROG(vi_cv_path_python3, python3)
     952  AC_MSG_CHECKING(--with-python argument)
     953  AC_ARG_WITH(python, [  --with-python=PATH       which python to use (default: python)],
     954        python_name="$withval"; AC_MSG_RESULT($python_name),
     955        python_name="python"; AC_MSG_RESULT(no))
     956  AC_SUBST(vi_cv_path_python, $python_name)
    953957  if test "X$vi_cv_path_python3" != "X"; then
    954958
    955959    dnl -- get its version number
Note: See TracBrowser for help on using the repository browser.