Ilya Zakharevich on Sat, 25 Sep 1999 15:16:25 -0400 (EDT) |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Easier support for gnuplot build for multiple versions |
This change makes Configure look up the directory tree for gnuplot libraries. This makes your life easier if you install multiple versions of PARI. Enjoy, Ilya --- ./Configure-pre Mon Sep 20 11:53:58 1999 +++ ./Configure Sat Sep 25 15:13:49 1999 @@ -434,7 +434,7 @@ if test "$optimization" != profiling; th pth=$libpth # LIB: gnuplot opth="$pth" - pth="$TOP/gnuplot-$osname-$arch $TOP/gnuplot $pth" + pth="$TOP/gnuplot-$osname-$arch $TOP/gnuplot $TOP/../gnuplot-$osname-$arch $TOP/../gnuplot $TOP/../../gnuplot-$osname-$arch $TOP/../../gnuplot $pth" gpth="$pth" lib=gnuplot; . ./locatelib pth="$opth" @@ -463,6 +463,8 @@ if test "$optimization" != profiling; th echo "###" echo "### Could not find gnuplot library in:" echo "### ./gnuplot-$osname-$arch ./gnuplot" + echo "### ../gnuplot-$osname-$arch ../gnuplot" + echo "### ../../gnuplot-$osname-$arch ../../gnuplot" echo "### $pth" echo "###" case "$osname" in @@ -473,6 +475,7 @@ if test "$optimization" != profiling; th echo "### ar cr $tlib version.o util.o term.o bitmap.o stdfn.o" echo "### In the build directory of gnuplot-3.7, and move" echo "### $tlib to ./gnuplot-$osname-$arch or ./gnuplot subdirs" + echo "### or to similarly-named directories up the directory tree." echo "###" fi ;;