From: Uwe Hermann Date: Sat, 28 Jan 2012 20:26:56 +0000 (+0100) Subject: Update/enforce/document our build requirements. X-Git-Tag: libsigrok-0.1.0~164 X-Git-Url: https://sigrok.org/gitaction?a=commitdiff_plain;h=ef7228ba49ddaced0f1972a4788ff2fdb8dcd57d;p=libsigrok.git Update/enforce/document our build requirements. --- diff --git a/README b/README index 60b334b9..ae7a55a6 100644 --- a/README +++ b/README @@ -25,8 +25,12 @@ Requirements ------------ - git - - gcc, g++, make, ... - - autoconf, automake, libtool, pkg-config + - gcc + - make + - autoconf >= 2.63 + - automake >= 1.11 + - libtool + - pkg-config >= 0.22 - libglib >= 2.22.0 - libusb >= 1.0.5 (for most logic analyzer hardware) - libzip >= 0.8 diff --git a/configure.ac b/configure.ac index 04134536..be5137b5 100644 --- a/configure.ac +++ b/configure.ac @@ -17,7 +17,8 @@ ## along with this program. If not, see . ## -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!). m4_define([libsigrok_major_version], [0]) @@ -31,7 +32,8 @@ AC_CONFIG_HEADER([config.h]) AC_CONFIG_MACRO_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])]) AH_TOP([#ifndef LIBSIGROK_CONFIG_H