mldonkey-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Mldonkey-commits] Changes to mldonkey/config/configure.in


From: mldonkey-commits
Subject: [Mldonkey-commits] Changes to mldonkey/config/configure.in
Date: Sun, 17 Jul 2005 19:07:55 -0400

Index: mldonkey/config/configure.in
diff -u mldonkey/config/configure.in:1.195 mldonkey/config/configure.in:1.196
--- mldonkey/config/configure.in:1.195  Sun Jul 17 16:29:00 2005
+++ mldonkey/config/configure.in        Sun Jul 17 23:07:55 2005
@@ -59,7 +59,14 @@
        if [ test "$SYSTEM" = "freebsd"] || [ test "$SYSTEM" = "darwin"]; then
          SCM_VERSION=`$STAT -f "%Sm" ./CVS/Entries | $SED -e 's/\(.*\) \(.*\) 
\(.*\) \(.*\)/\4-\1-\2 \3/'`
        else
-         SCM_VERSION=`$STAT -Lc %y ./CVS/Entries | $SED -e 's#\.[0-9]*##' | 
$CUT -c0-19`
+         if [ test "$SYSTEM" = "openbsd"]; then
+           AC_CHECK_PROG(GREP, grep, grep)
+           if test "$ac_cv_prog_GREP" = "grep"; then
+             SCM_VERSION=`$STAT -f %a ./CVS/Entries | grep -v Entries | $SED 
-e 's/\(.*\) \(.*\) \(.*\) \(.*\)/\1-\2-\4 \3/'`
+           fi
+         else
+           SCM_VERSION=`$STAT -Lc %y ./CVS/Entries | $SED -e 's#\.[0-9]*##' | 
$CUT -c0-19`
+         fi
        fi
       fi
     fi




reply via email to

[Prev in Thread] Current Thread [Next in Thread]