# configure.in for FreeVSD system-utilities # Copyright (c) 1999, 2000 Idaya Ltd. # Contributed by Nick Burrett # This file is part of the Virtual Server Administrator (FreeVSD) # FreeVSD is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2, or (at your option) # any later version. # FreeVSD is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # You should have received a copy of the GNU General Public License # along with FreeVSD; see the file COPYING. If not, write to # the Free Software Foundation, Inc., 59 Temple Place - Suite 330, # Boston, MA 02111-1307, USA. AC_INIT(vsboot.c) AC_CONFIG_HEADER(config.h) dnl Global version variable PACKAGE="sys-util" AC_SUBST(PACKAGE) VERSION="1.0.0" AC_SUBST(VERSION) AC_SUBST(MANDATE) dnl Checks for programs AC_PROG_CC AC_PROG_INSTALL AC_PATH_PROG(RM, rm, rm) dnl Checks for header files AC_HEADER_STDC AC_CHECK_HEADERS(errno.h getopt.h stdio.h stdlib.h string.h strings.h unistd.h sys/types.h sys/socket.h sys/ioctl.h net/if.h) AC_CHECK_FUNCS(ioctl) AC_CHECK_LIB(kvm, kvm_open, LIBS="$LIBS -lkvm") dnl Checks for typedefs, structures and compiler characteristics AC_C_CONST AC_TYPE_SIZE_T dnl Checks for library functions AC_PROG_GCC_TRADITIONAL AC_CHECK_FUNCS(strerror) AC_OUTPUT([Makefile])