autoconf-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Minor tweaks to path handling (re-submit)


From: Akim Demaille
Subject: Re: Minor tweaks to path handling (re-submit)
Date: 17 Apr 2001 14:52:18 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley)

>Just noticed these two minor changes hadn't been applied yet,
>though I'm pretty sure they were previously submitted and
>approved.
>
>2001-04-14  Tim Van Holder  <address@hidden>
>
>        * acgeneral.m4: Minor tweaks to handle DOS paths.

Please, name the macros you change in the ChangeLog.

>Index: acgeneral.m4
>===================================================================
>RCS file: /cvs/autoconf/acgeneral.m4,v
>retrieving revision 1.710
>diff -u -r1.710 acgeneral.m4
>--- acgeneral.m4       2001/04/11 16:29:15     1.710
>+++ acgeneral.m4       2001/04/14 12:14:21
>@@ -779,7 +783,7 @@
>   ac_srcdir_defaulted=yes
>   # Try the directory containing this script, then its parent.
>   ac_prog=$[0]
>-  ac_confdir=`echo "$ac_prog" | sed 's%/[[^/][^/]]*$%%'`
>+  ac_confdir=`echo "$ac_prog" | sed 's%[[\\/][^\\/][^\\/]]*$%%'`

Can't we use AS_DIRNAME here?

>   test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
>   srcdir=$ac_confdir
>   if test ! -r $srcdir/$ac_unique_file; then
>@@ -797,7 +801,7 @@
> fi
> dnl Double slashes in pathnames in object file debugging info
> dnl mess up M-x gdb in Emacs.
>-srcdir=`echo "$srcdir" | sed 's%\([[^/]]\)/*$%\1%'`
>+srcdir=`echo "$srcdir" | sed 's%\([[^\\/]]\)[[\\/]]*$%\1%'`
> m4_divert_pop([PARSE_ARGS])dnl
> ])# _AC_INIT_SRCDIR
> 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]