changeset 3022:95dc79ab9f0d

_ld_x11 patch by Anders Johansson <ajh@atri.curtin.edu.au> reset content of $TMPO before cc_check to avoid incorrect ldd reports
author pl
date Tue, 20 Nov 2001 12:31:35 +0000
parents 8c765d4a31b8
children 7d6a1fd5bbab
files configure
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Tue Nov 20 11:59:32 2001 +0000
+++ b/configure	Tue Nov 20 12:31:35 2001 +0000
@@ -30,6 +30,7 @@
   cat "$TMPC" >> "$TMPLOG"
   echo >> "$TMPLOG"
   echo "$_cc $_inc_extra $_ld_static $_ld_extra $TMPC -o $TMPO $@" >> "$TMPLOG"
+  > "$TMPO"
   ( "$_cc" $_inc_extra $_ld_static $_ld_extra "$TMPC" -o "$TMPO" "$@" ) >> "$TMPLOG" 2>&1
   TMP="$?"
   echo >> "$TMPLOG"
@@ -1321,7 +1322,7 @@
   echores "using xdpms4"
 elif test "$_xdpms3" = yes ; then
   _def_xdpms='#define HAVE_XDPMS 1'
-  _ld_x11='$_ld_x11 -lXdpms'
+  _ld_x11="$_ld_x11 -lXdpms"
   echores "using xdpms3"
 else
   _def_xdpms='#undef HAVE_XDPMS'