Check also for configure.in, altho upstreams should name it .ac
authorTomas Chvatal <scarabeus@gentoo.org>
Wed, 14 Jul 2010 08:34:27 +0000 (08:34 +0000)
committerTomas Chvatal <scarabeus@gentoo.org>
Wed, 14 Jul 2010 08:34:27 +0000 (08:34 +0000)
eclass/xorg-2.eclass

index a8918d6d9714dbe40474f9b293344ef374cab08a..f20a3d0b78bfe09172087c080eea3b11d638bf10 100644 (file)
@@ -1,6 +1,6 @@
 # Copyright 1999-2010 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/xorg-2.eclass,v 1.5 2010/07/04 20:42:22 dirtyepic Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/xorg-2.eclass,v 1.6 2010/07/14 08:34:27 scarabeus Exp $
 #
 # @ECLASS: xorg-2.eclass
 # @MAINTAINER:
@@ -208,7 +208,7 @@ xorg-2_reconf_source() {
        case ${CHOST} in
                *-interix* | *-aix* | *-winnt*)
                        # some hosts need full eautoreconf
-                       [[ -e "./configure.ac" ]] && eautoreconf || ewarn "Unable to autoreconf the configure script. Things may fail."
+                       [[ -e "./configure.ac" || -e "./configure.in" ]] && eautoreconf || ewarn "Unable to autoreconf the configure script. Things may fail."
                        ;;
                *)
                        # elibtoolize required for BSD