From 1f1aee007421477a4c5f50c3a152c6edd3761341 Mon Sep 17 00:00:00 2001
From: Carlo Camilloni <carlo.camilloni@gmail.com>
Date: Fri, 22 Nov 2013 09:30:29 +0100
Subject: [PATCH] configure: added a test for the existence of the
 sourceme/makefile file to not return an error in case of ./configure --help

---
 configure | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure b/configure
index 2da71f104..a572dbd53 100755
--- a/configure
+++ b/configure
@@ -4,7 +4,7 @@ rm -f sourceme.sh Makefile.conf
 
 cd autoconf
 ./configure "${@}"
-cp Makefile.conf ../
-cp sourceme.sh ../
+if [ -e Makefile.conf ]; then cp Makefile.conf ../; fi
+if [ -e sourceme.sh ]; then cp sourceme.sh ../; fi
 
 
-- 
GitLab