From: Jeremy Fitzhardinge Date: Wed, 8 Jul 2015 20:50:35 +0000 (-0700) Subject: configure: don't be so eager to overwrite an existing Makefile X-Git-Tag: fio-2.2.10~45 X-Git-Url: https://git.kernel.dk/?p=fio.git;a=commitdiff_plain;h=59d8f4125b0871cc26ad60150bcf4cd29f7daac7 configure: don't be so eager to overwrite an existing Makefile --- diff --git a/configure b/configure index 6bafd735..6807679e 100755 --- a/configure +++ b/configure @@ -1718,7 +1718,7 @@ echo "CC=$cc" >> $config_host_mak echo "BUILD_CFLAGS=$BUILD_CFLAGS $CFLAGS" >> $config_host_mak echo "INSTALL_PREFIX=$prefix" >> $config_host_mak -if [ `dirname $0` != "." ]; then +if [ `dirname $0` != "." -a ! -e Makefile ]; then cat > Makefile <