automake-patches
[Top][All Lists]
Advanced

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

Re: allow convenient library in subdirectory


From: Tim Van Holder
Subject: Re: allow convenient library in subdirectory
Date: Mon, 9 Jul 2001 19:26:43 +0200

>       # Check that the library fits the standard naming convention.
> -     if ($onelib !~ /^lib.*\.a$/)
> +     if ($onelib !~ m%^(?:.*/)?lib[^/]*\.a$%)
>       {
Unless automake slashflips paths, this should probably be

+       if ($onelib !~ m%^(?:.*[\\/])?lib[^\\/]*\.a$%)

in order to support DOS paths.
Also, if the '?:' is intended to match a DOS/Windows drivespec, it
probably should be

+       if ($onelib !~ m%^((.:)?.*[\\/])?lib[^\\/]*\.a$%)





reply via email to

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