| To: vim-dev@vim.org |
| Subject: patch 7.1.015 |
| Fcc: outbox |
| From: Bram Moolenaar <Bram@moolenaar.net> |
| Mime-Version: 1.0 |
| Content-Type: text/plain; charset=ISO-8859-1 |
| Content-Transfer-Encoding: 8bit |
| |
| |
| Patch 7.1.015 |
| Problem: MzScheme interface: current-library-collection-paths produces no |
| list. Interface doesn't build on a Mac. |
| Solution: Use a list instead of a pair. (Bernhard Fisseni) Use "-framework" |
| argument for MZSCHEME_LIBS in configure. |
| Files: src/configure.in, src/if_mzsch.c, src/auto/configure |
| |
| |
| |
| |
| |
| *** 423,429 **** |
| fi |
| |
| if test "X$vi_cv_path_mzscheme_pfx" != "X"; then |
| ! if test -f "${vi_cv_path_mzscheme_pfx}/lib/libmzgc.a"; then |
| MZSCHEME_LIBS="${vi_cv_path_mzscheme_pfx}/lib/libmzscheme.a ${vi_cv_path_mzscheme_pfx}/lib/libmzgc.a" |
| else |
| MZSCHEME_LIBS="-L${vi_cv_path_mzscheme_pfx}/lib -lmzscheme -lmzgc" |
| --- 423,431 ---- |
| fi |
| |
| if test "X$vi_cv_path_mzscheme_pfx" != "X"; then |
| ! if test "x$MACOSX" = "xyes"; then |
| ! MZSCHEME_LIBS="-framework PLT_MzScheme" |
| ! elif test -f "${vi_cv_path_mzscheme_pfx}/lib/libmzgc.a"; then |
| MZSCHEME_LIBS="${vi_cv_path_mzscheme_pfx}/lib/libmzscheme.a ${vi_cv_path_mzscheme_pfx}/lib/libmzgc.a" |
| else |
| MZSCHEME_LIBS="-L${vi_cv_path_mzscheme_pfx}/lib -lmzscheme -lmzgc" |
| |
| |
| |
| *** 773,780 **** |
| #ifdef MZSCHEME_COLLECTS |
| /* setup 'current-library-collection-paths' parameter */ |
| scheme_set_param(scheme_config, MZCONFIG_COLLECTION_PATHS, |
| ! scheme_make_pair(scheme_make_string(MZSCHEME_COLLECTS), |
| ! scheme_null)); |
| #endif |
| #ifdef HAVE_SANDBOX |
| /* setup sandbox guards */ |
| --- 773,779 ---- |
| #ifdef MZSCHEME_COLLECTS |
| /* setup 'current-library-collection-paths' parameter */ |
| scheme_set_param(scheme_config, MZCONFIG_COLLECTION_PATHS, |
| ! scheme_build_list(0, scheme_make_string(MZSCHEME_COLLECTS))); |
| #endif |
| #ifdef HAVE_SANDBOX |
| /* setup sandbox guards */ |
| |
| |
| |
| *** 3843,3849 **** |
| fi |
| |
| if test "X$vi_cv_path_mzscheme_pfx" != "X"; then |
| ! if test -f "${vi_cv_path_mzscheme_pfx}/lib/libmzgc.a"; then |
| MZSCHEME_LIBS="${vi_cv_path_mzscheme_pfx}/lib/libmzscheme.a ${vi_cv_path_mzscheme_pfx}/lib/libmzgc.a" |
| else |
| MZSCHEME_LIBS="-L${vi_cv_path_mzscheme_pfx}/lib -lmzscheme -lmzgc" |
| --- 3843,3851 ---- |
| fi |
| |
| if test "X$vi_cv_path_mzscheme_pfx" != "X"; then |
| ! if test "x$MACOSX" = "xyes"; then |
| ! MZSCHEME_LIBS="-framework PLT_MzScheme" |
| ! elif test -f "${vi_cv_path_mzscheme_pfx}/lib/libmzgc.a"; then |
| MZSCHEME_LIBS="${vi_cv_path_mzscheme_pfx}/lib/libmzscheme.a ${vi_cv_path_mzscheme_pfx}/lib/libmzgc.a" |
| else |
| MZSCHEME_LIBS="-L${vi_cv_path_mzscheme_pfx}/lib -lmzscheme -lmzgc" |
| |
| |
| |
| *** 668,669 **** |
| --- 668,671 ---- |
| { /* Add new patch number below this line */ |
| + /**/ |
| + 15, |
| /**/ |
| |
| -- |
| You know you use Vim too much when you have this alias in your |
| ~/.bashrc file: alias :e=/bin/vim (Eljay Love-Jensen) |
| |
| /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ |
| /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ |
| \\\ download, build and distribute -- http://www.A-A-P.org /// |
| \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |