From: Dmitry Eremin-Solenikov Date: Tue, 13 Dec 2016 21:46:16 +0000 (+0300) Subject: configure.ac: remove autogen'erated files only if necessary X-Git-Tag: gnutls_3_6_0~1177 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=db44b0ead6ef32b3f069529f0e6cb13badaa60b3;p=thirdparty%2Fgnutls.git 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 --- 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