[racket-dev] --enable-macprefix gone?

From: Eli Barzilay (eli at barzilay.org)
Date: Tue Oct 19 22:03:24 EDT 2010

9 hours ago, David Van Horn wrote:
> Has the --enable-macprefix option been removed from the configure 
> script?  When I configure, I get:
> 
>     configure: WARNING: unrecognized options: --enable-macprefix
> 
> If so, the src/README file should be updated to reflect the change.

You should have this code in the "configure" script:

enable_quartz=no
if test "${enable_xonx}" = "yes" ; then
  enable_quartz=no
else
  if test "$OS" = "Darwin" ; then
    enable_quartz=yes
    enable_origtree=yes
    if test "${prefix}" != "NONE" ; then
      if test "${enable_macprefix}" != "yes" ; then
        echo "ERROR: --prefix not allowed for a Mac OS X build, unless either"
        echo "         --enable-xonx is supplied (to create a Unix-style"
        echo "           build), or "
        echo "         --enable-macprefix is supplied (to allow a Mac-style"
        echo "           installation, even though --prefix is normally used"
        echo "           for Unix-style installations)"
        exit 1
      fi
    fi
  fi
fi

-- 
          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                    http://barzilay.org/                   Maze is Life!


Posted on the dev mailing list.