comparison mcabber/configure.in @ 66:de3a34fba6aa

[/trunk] Changeset 81 by mikael * Fix somme errors in configure.in * Add -Wall option
author mikael
date Tue, 12 Apr 2005 09:34:09 +0000
parents f0aebb588ae7
children
comparison
equal deleted inserted replaced
65:a8689087db5c 66:de3a34fba6aa
7 AC_CONFIG_SRCDIR([src]) 7 AC_CONFIG_SRCDIR([src])
8 AM_CONFIG_HEADER(config.h) 8 AM_CONFIG_HEADER(config.h)
9 9
10 AC_PROG_RANLIB 10 AC_PROG_RANLIB
11 11
12 CFLAGS="$CFLAGS -Wall"
13
12 # Checks for programs. 14 # Checks for programs.
13 AC_PROG_CXX 15 AC_PROG_CXX
14 AC_PROG_CC 16 AC_PROG_CC
15 AC_PROG_INSTALL 17 AC_PROG_INSTALL
16 18
17 # Checks for libraries. 19 # Checks for libraries.
18 AC_CHECK_LIB([connwrap], [cw_nb_connect]) 20 #AC_CHECK_LIB([connwrap], [cw_nb_connect])
19 AC_CHECK_LIB([libjabber], [jab_new]) 21 #AC_CHECK_LIB([libjabber], [jab_new])
20 AC_CHECK_LIB([ncurses], [initscr]) 22 AC_CHECK_LIB([ncurses], [initscr])
21 AC_CHECK_LIB([panel], [new_panel]) 23 AC_CHECK_LIB([panel], [new_panel])
22 AC_CHECK_LIB([ssl], [SSL_new]) 24 AC_CHECK_LIB([ssl], [SSL_new])
23 25
24 # Checks for header files. 26 # Checks for header files.
25 AC_HEADER_STDC 27 AC_HEADER_STDC
26 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]) 28 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])
27 29
28 # Checks for typedefs, structures, and compiler characteristics. 30 # Checks for typedefs, structures, and compiler characteristics.
29 AC_HEADER_STDBOOL 31 AC_HEADER_STDBOOL
30 AC_C_CONST 32 AC_C_CONST
31 AC_C_INLINE 33 AC_C_INLINE