693 | | if test "x$MACOSX" = "xyes" && ${vi_cv_path_python} -c \ |
694 | | "import sys; sys.exit(${vi_cv_var_python_version} < 2.3)"; then |
695 | | vi_cv_path_python_plibs="-framework Python" |
696 | | else |
697 | | if test "${vi_cv_var_python_version}" = "1.4"; then |
698 | | vi_cv_path_python_plibs="${PYTHON_CONFDIR}/libModules.a ${PYTHON_CONFDIR}/libPython.a ${PYTHON_CONFDIR}/libObjects.a ${PYTHON_CONFDIR}/libParser.a" |
699 | | else |
700 | | vi_cv_path_python_plibs="-L${PYTHON_CONFDIR} -lpython${vi_cv_var_python_version}" |
701 | | fi |
702 | | vi_cv_path_python_plibs="${vi_cv_path_python_plibs} ${python_MODLIBS} ${python_LIBS} ${python_SYSLIBS} ${python_LINKFORSHARED}" |
703 | | dnl remove -ltermcap, it can conflict with an earlier -lncurses |
704 | | vi_cv_path_python_plibs=`echo $vi_cv_path_python_plibs | sed s/-ltermcap//` |
705 | | fi |
| 693 | if test "${vi_cv_var_python_version}" = "1.4"; then |
| 694 | vi_cv_path_python_plibs="${PYTHON_CONFDIR}/libModules.a ${PYTHON_CONFDIR}/libPython.a ${PYTHON_CONFDIR}/libObjects.a ${PYTHON_CONFDIR}/libParser.a" |
| 695 | else |
| 696 | vi_cv_path_python_plibs="-L${PYTHON_CONFDIR} -lpython${vi_cv_var_python_version}" |
| 697 | fi |
| 698 | vi_cv_path_python_plibs="${vi_cv_path_python_plibs} ${python_MODLIBS} ${python_LIBS} ${python_SYSLIBS} ${python_LINKFORSHARED}" |
| 699 | dnl remove -ltermcap, it can conflict with an earlier -lncurses |
| 700 | vi_cv_path_python_plibs=`echo $vi_cv_path_python_plibs | sed s/-ltermcap//` |