[Licq-devel] Re: PATCH: please don't check for deprecated vector.h but for vector in configure

Jon Keating <[email protected]>
Newsgroups gmane.network.licq.devel
Message-ID <[email protected]>
Thanks, in SVN now.

Jon

On Wednesday 14 November 2007, Ladislav Michnovič wrote:
> Hello.
>  The new gcc 4.3 don't provides deprecated header files in
> stdlibc++-devel, e.g vector.h.
> It should be used #include <vector> instead <vector.h>.
> But some configure files in plugins check the availability of vector.h.
> Please change it to vector.
>
> Regards Ladislav.
>
> Here's the patch:
>
> --- plugins/auto-reply/configure.ac
> +++ plugins/auto-reply/configure.ac
> @@ -46,7 +46,7 @@
>  AC_LANG_SAVE
>  AC_LANG_CPLUSPLUS
>
> -AC_CHECK_HEADER(vector.h,,
> +AC_CHECK_HEADER(vector,,
>    AC_MSG_ERROR(You need to have the libstdc++ headers installed))
>
>  AC_LANG_RESTORE
> --- plugins/email/configure.ac
> +++ plugins/email/configure.ac
> @@ -48,7 +48,7 @@
>  AC_LANG_SAVE
>  AC_LANG_CPLUSPLUS
>
> -AC_CHECK_HEADER(vector.h,,
> +AC_CHECK_HEADER(vector,,
>    AC_MSG_ERROR(You need to have the libstdc++ headers installed))
>
>  AC_LANG_RESTORE
> --- plugins/msn/configure.ac
> +++ plugins/msn/configure.ac
> @@ -53,7 +53,7 @@
>  AC_LANG_SAVE
>  AC_LANG_CPLUSPLUS
>
> -AC_CHECK_HEADER(vector.h,,
> +AC_CHECK_HEADER(vector,,
>    AC_MSG_ERROR(You need to have the libstdc++ headers installed))
>
>  AC_LANG_RESTORE



-- 
________________________________________________________
Jon Keating                ICQ: 16325723
[email protected]               MSN: [email protected]
http://www.licq.org        GPG: 2290A71F
http://www.thejon.org      HOME: Minamiashigara, Japan
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.