projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c61a3a4
)
configure: don't be so eager to overwrite an existing Makefile
author
Jeremy Fitzhardinge
<jeremy@goop.org>
Wed, 8 Jul 2015 20:50:35 +0000
(13:50 -0700)
committer
Jeremy Fitzhardinge
<jeremy@goop.org>
Wed, 8 Jul 2015 20:50:35 +0000
(13:50 -0700)
configure
patch
|
blob
|
blame
|
history
diff --git
a/configure
b/configure
index 6bafd73586ce1069720df35fb4fc6fa89260de9b..6807679e1f0d89c21d811eec2443b6d5527fe58b 100755
(executable)
--- 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 <<EOF
SRCDIR:=`dirname $0`
include \$(SRCDIR)/Makefile