[Xfce4-commits] <xfdesktop:master> revert trying 'xdt-autogen --version' when testing for xdt-autogen

Brian J. Tarricone brian at tarricone.org
Wed Aug 19 20:26:01 CEST 2009


Updating branch refs/heads/master
         to cd4599dd6f358f032cb40956eed788b60cbae321 (commit)
       from 2bd850a4139e8b61635766439b7aacab96cc0ad2 (commit)

commit cd4599dd6f358f032cb40956eed788b60cbae321
Author: Brian J. Tarricone <brian at tarricone.org>
Date:   Wed Aug 19 11:23:11 2009 -0700

    revert trying 'xdt-autogen --version' when testing for xdt-autogen
    
    the original idea was that old versions of xdt-autogen don't support
    either XDT_AUTOGEN_REQUIRED_VERSION or the --version option, so using
    --version would help to sniff out old versions.  but the problem is that
    running "xdt-autogen --version" on those old versions will end up
    actually running xdt-autogen, and then it'll pass --version to
    configure.  not really what we want.

 autogen.sh |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/autogen.sh b/autogen.sh
index 2c0f5c1..efedb71 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -11,7 +11,7 @@
 
 export XDT_REQUIRED_VERSION="4.7.0"
 
-(type xdt-autogen && xdt-autogen --version) >/dev/null 2>&1 || {
+(type xdt-autogen) >/dev/null 2>&1 || {
   cat >&2 <<EOF
 autogen.sh: You don't seem to have the Xfce development tools (at least
             version $XDT_REQURED_VERSION) installed on your system, which



More information about the Xfce4-commits mailing list