also check for README files for --foreign (reported by Mr_Bones_)
authorMike Frysinger <vapier@gentoo.org>
Wed, 5 Oct 2011 13:44:25 +0000 (13:44 +0000)
committerMike Frysinger <vapier@gentoo.org>
Wed, 5 Oct 2011 13:44:25 +0000 (13:44 +0000)
eclass/autotools.eclass

index e5f3cecea495a28eafafcca99f5d2c3f8a17b55b..11364171a49bedb45d6a227ee5446400b4b4b98c 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/autotools.eclass,v 1.108 2011/09/23 04:14:38 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/autotools.eclass,v 1.109 2011/10/05 13:44:25 vapier Exp $
 
 # @ECLASS: autotools.eclass
 # @MAINTAINER:
@@ -272,7 +272,7 @@ eautomake() {
                fi
        fi
 
-       [[ -f INSTALL && -f AUTHORS && -f ChangeLog && -f NEWS ]] \
+       [[ -f INSTALL && -f AUTHORS && -f ChangeLog && -f NEWS && -f README ]] \
                || extra_opts="${extra_opts} --foreign"
 
        # --force-missing seems not to be recognized by some flavours of automake