autoconf-patches
[Top][All Lists]
Advanced

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

Re: 60-fyi-wrappers.patch


From: Tim Van Holder
Subject: Re: 60-fyi-wrappers.patch
Date: Mon, 10 Sep 2001 17:54:53 +0200

> | So I guess doing a tr ':' $pathsep on AUTOTEST_PATH would be OK;
though
> | we'd probably want to make it conditional in case some tr's don't
> | support identity translations:
> | 
> | test "$ac_path_separator" = ":" ||
> |   AUTOTEST_PATH=`echo $AUTOTEST_PATH | tr ':' $ac_path_separator`
> 
> Could you handle that please?
> 
> Err, don't bother with your protection, because, for a start, if such
> a tr exists, we _want_ to know it does.  No hoax :)

OK - seems trivial enough.  Is this OK?

2001-09-10  Tim Van Holder  <address@hidden>

        * lib/autoconf/autotest.m4: Replace colons in AUTOTEST_PATH if
        there's a different path separator.

Index: lib/autoconf/autotest.m4
===================================================================
RCS file: /cvs/autoconf/lib/autoconf/autotest.m4,v
retrieving revision 1.4
diff -u -r1.4 autotest.m4
--- lib/autoconf/autotest.m4    2001/09/07 08:26:57     1.4
+++ lib/autoconf/autotest.m4    2001/09/10 15:51:31
@@ -61,7 +61,10 @@
 AC_DEFUN([AC_CONFIG_TESTDIR],
 [AC_CONFIG_COMMANDS([$1/atconfig],
 [# Do not use _ACEOF as we are being dumped into config.status via
-# an _ACEOF-heredoe.
+# an _ACEOF-heredoc.
+AUTOTEST_PATH='m4_default([$2], [$1])'
+test "$at_path_separator" = ":" ||
+  AUTOTEST_PATH=`echo $AUTOTEST_PATH | tr ':' $at_path_separator`
 cat >$1/atconfig <<ATEOF
 @%:@ Configurable variable values for building test suites.
 @%:@ Generated by $[0]
@@ -80,7 +83,7 @@
 top_srcdir='$ac_top_srcdir'
 top_builddir='$ac_top_builddir'

-AUTOTEST_PATH='m4_default([$2], [$1])'
+AUTOTEST_PATH='$AUTOTEST_PATH'

 SHELL=\${CONFIG_SHELL-'$at_shell'}
 PATH_SEPARATOR='$at_path_separator'




reply via email to

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