Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
m4/sage_check_osx_supported.m4: Do not exit with error if fink or mac…
Browse files Browse the repository at this point in the history
…ports is found
  • Loading branch information
Matthias Koeppe committed Mar 17, 2021
1 parent 8e1393c commit 72c9241
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions m4/sage_check_osx_supported.m4
Original file line number Diff line number Diff line change
Expand Up @@ -40,29 +40,5 @@ AC_DEFUN([SAGE_CHECK_OSX_SUPPORTED], [
fi
fi >& AS_MESSAGE_FD
#######################################################################
# (OS X only)
# Sage will probably not build at all if either Fink or MacPorts can be
# found, and the error messages can be extremely confusing. Even if it
# does build, the product will probably be wrong. This runs a basic
# check to find them. Once the Sage build process is perfected, this
# won't be necessary.
# dphilp 15/9/2008
#######################################################################
PORTS_PATH=`which port`
if test -f "$PORTS_PATH"; then
AC_MSG_ERROR(["found MacPorts in $PORTS_PATH. Either:
(1) rename /opt/local and /sw, or
(2) change PATH and DYLD_LIBRARY_PATH
(Once Sage is built, you can restore them.)])
fi
FINK_PATH=`which fink`
if test -f "$FINK_PATH"; then
AC_MSG_ERROR(["found Fink in $FINK_PATH. Either:
(1) rename /opt/local and /sw, or
(2) change PATH and DYLD_LIBRARY_PATH
(Once Sage is built, you can restore them.)])
fi
])
])

0 comments on commit 72c9241

Please sign in to comment.