[PATCH] For HP/SGI stl_algo.h extensions (take2)

Paolo Carlini pcarlini@unitus.it
Thu Dec 27 06:25:00 GMT 2001


Phil Edwards wrote:

> On Thu, Dec 27, 2001 at 03:04:58PM +0100, Paolo Carlini wrote:
> > Phil, could you possibly tell me how I should modify Makefile.in and then
> > regenerate Makefile.am to add <ext/algorithm> ??
>
> It's the other way around:  add the file to the list of ext_headers in
> include/Makefile.am.

Yes, indeed, sorry.

> Then run automake from the top libstdc++-v3 directory
> to regenerate include/Makefile.in.  (Actually, automake will regenerate
> /all/ of the Makefile.in's in all of the library's subdirectories, but
> only include/Makefile.in should be committed.)
>
> When posting the final diff, of course, only the .am changes can be listed.
> Don't forget to add an entry like
>
>         * include/Makefile.am (ext_headers):  Add new file.
>         * include/Makefile.in:  Regenerate.
>
> or something like that.

Thanks. You are always so helpful!

> > By the way, if I understand well Benjamin's comments, all of the extensions in
> > include/ext should be inside namespace __gnu_cxx, right?
>
> Yes.

Good.

Cheers,
Paolo.




More information about the Libstdc++ mailing list