From 3b9baaf0f41d5f19b7c635d583ec9e052372ecec Mon Sep 17 00:00:00 2001 From: Pawel Wodkowski Date: Fri, 21 Sep 2018 14:37:28 +0200 Subject: [PATCH] configure: don't generate config.h during configure This script don't respect MAKEFLAGS here. Also config.h is dependency during build so no need to invoke it multpiple times. Change-Id: I2062819cb5d3f1ab87d8127a1a41c209515b199c Signed-off-by: Pawel Wodkowski Reviewed-on: https://review.gerrithub.io/426363 Tested-by: SPDK CI Jenkins Chandler-Test-Pool: SPDK Automated Test System Reviewed-by: Ben Walker Reviewed-by: Shuhei Matsumoto Reviewed-by: Lance Hartmann Reviewed-by: Darek Stojaczyk Reviewed-by: Jim Harris --- configure | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/configure b/configure index 2ed95a17f..2a46b6cc3 100755 --- a/configure +++ b/configure @@ -457,21 +457,6 @@ if [ -n "$DESTDIR" ]; then echo "DESTDIR?=$DESTDIR" >> CONFIG.local fi -python_command= -for interpreter in python3 python2 python ; do - type $interpreter > /dev/null 2>&1 || continue - python_command=$interpreter - break -done -if [[ -z "$python_command" ]] ; then - echo "Could not find python interpreter! Bailing out." - exit 1 -fi - -rm -f PYTHON_COMMAND -echo $python_command > PYTHON_COMMAND -$python_command scripts/genconfig.py > config.h - echo "done." if [[ "$OSTYPE" == "freebsd"* ]]; then echo "Type 'gmake' to build."