Mercurial > ~mikael > mcabber > hg
diff mcabber/configure.ac @ 237:c8df64f43625
[/trunk] Changeset 250 by mikael
* Kill some more warnings
+ Try to solve strptime prototype declaration warning
author | mikael |
---|---|
date | Fri, 10 Jun 2005 19:26:34 +0000 |
parents | 65c564e957a8 |
children | ff9ba796cabb |
line wrap: on
line diff
--- a/mcabber/configure.ac Fri Jun 10 19:03:06 2005 +0000 +++ b/mcabber/configure.ac Fri Jun 10 19:26:34 2005 +0000 @@ -20,6 +20,10 @@ AC_CHECK_LIB([ncurses], [initscr]) AC_CHECK_LIB([panel], [new_panel]) +AC_CHECK_DECLS([strptime],,, +[#define _GNU_SOURCE +#include <time.h>]) + # Checks for header files. AC_HEADER_STDC AC_CHECK_HEADERS([arpa/inet.h fcntl.h locale.h netdb.h netinet/in.h stddef.h stdlib.h string.h strings.h sys/socket.h sys/time.h syslog.h termios.h unistd.h ncurses.h panel.h getopt.h])