]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
Remove unused tryboth() function
authorHans Kristian Rosbach <hk-git@circlestorm.org>
Sun, 25 Sep 2022 15:59:44 +0000 (17:59 +0200)
committerHans Kristian Rosbach <hk-github@circlestorm.org>
Sun, 9 Oct 2022 09:36:03 +0000 (11:36 +0200)
configure

index c2196fccae3bb201120a4c7ba8a4ac2b167946c5..ea4ac3977c5d5a17043eda2ea49d723b422993d7 100755 (executable)
--- a/configure
+++ b/configure
@@ -593,18 +593,6 @@ else
   }
 fi
 
-tryboth()
-{
-  show $*
-  got=$(( $* ) 2>&1)
-  ret=$?
-  printf %s "$got" >> configure.log
-  if test $ret -ne 0; then
-    return $ret
-  fi
-  test "$got" = ""
-}
-
 cat > $test.c << EOF
 int foo() { return 0; }
 EOF