Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 1 | From e198f0a87660a048164ca0e16d18517d0aee846e Mon Sep 17 00:00:00 2001 |
| 2 | From: Andre McCurdy <armccurdy@gmail.com> |
| 3 | Date: Tue, 9 Jun 2015 12:20:45 -0700 |
| 4 | Subject: [PATCH] Fix builds when using separate source and build directories. |
| 5 | |
| 6 | Upstream-Status: Pending |
| 7 | |
| 8 | Signed-off-by: Andre McCurdy <armccurdy@gmail.com> |
| 9 | --- |
| 10 | configure.ac | 10 +++++----- |
| 11 | 1 files changed, 5 insertions(+), 5 deletions(-) |
| 12 | |
| 13 | diff --git a/configure.ac b/configure.ac |
| 14 | index a8731b5..54a3c3d 100644 |
| 15 | --- a/configure.ac |
| 16 | +++ b/configure.ac |
| 17 | @@ -744,9 +744,9 @@ AC_OUTPUT |
| 18 | # |
| 19 | # Files copied for windows compilation. |
| 20 | # |
| 21 | -echo "configure: copying \"autoconfig.h\" to \"build/inc/autoconfig.h\"" |
| 22 | -test -d build/inc || mkdir -p build/inc |
| 23 | -cp autoconfig.h build/inc/autoconfig.h |
| 24 | -echo "configure: copying \"upnp/inc/upnpconfig.h\" to \"build/inc/upnpconfig.h\"" |
| 25 | -cp upnp/inc/upnpconfig.h build/inc/upnpconfig.h |
| 26 | +echo "configure: copying \"autoconfig.h\" to \"\$srcdir/build/inc/autoconfig.h\"" |
| 27 | +test -d $srcdir/build/inc || mkdir -p $srcdir/build/inc |
| 28 | +cp autoconfig.h $srcdir/build/inc/autoconfig.h |
| 29 | +echo "configure: copying \"upnp/inc/upnpconfig.h\" to \"\$srcdir/build/inc/upnpconfig.h\"" |
| 30 | +cp upnp/inc/upnpconfig.h $srcdir/build/inc/upnpconfig.h |
| 31 | |
| 32 | -- |
| 33 | 1.9.1 |
| 34 | |