aboutsummaryrefslogtreecommitdiffstats
path: root/1.4.23-rc4/autoconf/ast_prog_ld_gnu.m4
diff options
context:
space:
mode:
authorlmadsen <lmadsen@f38db490-d61c-443f-a65b-d21fe96a405b>2009-01-21 13:19:16 +0000
committerlmadsen <lmadsen@f38db490-d61c-443f-a65b-d21fe96a405b>2009-01-21 13:19:16 +0000
commit503ebba846b30a4d9e493a7e8578f9c40cf89bf4 (patch)
tree6cbe6c63e6e2dc3c25cd344c1cbee12b45143d54 /1.4.23-rc4/autoconf/ast_prog_ld_gnu.m4
parentd84f827ff6a3ac7853c45205604010ef13715276 (diff)
Creating tag for asterisk-1.4.23 (in the right location this time too!)
git-svn-id: http://svn.digium.com/svn/asterisk/tags/1.4.23@169668 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to '1.4.23-rc4/autoconf/ast_prog_ld_gnu.m4')
-rw-r--r--1.4.23-rc4/autoconf/ast_prog_ld_gnu.m416
1 files changed, 16 insertions, 0 deletions
diff --git a/1.4.23-rc4/autoconf/ast_prog_ld_gnu.m4 b/1.4.23-rc4/autoconf/ast_prog_ld_gnu.m4
new file mode 100644
index 000000000..43556ca6b
--- /dev/null
+++ b/1.4.23-rc4/autoconf/ast_prog_ld_gnu.m4
@@ -0,0 +1,16 @@
+# 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