diff options
Diffstat (limited to 'gdb/testsuite/configure.ac')
-rw-r--r-- | gdb/testsuite/configure.ac | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/gdb/testsuite/configure.ac b/gdb/testsuite/configure.ac index bb98e6f..80d89aa 100644 --- a/gdb/testsuite/configure.ac +++ b/gdb/testsuite/configure.ac @@ -1,7 +1,7 @@ # -*- Autoconf -*- # Process this file with autoconf to produce a configure script. -# Copyright 2002, 2003, 2004, 2005 +# Copyright 2002, 2003, 2004, 2005, 2009 # Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or modify @@ -26,6 +26,17 @@ AC_CANONICAL_TARGET ACX_NONCANONICAL_TARGET +# Check for the 'make' the user wants to use. +AC_CHECK_PROGS(MAKE, make) +MAKE_IS_GNU= +case "`$MAKE --version 2>&1 | sed 1q`" in + *GNU*) + MAKE_IS_GNU=yes + ;; +esac +AM_CONDITIONAL(GMAKE, test "$MAKE_IS_GNU" = yes) +AC_PROG_MAKE_SET + # Add HP-specific tests when appropriate. case $target in hppa*-*-hpux*) |