libunique: fixed build for automake >= 1.13 (Thanks to Danny)

This commit is contained in:
Jose V Beneyto 2013-01-27 19:33:07 +01:00
parent 5a3495e4fc
commit 564d496bc3

View File

@ -6,7 +6,7 @@
name=libunique
version=1.1.6
release=2
release=3
source=(http://download.gnome.org/sources/$name/${version%.*}/$name-$version.tar.bz2 \
$name.patch)
@ -14,6 +14,12 @@ build() {
cd $name-$version
patch -p1 -i $SRC/$name.patch
# fix for automake >= 1.13
sed -i configure.ac \
-e 's/^AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' \
-e 's/AM_PROG_CC_STDC/AC_PROG_CC/'
autoreconf
./configure --prefix=/usr \