look for GNU cpio 2.4.2 or later (w/ --quiet support), not just
authorewt <devnull@localhost>
Mon, 2 Dec 1996 23:27:39 +0000 (23:27 +0000)
committerewt <devnull@localhost>
Mon, 2 Dec 1996 23:27:39 +0000 (23:27 +0000)
GNU cpio (with --help support)

CVS patchset: 1203
CVS date: 1996/12/02 23:27:39

configure.in

index 8c48124..7890b27 100644 (file)
@@ -33,7 +33,7 @@ if test -z "$CPIOBIN"; then
        IFS=:
        for n in $PATH:/opt/gnu/bin; do
                if test -f $n/cpio; then
-                       $n/cpio --help >/dev/null 2>/dev/null
+                       $n/cpio --quiet >/dev/null 2>/dev/null
                        if test "$?" = "0"; then
                                CPIOBIN="$n/cpio";
                        fi
@@ -45,7 +45,7 @@ fi
 if test -z "$CPIOBIN"; then
        echo "no"
        echo ""
-       echo "RPM will not work without GNU cpio."
+       echo "RPM will not work without GNU cpio 2.4.2 or later."
        exit 1
 else
        echo "yes"