]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - Makerules
update from main archive 961114
[thirdparty/glibc.git] / Makerules
index d1ac04f2aa95bc5c47a20b8fd7251720993a4d1a..6af4824604bacd9ab1ce42b259a4faf8050c2418 100644 (file)
--- a/Makerules
+++ b/Makerules
@@ -12,9 +12,9 @@
 # Library General Public License for more details.
 
 # You should have received a copy of the GNU Library General Public
-# License along with the GNU C Library; see the file COPYING.LIB.  If
-# not, write to the Free Software Foundation, Inc., 675 Mass Ave,
-# Cambridge, MA 02139, USA.
+# License along with the GNU C Library; see the file COPYING.LIB.  If not,
+# write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+# Boston, MA 02111-1307, USA.
 
 #
 #      Common rules for making the GNU C library.  This file is included
@@ -26,9 +26,10 @@ This makefile requires GNU Make.
 endif
 
 REQUIRED_MAKE_VERSION = 3.74
+REAL_MAKE_VERSION = $(shell echo "$(MAKE_VERSION)" | sed 's/ .*//')
 
 ifneq ($(REQUIRED_MAKE_VERSION), \
-       $(firstword $(sort $(MAKE_VERSION) $(REQUIRED_MAKE_VERSION))))
+       $(firstword $(sort $(REAL_MAKE_VERSION) $(REQUIRED_MAKE_VERSION))))
 Wrong GNU Make version.  See above for the version needed.
 endif