dect
/
libnl
Archived
13
0
Fork 0

Provide libnl version in <netlink/version.h>

This commit is contained in:
Thomas Graf 2008-04-30 15:43:42 +02:00
parent 32000e8e9c
commit 66330d37f5
3 changed files with 20 additions and 1 deletions

View File

@ -34,4 +34,4 @@ AC_CHECK_LIB(m, pow,
LIBNL_LIB="$LIBM"
AC_SUBST(LIBNL_LIB)
AC_OUTPUT([Makefile.opts libnl-1.pc doc/Doxyfile])
AC_OUTPUT([Makefile.opts libnl-1.pc doc/Doxyfile include/netlink/version.h])

View File

@ -25,6 +25,7 @@
#include <linux/rtnetlink.h>
#include <linux/genetlink.h>
#include <linux/netfilter/nfnetlink.h>
#include <netlink/version.h>
#include <netlink/types.h>
#include <netlink/handlers.h>
#include <netlink/socket.h>

18
include/netlink/version.h Normal file
View File

@ -0,0 +1,18 @@
/*
* netlink/version.h Compile Time Versioning Information
*
* 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) 2008 Thomas Graf <tgraf@suug.ch>
*/
#ifndef NETLINK_VERSION_H_
#define NETLINK_VERSION_H_
#define LIBNL_STRING "libnl 1.2"
#define LIBNL_VERSION "1.2"
#endif