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

"Ladislav Michnovič" <[email protected]>
Newsgroups gmane.network.licq.devel
Message-ID <[email protected]>
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
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.