From a86c171440663627e2db5c2e7a98d5109a7f224b Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 24 May 2001 20:01:10 +0000 Subject: 2001-05-16 Ralf Corsepius * canonical-target-name.m4: Fix m4-quoting for autoconf-2.49f. * aclocal/config-subdirs.m: Fix m4-quoting for autoconf-2.49f, Add support for DOS-drive-letters. --- aclocal/config-subdirs.m4 | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'aclocal/config-subdirs.m4') diff --git a/aclocal/config-subdirs.m4 b/aclocal/config-subdirs.m4 index 927973a368..f5f1af3f43 100644 --- a/aclocal/config-subdirs.m4 +++ b/aclocal/config-subdirs.m4 @@ -45,13 +45,11 @@ dnl _RTEMS_GIVEN_INSTALL dnl AC_DEFUN(_RTEMS_GIVEN_INSTALL, [ -ifdef([AC_PROVIDE_AC_PROG_INSTALL], - [ case "$ac_given_INSTALL" in -changequote(, )dnl - [/$]*) INSTALL="$ac_given_INSTALL" ;; -changequote([, ])dnl - *) INSTALL="$ac_dots$ac_given_INSTALL" ;; - esac +ifdef([AC_PROVIDE_AC_PROG_INSTALL],[ + case "$ac_given_INSTALL" in + [[\\/]]* | ?:[[\\/]]*) INSTALL="$ac_given_INSTALL" ;; + *) INSTALL="$ac_dots$ac_given_INSTALL" ;; + esac ])dnl ]) @@ -73,7 +71,7 @@ AC_DEFUN(_RTEMS_ADJUST_SRCDIR,[ case "$srcdir" in .) # No --srcdir option. We are building in place. $1=$srcdir ;; - /*) # Absolute path. + [[\\/]]* | ?:[[\\/]]*) # Absolute path. $1=$srcdir/$2 ;; *) # Relative path. $1=$ac_dots$srcdir/$2 ;; -- cgit v1.2.3