summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2013-11-09 19:52:30 +0100
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2013-11-09 19:52:30 +0100
commitcdfcdeb7e10efeedb0a6df0e879f2ac37da9c1b3 (patch)
tree8933346ea84f35eeb04144c8e19ddc826bd4edfd /configure.ac
parent2f1a93764b8a525be32d6cb581a9b121fb7253a0 (diff)
downloadgnutls-cdfcdeb7e10efeedb0a6df0e879f2ac37da9c1b3.tar.gz
test before copy
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index ab95920595..7b4973fb00 100644
--- a/configure.ac
+++ b/configure.ac
@@ -349,7 +349,9 @@ if [ test "$NEED_LIBOPTS_DIR" != "true" ];then
dnl delete libopts-generated files
for i in ${srcdir}/src/*-args.c.bak ${srcdir}/src/*-args.h.bak; do
nam=`echo $i|sed 's/.bak//g'`
- cp -f $i $nam
+ if [ test -f $i ];then
+ cp -f $i $nam
+ fi
done
AC_SUBST([AUTOGEN], [/bin/true])
fi