1 dnl Process this file with autoconf to produce a configure script.
3 AM_INIT_AUTOMAKE(gcit, 0.1)
5 dnl Checks for programs.
7 if test "$GCC" = yes; then
10 XTRA_CFLAGS='-Wall -Wstrict-prototypes -Wno-implicit-int'
13 XTRA_CFLAGS='-Wall -Wstrict-prototypes'
19 dnl Checks for libraries.
23 dnl Checks for header files.
25 AC_CHECK_HEADERS(fcntl.h unistd.h)
27 dnl Checks for typedefs, structures, and compiler characteristics.
29 dnl Checks for library functions.
31 dnl AC_CHECK_FUNCS(socket strdup strtol uname)
32 AC_REPLACE_FUNCS(snprintf)
34 AM_CONFIG_HEADER(config.h)
35 LTLIBOBJS=`echo "$LIBOBJS" | sed 's/\.o/.lo/g'`
37 AC_OUTPUT(libcli_cit/Makefile gtk/Makefile Makefile)