Update/enforce/document our build requirements.

This commit is contained in:
Uwe Hermann 2012-01-28 21:26:56 +01:00
parent fb93625d1a
commit ef7228ba49
2 changed files with 10 additions and 4 deletions

8
README
View File

@ -25,8 +25,12 @@ Requirements
------------ ------------
- git - git
- gcc, g++, make, ... - gcc
- autoconf, automake, libtool, pkg-config - make
- autoconf >= 2.63
- automake >= 1.11
- libtool
- pkg-config >= 0.22
- libglib >= 2.22.0 - libglib >= 2.22.0
- libusb >= 1.0.5 (for most logic analyzer hardware) - libusb >= 1.0.5 (for most logic analyzer hardware)
- libzip >= 0.8 - libzip >= 0.8

View File

@ -17,7 +17,8 @@
## along with this program. If not, see <http://www.gnu.org/licenses/>. ## along with this program. If not, see <http://www.gnu.org/licenses/>.
## ##
AC_PREREQ([2.61]) # We require at least autoconf 2.63 (AC_INIT format changed there).
AC_PREREQ([2.63])
# libsigrok package version number (NOT the same as shared lib version!). # libsigrok package version number (NOT the same as shared lib version!).
m4_define([libsigrok_major_version], [0]) m4_define([libsigrok_major_version], [0])
@ -31,7 +32,8 @@ AC_CONFIG_HEADER([config.h])
AC_CONFIG_MACRO_DIR([autostuff]) AC_CONFIG_MACRO_DIR([autostuff])
AC_CONFIG_AUX_DIR([autostuff]) AC_CONFIG_AUX_DIR([autostuff])
AM_INIT_AUTOMAKE([-Wall -Werror foreign std-options]) # We require at least automake 1.11 (needed for 'silent rules').
AM_INIT_AUTOMAKE([1.11 -Wall -Werror foreign std-options])
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
AH_TOP([#ifndef LIBSIGROK_CONFIG_H AH_TOP([#ifndef LIBSIGROK_CONFIG_H