AC_INIT(scanner.c)
AC_PROG_CC
AC_PATH_X
if test -n "$x_includes"; then XINCLUDES="-I${x_includes}"; fi
if test -n "$x_libraries"; then XLIBS="-L${x_libraries}"; fi
AC_SUBST(XINCLUDES)
AC_SUBST(XLIBS)
AC_CHECK_LIB(socket, socket)
AC_CHECK_LIB(nsl, gethostbyname)
AC_OUTPUT(Makefile)
