Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 24 lines (23 sloc) 0.778 kb
babd45f 0.9.4.72:
Thiemo Seufer authored
1 #!/bin/false
22c1de0 @csrhodes 0.8.2.7:
csrhodes authored
2 # Not a shell script, but something intended to be sourced from shell scripts
3 find_gnumake() {
4 # the GNU dialect of "make" -- easier to find or port it than to
5 # try to figure out how to port to the local dialect...
6 if [ "$GNUMAKE" != "" ] ; then
7 # The user is evidently trying to tell us something.
8 GNUMAKE="$GNUMAKE"
ce5066f 0.9.18.36:
Nathan Froyd authored
9 elif [ "GNU Make" = "`make -v 2>/dev/null | head -n 1 | cut -b 1-8`" ]; then
e9d5418 @nikodemus 0.9.13.12: GNU make finding tweak
nikodemus authored
10 GNUMAKE=make
22c1de0 @csrhodes 0.8.2.7:
csrhodes authored
11 elif [ -x "`which gmake`" ] ; then
12 # "gmake" is the preferred name in *BSD.
13 GNUMAKE=gmake
2b967f6 @csrhodes 0.8.2.16:
csrhodes authored
14 elif [ -x "`which gnumake`" ] ; then
15 # MacOS X aka Darwin
04d819b @csrhodes 0.9.8.27:
csrhodes authored
16 GNUMAKE=gnumake
22c1de0 @csrhodes 0.8.2.7:
csrhodes authored
17 else
18 echo "GNU Make not found. Try setting the environment variable GNUMAKE."
19 exit 1
20 fi
21 export GNUMAKE
bfdb13b 0.8.10.16:
William Harold Newman authored
22 #echo "//GNUMAKE=\"$GNUMAKE\""
22c1de0 @csrhodes 0.8.2.7:
csrhodes authored
23 }
Something went wrong with that request. Please try again.