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

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
mkoeppe committed Feb 20, 2021
1 parent a62e1e9 commit 70cc566
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,19 @@ AC_CONFIG_MACRO_DIR([m4])
# Set various environment variables (needed at configure time)
########################################################################

# Assume current directory is SAGE_ROOT.
SAGE_ROOT=`pwd -P`
AC_SUBST(SAGE_ROOT)
AC_ARG_WITH([relocation-root],
[AS_HELP_STRING([--with-relocation-root[=ROOT]],
[Create a symbolic link ROOT pointing to the source directory and hardcode SAGE_ROOT=ROOT instead of the physical source directory])], [
dnl --with-relocation-root given
AS_CASE(["$with_relocation_root"],
[yes], [
TO BE CONTINUED
=
], [
dnl --with-relocation-root not given. Assume current directory is SAGE_ROOT.
SAGE_ROOT=`pwd -P`
])
AC_SUBST([SAGE_ROOT])
SAGE_LOCAL="$prefix"
# The following line is necessary because the code below
Expand Down

0 comments on commit 70cc566

Please sign in to comment.