configure.ac: Support -Bstatic/-Bdynamic for linker version > 2.

2009-04-02  H.J. Lu  <hongjiu.lu@intel.com>

	* configure.ac: Support -Bstatic/-Bdynamic for linker version > 2.
	* configure: Regenerated.

From-SVN: r145457
This commit is contained in:
H.J. Lu 2009-04-02 09:35:10 -07:00
parent dcb6e95174
commit 83f0ccb8c1
3 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2009-04-02 H.J. Lu <hongjiu.lu@intel.com>
* configure.ac: Support -Bstatic/-Bdynamic for linker version > 2.
* configure: Regenerated.
2009-04-02 Rafael Avila de Espindola <espindola@google.com>
* c-decl.c (merge_decls): Make sure newdecl and olddecl don't
@ -9,8 +14,8 @@
2009-02-12 Diego Novillo <dnovillo@google.com>
* varpool.c (debug_varpool): New.
* cgraph.h (debug_varpool): Declare.
* varpool.c (debug_varpool): New.
* cgraph.h (debug_varpool): Declare.
2009-04-02 Jan Hubicka <jh@suse.cz>

2
gcc/configure vendored
View File

@ -22196,7 +22196,7 @@ echo "$as_me:$LINENO: checking linker -Bstatic/-Bdynamic option" >&5
echo $ECHO_N "checking linker -Bstatic/-Bdynamic option... $ECHO_C" >&6
gcc_cv_ld_static_dynamic=no
if test $in_tree_ld = yes ; then
if test "$gcc_cv_gld_major_version" -eq 2 -a "$gcc_cv_gld_minor_version" -ge 10; then
if test "$gcc_cv_gld_major_version" -eq 2 -a "$gcc_cv_gld_minor_version" -ge 10 -o "$gcc_cv_gld_major_version" -gt 2; then
gcc_cv_ld_static_dynamic=yes
fi
elif test x$gcc_cv_ld != x; then

View File

@ -2756,7 +2756,7 @@ fi
AC_MSG_CHECKING(linker -Bstatic/-Bdynamic option)
gcc_cv_ld_static_dynamic=no
if test $in_tree_ld = yes ; then
if test "$gcc_cv_gld_major_version" -eq 2 -a "$gcc_cv_gld_minor_version" -ge 10; then
if test "$gcc_cv_gld_major_version" -eq 2 -a "$gcc_cv_gld_minor_version" -ge 10 -o "$gcc_cv_gld_major_version" -gt 2; then
gcc_cv_ld_static_dynamic=yes
fi
elif test x$gcc_cv_ld != x; then