From: Darren S. <ds...@us...> - 2005-09-07 18:26:47
|
Update of /cvsroot/xine/gnome-xine/m4 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv13003/m4 Modified Files: _gxine.m4 Log Message: Minor fix to --as-needed test (assumption of "-Wl,"). Index: _gxine.m4 =================================================================== RCS file: /cvsroot/xine/gnome-xine/m4/_gxine.m4,v retrieving revision 1.5 retrieving revision 1.6 diff -u -r1.5 -r1.6 --- _gxine.m4 6 Sep 2005 18:24:36 -0000 1.5 +++ _gxine.m4 7 Sep 2005 18:26:39 -0000 1.6 @@ -39,7 +39,7 @@ dnl Assumption: --as-needed does nothing where all deps must be direct AC_DEFUN([AC_LD_ASNEEDED], [SAVE_LDFLAGS="$LDFLAGS" - LDFLAGS="-Wl,--as-needed $(LDFLAGS)" + LDFLAGS="$lt_prog_compiler_wl--as-needed $LDFLAGS" AC_MSG_CHECKING([whether the linker supports --as-needed]) AC_TRY_LINK([], [], ac_cv_ld_asneeded=yes, ac_cv_ld_asneeded=no) AC_MSG_RESULT([$ac_cv_ld_asneeded]) |