[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
autoconf 2.57 and DJGPP: Test for 'make -C' setting $(MAKE)
From: |
Richard Dawe |
Subject: |
autoconf 2.57 and DJGPP: Test for 'make -C' setting $(MAKE) |
Date: |
Sat, 11 Jan 2003 11:29:28 +0000 |
Hello.
The test to check whether 'make -C' sets $(MAKE) doesn't quite work if $(MAKE)
is an absolute DOS path like c:/djgpp/bin/make.exe. Below is a ChangeLog and
patch to cope with DOS paths in this test. We translate ':' in $(MAKE) to '_'.
Thanks, regards,
--
Richard Dawe [ http://www.phekda.freeserve.co.uk/richdawe/ ]
2003-01-11 Richard Dawe <address@hidden>
* lib/autoconf/programs.m4: Translate colons, to cope
with DOS file names, when constructing ${ac_make}.
--- /dev/c/develop/ports/orig/autoconf-2.57/lib/autoconf/programs.m4
2002-10-31 13:15:02.000000000 +0000
+++ /dev/c/develop/ports/gnu.dev/autoconf-2.57/lib/autoconf/programs.m4
2003-01-04 13:08:14.000000000 +0000
@@ -458,7 +460,7 @@ AN_MAKEVAR([MAKE], [AC_PROG_MAKE_SET])
AN_PROGRAM([make], [AC_PROG_MAKE_SET])
AC_DEFUN([AC_PROG_MAKE_SET],
[AC_MSG_CHECKING([whether ${MAKE-make} sets \$(MAKE)])
-set dummy ${MAKE-make}; ac_make=`echo "$[2]" | sed 'y,./+-,__p_,'`
+set dummy ${MAKE-make}; ac_make=`echo "$[2]" | sed 'y,:./+-,___p_,'`
AC_CACHE_VAL(ac_cv_prog_make_${ac_make}_set,
[cat >conftest.make <<\_ACEOF
all:
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- autoconf 2.57 and DJGPP: Test for 'make -C' setting $(MAKE),
Richard Dawe <=