summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaz Kylheku <kaz@kylheku.com>2020-01-10 22:07:29 -0800
committerKaz Kylheku <kaz@kylheku.com>2020-01-10 22:07:29 -0800
commitb9220d84639ca227e130aab22d81a530b244a5f6 (patch)
tree33271500d5b3d05347658897eff217b673811ec5
parentfb43ab6c8ffff2fc8517d07a2d36e39f870cfd90 (diff)
downloadtxr-b9220d84639ca227e130aab22d81a530b244a5f6.tar.gz
txr-b9220d84639ca227e130aab22d81a530b244a5f6.tar.bz2
txr-b9220d84639ca227e130aab22d81a530b244a5f6.zip
configure: don't try to remove phony target.
* configure: there is no need to 'rm -f conftest.yacc' before requesting that target, because it's correctly marked as a phony target. Even if a file by that name exists, make will execute the rule.
-rwxr-xr-xconfigure1
1 files changed, 0 insertions, 1 deletions
diff --git a/configure b/configure
index a070755d..1e36572f 100755
--- a/configure
+++ b/configure
@@ -1593,7 +1593,6 @@ printf '"%s"\n' "$lexname"
printf "Checking for yacc program ... "
if [ -z "$yacc_given" -a -z "$yaccname_given" ] ; then
- rm -f conftest.yacc
for yaccname in '$(YACC)' "yacc" "byacc" "bison -y" "" ; do
yaccpath=$($make yaccname="$yaccname" conftest.yacc)
if command -v $yaccpath > /dev/null ; then