]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
bootstrap.sh: remove broken and useless check_awk
authorTravis Cross <tc@traviscross.com>
Fri, 4 May 2012 19:01:24 +0000 (19:01 +0000)
committerTravis Cross <tc@traviscross.com>
Fri, 4 May 2012 19:01:24 +0000 (19:01 +0000)
...and replace with a TODO explaining why the function stub is there.

bootstrap.sh

index 93c96f4088eddff2ff26cf04bfbd803dfd53a966..77640722f6996af0681b622aae9c942350f6d333 100755 (executable)
@@ -209,24 +209,10 @@ check_make() {
 
 
 check_awk() {
-  #
-  # Check to make sure we have GNU Make installed
-  #  
-  
-  awk=`which awk`
-  if [ -x "$awk" ]; then
-     awk_version=`$awk --version | head -n 1 |grep GNU`
-     if [ $? -ne 0 ]; then
-        awk=`which gawk`
-        if [ -x "$awk" ]; then
-          awk_version=`$awk --version | head -n 1 |grep GNU`
-         if [ $? -ne 0 ]; then 
-            echo "GNU awk does not exist or is not executable"
-            exit 1;
-          fi
-        fi
-      fi
-   fi
+  # TODO: Building with mawk on at least Debian squeeze is know to
+  # work, but mawk is believed to fail on some systems.  If we can
+  # replicate this, we need a particular behavior that we can test
+  # here to verify whether we have an acceptable awk.
 }