mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 20:20:07 +00:00
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@151240 65c4cc65-6c06-0410-ace0-fbb531ad65f3
17 lines
414 B
Plaintext
17 lines
414 B
Plaintext
# AST_PROG_LD_GNU
|
|
# --------------
|
|
AC_DEFUN([AST_PROG_LD_GNU],
|
|
[AC_REQUIRE([AST_PROG_EGREP])dnl
|
|
AC_CACHE_CHECK([if the linker ($LD) is GNU ld], lt_cv_prog_gnu_ld,
|
|
[# I'd rather use --version here, but apparently some GNU lds only accept -v.
|
|
case `$LD -v 2>&1 </dev/null` in
|
|
*GNU* | *'with BFD'*)
|
|
lt_cv_prog_gnu_ld=yes
|
|
;;
|
|
*)
|
|
lt_cv_prog_gnu_ld=no
|
|
;;
|
|
esac])
|
|
with_gnu_ld=$lt_cv_prog_gnu_ld
|
|
])# AST_PROG_LD_GNU
|