On Fri, Aug 09, 2002 at 02:34:50PM +0200, Ulrik Mikaelsson <[EMAIL PROTECTED]>
wrote:
> When using gcc 3.1 and trying to compile licq, configure complains about it
> can't find vector.h and assumes libstdc++-devel is not installed. This not
> the case, but in gcc 3.1 vector.h is obsolete and instead "vector" should be
> included.
>
> To take care of this I've made some modifications to all the configure.in
> files in the licq dir. Here is the patch, hope it can be of use to someone.
>
> -AC_CHECK_HEADER(vector.h,,
> - AC_MSG_ERROR(You need to have the libstdc++ headers installed))
> +AC_CHECK_HEADER(vector.h,, AC_CHECK_HEADER(vector,,
> + AC_MSG_ERROR(You need to have the libstdc++ headers installed)))
I think just checking for vector would be sufficient. Can anyone
comment on that?
By the way, it is good practice to quote nested macro calls with '['
and ']'. Note that AC_MSG_ERROR should be quoted too.
--
Tim van Erven <[EMAIL PROTECTED]>
OpenPGP Key ID: 712CB811 Fingerprint: F6C9 61EE 242C C012 36D5
BBF8 6310 D557 712C B811
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Licq-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/licq-devel