]> 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>
Fri, 17 Mar 2023 20:27:56 +0000 (21:27 +0100)
configure

index 4cad3c081a3c400629ffd31f4e3e2dd4c9ffbe09..998ba3c03a7ab946fa779f9eecdf6e035fb89a5c 100755 (executable)
--- a/configure
+++ b/configure
@@ -563,18 +563,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