Diff of /find-gnumake.sh [74476a] .. [ce5066]  Maximize  Restore

  Switch to unified view

a/find-gnumake.sh b/find-gnumake.sh
...
...
4
  # the GNU dialect of "make" -- easier to find or port it than to
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...
5
  # try to figure out how to port to the local dialect...
6
  if [ "$GNUMAKE" != "" ] ; then
6
  if [ "$GNUMAKE" != "" ] ; then
7
    # The user is evidently trying to tell us something.
7
    # The user is evidently trying to tell us something.
8
    GNUMAKE="$GNUMAKE"
8
    GNUMAKE="$GNUMAKE"
9
  elif [ "GNU Make" = "`make -v | head -n 1 | cut -b 1-8`" ]; then
9
  elif [ "GNU Make" = "`make -v 2>/dev/null | head -n 1 | cut -b 1-8`" ]; then
10
    GNUMAKE=make
10
    GNUMAKE=make
11
  elif [ -x "`which gmake`" ] ; then
11
  elif [ -x "`which gmake`" ] ; then
12
    # "gmake" is the preferred name in *BSD.
12
    # "gmake" is the preferred name in *BSD.
13
    GNUMAKE=gmake
13
    GNUMAKE=gmake
14
  elif [ -x "`which gnumake`" ] ; then
14
  elif [ -x "`which gnumake`" ] ; then

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks