Subject: Re: [bug#71534] [PATCH] aclocal: support ACLOCAL_PATH correctly on OS/2

From: "Zack Weinberg" <[email-masked]>
Date: Thu, 13 Jun 2024 17:56:15 -0400

On Thu, Jun 13, 2024, at 5:44 PM, Karl Berry wrote:
> +  my $sep = $^O eq 'os2' ? ';' : ':';
>     +  foreach my $dir (reverse split /$sep/, $ENV{"ACLOCAL_PATH"})
>
> Ok, thanks.
>
> If we're going to worry about os2, then surely $O =~ /MSWin/ should also
> be ;-separated paths

Isn't there a $variable already that's specifically the path separator? I thought we had one. Check in Perl's built-in Config module as well as automaker proper.

zw