dect
/
libnl
Archived
13
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
libnl/configure.in

38 lines
677 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, 1.2, 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])