summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2015-05-15 11:24:01 -0700
committerOri Bernstein <ori@eigenstate.org>2015-05-15 11:24:01 -0700
commit96da70b6356fc720eec5469d251c8031f24313ea (patch)
treef44a5278781259ae7a9375cb1d2d1190cac63de7 /configure
parent04c7c7f5989f7521ca68c8604b5b98b3bd4502bb (diff)
downloadmc-96da70b6356fc720eec5469d251c8031f24313ea.tar.gz
Don't hardcode paths.
Plan 9 needs them to be configured differently.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure b/configure
index 9ab6872..64f47e1 100755
--- a/configure
+++ b/configure
@@ -52,7 +52,10 @@ echo "const Arcmd = [\"ar\", \"-rcs\"]" >> mbld/config.myr
echo "const Ascmd = [\"as\", \"-g\"]" >> mbld/config.myr
echo "const Directlib = false" >> mbld/config.myr
echo "const Runtime = \"_myrrt.o\"" >> mbld/config.myr
+# paths to install to
echo "const Manpath = \"share/man/man\"" >> mbld/config.myr
+echo "const Binpath = \"bin\"" >> mbld/config.myr
+echo "const Libpath = \"lib/myr\"" >> mbld/config.myr
case $OS in
*Linux*)
echo '#define Symprefix ""' >> config.h