Patchwork configure: remove ${config_host_ld} variable

login
register
mail settings
Submitter Ed Maste
Date June 6, 2013, 12:53 p.m.
Message ID <1370523215-35057-1-git-send-email-emaste@freebsd.org>
Download mbox | patch
Permalink /patch/249404/
State New
Headers show

Comments

Ed Maste - June 6, 2013, 12:53 p.m.
It was only used in one place (and already expanded in one other).

Signed-off-by: Ed Maste <emaste@freebsd.org>
---
 configure | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
Michael Tokarev - June 7, 2013, 10:33 p.m.
06.06.2013 16:53, Ed Maste wrote:
> It was only used in one place (and already expanded in one other).

Thanks, applied to the trivial patches queue.

I think we should just as well get rid of ${config_host_mak},
as it makes no sense too... ;)   And while at it, maybe use
common constructs like

{ echo a; echo b; echo c; ... } > config-host.mak

But that's for another time :)

/mjt

Patch

diff --git a/configure b/configure
index 1654413..e197b91 100755
--- a/configure
+++ b/configure
@@ -3556,7 +3556,6 @@  echo "-> Your SDL version is too old - please upgrade to have SDL support"
 fi
 
 config_host_mak="config-host.mak"
-config_host_ld="config-host.ld"
 
 echo "# Automatically generated by configure - do not modify" >config-all-disas.mak
 
@@ -4071,7 +4070,7 @@  if test "$gcov" = "yes" ; then
 fi
 
 # generate list of library paths for linker script
-$ld --verbose -v 2> /dev/null | grep SEARCH_DIR > ${config_host_ld}
+$ld --verbose -v 2> /dev/null | grep SEARCH_DIR > config-host.ld
 
 # use included Linux headers
 if test "$linux" = "yes" ; then