]> code.citadel.org Git - citadel.git/blob - gcit/configure.in
* Move to GPL v3
[citadel.git] / gcit / configure.in
1 dnl Process this file with autoconf to produce a configure script.
2 AC_INIT(gtk/gcit.c)
3 AM_INIT_AUTOMAKE(gcit, 0.1)
4
5 dnl Checks for programs.
6 AM_PROG_LIBTOOL
7 if test "$GCC" = yes; then
8         case "$host" in
9             alpha*-dec-osf*)
10                 XTRA_CFLAGS='-Wall -Wstrict-prototypes -Wno-implicit-int'
11             ;;
12             *)
13                 XTRA_CFLAGS='-Wall -Wstrict-prototypes'
14             ;;
15         esac
16 fi
17 AC_SUBST(XTRA_CFLAGS)
18
19 dnl Checks for libraries.
20 AM_PATH_GDK_IMLIB
21 AM_PATH_GTK
22
23 dnl Checks for header files.
24 dnl AC_HEADER_STDC
25 AC_CHECK_HEADERS(fcntl.h unistd.h)
26
27 dnl Checks for typedefs, structures, and compiler characteristics.
28
29 dnl Checks for library functions.
30 dnl AC_FUNC_VPRINTF
31 dnl AC_CHECK_FUNCS(socket strdup strtol uname)
32 AC_REPLACE_FUNCS(snprintf)
33
34 AM_CONFIG_HEADER(config.h)
35 LTLIBOBJS=`echo "$LIBOBJS" | sed 's/\.o/.lo/g'`
36 AC_SUBST(LTLIBOBJS)
37 AC_OUTPUT(libcli_cit/Makefile gtk/Makefile Makefile)