c56f76b7b2
Signed-off-by: Neil Horman<nhorman@tuxdriver.com>
84 lines
2.5 KiB
Plaintext
84 lines
2.5 KiB
Plaintext
dnl
|
|
define([AC_INIT_NOTICE],
|
|
[### Generated automatically using autoconf version] AC_ACVERSION [
|
|
### Copyright 2009 Steve Grubb <sgrubb@redhat.com>
|
|
###
|
|
### Permission is hereby granted, free of charge, to any person obtaining a
|
|
### copy of this software and associated documentation files (the "Software"),
|
|
### to deal in the Software without restriction, including without limitation
|
|
### the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
|
### and/or sell copies of the Software, and to permit persons to whom the
|
|
### Software is furnished to do so, subject to the following conditions:
|
|
###
|
|
### The above copyright notice and this permission notice shall be included
|
|
### in all copies or substantial portions of the Software.
|
|
###
|
|
### THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
### IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
### FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
|
### THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
|
### OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
|
### ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
|
### OTHER DEALINGS IN THE SOFTWARE.
|
|
###
|
|
### For usage, run `./configure --help'
|
|
### For more detailed information on installation, read the file `INSTALL'.
|
|
###
|
|
### If configuration succeeds, status is in the file `config.status'.
|
|
### A log of configuration tests is in `config.log'.
|
|
])
|
|
|
|
AC_REVISION($Revision: 1.3 $)dnl
|
|
AC_INIT(irqbalance,1.0.3)
|
|
AC_PREREQ(2.12)dnl
|
|
AM_CONFIG_HEADER(config.h)
|
|
|
|
echo Configuring irqbalance $VERSION
|
|
|
|
AC_CONFIG_MACRO_DIR([m4])
|
|
AC_CANONICAL_TARGET
|
|
AM_INIT_AUTOMAKE
|
|
AM_PROG_LIBTOOL
|
|
AC_SUBST(LIBTOOL_DEPS)
|
|
|
|
AC_MSG_NOTICE()
|
|
AC_MSG_NOTICE([Checking for programs])
|
|
|
|
AC_PROG_CC
|
|
AC_PROG_INSTALL
|
|
AC_PROG_AWK
|
|
|
|
AC_ARG_ENABLE([numa],
|
|
AS_HELP_STRING([--disable-numa], [enable numa support (default is auto)]))
|
|
AS_IF([test "$enable_numa" = "no"],[
|
|
ac_cv_header_numa_h=no
|
|
ac_cv_lib_numa_numa_available=no
|
|
])
|
|
|
|
AC_MSG_NOTICE
|
|
AC_MSG_NOTICE([echo Checking for header files])
|
|
|
|
AC_HEADER_STDC
|
|
AC_CHECK_HEADERS([numa.h])
|
|
|
|
AC_CHECK_FUNCS(getopt_long)
|
|
|
|
AC_CHECK_LIB(numa, numa_available)
|
|
AC_CHECK_LIB(m, floor)
|
|
|
|
AC_C_CONST
|
|
AC_C_INLINE
|
|
AM_PROG_CC_C_O
|
|
|
|
PKG_CHECK_MODULES([GLIB], [glib-2.0 >= 2.28])
|
|
LIBCAP_NG_PATH
|
|
|
|
AC_OUTPUT(Makefile)
|
|
|
|
AC_MSG_NOTICE()
|
|
AC_MSG_NOTICE([irqbalance Version: $VERSION])
|
|
AC_MSG_NOTICE([Target: $target])
|
|
AC_MSG_NOTICE([Installation prefix: $prefix])
|
|
AC_MSG_NOTICE([Compiler: $CC])
|
|
AC_MSG_NOTICE([Compiler flags: $CFLAGS])
|