From: Roland McGrath Date: Fri, 10 Feb 1995 22:45:47 +0000 (+0000) Subject: (AC_CONFIG_SUBDIRS): Fix sed command to produce $ac_dots. X-Git-Tag: fsf-origin~319 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1e18f6fe7e4527e7928209ebf538d24afcee1ea2;p=thirdparty%2Fautoconf.git (AC_CONFIG_SUBDIRS): Fix sed command to produce $ac_dots. --- diff --git a/acgeneral.m4 b/acgeneral.m4 index c4d3245dc..61af8328f 100644 --- a/acgeneral.m4 +++ b/acgeneral.m4 @@ -1,7 +1,7 @@ dnl Parameterized macros. dnl Requires GNU m4. dnl This file is part of Autoconf. -dnl Copyright (C) 1992, 1993, 1994 Free Software Foundation, Inc. +dnl Copyright (C) 1992, 1993, 1994, 1995 Free Software Foundation, Inc. dnl dnl This program is free software; you can redistribute it and/or modify dnl it under the terms of the GNU General Public License as published by @@ -2022,7 +2022,7 @@ if test "$no_recursion" != yes; then # Make the cache file name correct relative to the subdirectory. changequote(, )dnl # A "../" for each directory in /$ac_config_dir. - ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%/[^/]*%../%g' -e 's%^%/%` + ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'` changequote([, ])dnl case "$cache_file" in /*) ac_sub_cache_file=$cache_file ;; diff --git a/lib/autoconf/general.m4 b/lib/autoconf/general.m4 index c4d3245dc..61af8328f 100644 --- a/lib/autoconf/general.m4 +++ b/lib/autoconf/general.m4 @@ -1,7 +1,7 @@ dnl Parameterized macros. dnl Requires GNU m4. dnl This file is part of Autoconf. -dnl Copyright (C) 1992, 1993, 1994 Free Software Foundation, Inc. +dnl Copyright (C) 1992, 1993, 1994, 1995 Free Software Foundation, Inc. dnl dnl This program is free software; you can redistribute it and/or modify dnl it under the terms of the GNU General Public License as published by @@ -2022,7 +2022,7 @@ if test "$no_recursion" != yes; then # Make the cache file name correct relative to the subdirectory. changequote(, )dnl # A "../" for each directory in /$ac_config_dir. - ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%/[^/]*%../%g' -e 's%^%/%` + ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'` changequote([, ])dnl case "$cache_file" in /*) ac_sub_cache_file=$cache_file ;;