configure.in 537 B

12345678910111213141516171819202122232425262728293031
  1. dnl Process this file with autoconf to produce a configure script.
  2. AC_INIT(xgdipc.c)
  3. AC_CONFIG_HEADER(config.h)
  4. VERSION=0.1
  5. AC_SUBST(VERSION)
  6. AC_PROG_CC
  7. AC_PROG_INSTALL
  8. AC_PROG_RANLIB
  9. AC_HEADER_STDC
  10. AC_HEADER_SYS_WAIT
  11. AC_CHECK_HEADERS(unistd.h)
  12. AM_PATH_GTK(1.0.2,
  13. [LIBS="$LIBS $GTK_LIBS"
  14. CFLAGS="$CFLAGS $GTK_CFLAGS"],
  15. AC_MSG_ERROR(Cannot find GTK+: Is gtk-config in executable path?))
  16. AC_CHECK_LIB(crypt, crypt)
  17. dnl Checks for library functions.
  18. AC_CHECK_FUNCS(socket)
  19. AC_OUTPUT(Makefile)