38 lines
703 B
Plaintext
38 lines
703 B
Plaintext
#
|
|
# configure.in
|
|
#
|
|
# This library is free software; you can redistribute it and/or
|
|
# modify it under the terms of the GNU Lesser General Public
|
|
# License as published by the Free Software Foundation version 2.1
|
|
# of the License.
|
|
#
|
|
# Copyright (c) 2003-2008 Thomas Graf <tgraf@suug.ch>
|
|
#
|
|
|
|
AC_INIT(libnl, 2.0, tgraf@suug.ch)
|
|
AC_CONFIG_HEADER(lib/defs.h)
|
|
|
|
save_CFLAGS="${CFLAGS}"
|
|
save_LDFLAGS="${LDFLAGS}"
|
|
save_CPPFLAGS="${CPPFLAGS}"
|
|
|
|
AC_PROG_CC
|
|
AC_PROG_INSTALL
|
|
|
|
AC_C_CONST
|
|
AC_C_INLINE
|
|
|
|
AC_CHECK_LIB(m, pow,
|
|
[
|
|
LIBM="-lm"
|
|
],[
|
|
echo
|
|
echo "*** Error: libm required ***"
|
|
echo
|
|
])
|
|
|
|
LIBNL_LIB="$LIBM"
|
|
AC_SUBST(LIBNL_LIB)
|
|
|
|
AC_OUTPUT([Makefile.opts libnl-1.pc doc/Doxyfile include/netlink/version.h])
|