refactor to use autoreconfHook where possible

Close #12446.
This commit is contained in:
Robin Gloster
2016-01-18 10:45:31 +01:00
committed by Vladimír Čunát
parent 620c147cce
commit 53b389327e
50 changed files with 188 additions and 320 deletions
@@ -1,5 +1,5 @@
{ stdenv, fetchgit, autoconf, automake, fontsproto, libX11, libXext
, libtool, pixman, pkgconfig, renderproto, utilmacros, xorgserver
{ stdenv, fetchgit, autoreconfHook, fontsproto, libX11, libXext
, pixman, pkgconfig, renderproto, utilmacros, xorgserver
}:
stdenv.mkDerivation {
@@ -12,13 +12,12 @@ stdenv.mkDerivation {
};
buildInputs =
[ autoconf automake fontsproto libX11 libXext libtool pixman
[ autoreconfHook fontsproto libX11 libXext pixman
pkgconfig renderproto utilmacros xorgserver
];
configurePhase = ''
autoreconf -fvi
./configure --prefix=$out CFLAGS="-I${pixman}/include/pixman-1"
'';