summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Eremin-Solenikov <dbaryshkov@gmail.com>2016-12-14 00:46:16 +0300
committerNikos Mavrogiannopoulos <nmav@redhat.com>2016-12-14 10:20:24 +0100
commitdb44b0ead6ef32b3f069529f0e6cb13badaa60b3 (patch)
tree26d94fe8ef0e4b09240ae4f4b0a771844024052a
parent5dfa1c4968375c32b09634cff43472de75402167 (diff)
downloadgnutls-db44b0ead6ef32b3f069529f0e6cb13badaa60b3.tar.gz
configure.ac: remove autogen'erated files only if necessary
Currently autogen'erated files will be removed on each call to configure. However this would break the build if one of previous make invocations have created corresponding stamp files. Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index e30ef8bd97..e96c75d356 100644
--- a/configure.ac
+++ b/configure.ac
@@ -920,8 +920,8 @@ AC_SUBST([YEAR], $YEAR)
for i in ${srcdir}/src/*-args.c.bak ${srcdir}/src/*-args.h.bak; do
nam=$(basename $i|sed 's/.bak//g')
- rm -f "src/$nam"
if test "$create_libopts_links" = "yes";then
+ rm -f "src/$nam"
AC_CONFIG_LINKS([src/$nam:$i])
fi
done