1
0
Fork 0
mirror of https://github.com/anrieff/libcpuid synced 2024-12-16 16:35:45 +00:00

Fix issue #2: There is no configure binary and get some statements while building it.

There's no reason to keep a configure binary in source control. I added the
necessary steps to create it in the README.
This commit is contained in:
Veselin Georgiev 2014-06-25 13:48:32 +03:00
parent 20632054d6
commit c5b459c5b2
3 changed files with 22 additions and 0 deletions

View file

@ -1,3 +1,4 @@
ACLOCAL_AMFLAGS = -I m4
SUBDIRS = libcpuid cpuid_tool tests
pkgconfigdir = $(libdir)/pkgconfig

20
README
View file

@ -4,3 +4,23 @@ libcpuid
libcpuid provides CPU identification for the x86 (and x86_64).
For details about the programming API, please see the docs
on the project's site (http://libcpuid.sourceforge.net/)
Configuring after checkout
--------------------------
Under linux, where you download the sources, there's no
configure script to run. This is because it isn't a good practice to keep
such scripts in a source control system. To create it, you need to run the
following commands once, after you checkout the libcpuid sources
from github:
1. run "libtoolize"
2. run "autoreconf --install"
You need to have autoconf, automake and libtool installed.
After that you can run "./configure" and "make" - this will build
the library.
"make dist" will create a tarball (with "configure" inside) with the
sources.

View file

@ -1,6 +1,7 @@
AC_INIT([libcpuid CPU Identification library], [0.2.0], [libcpuid-devel@lists.sourceforge.net], [libcpuid])
AC_CONFIG_SRCDIR([libcpuid/libcpuid.h])
AC_CONFIG_HEADERS([config.h])
AC_CONFIG_MACRO_DIR([m4])
AM_INIT_AUTOMAKE([-Wall dist-bzip2 dist-zip foreign])
dnl Versioning scheme shamelessly copied from libexif.