summaryrefslogtreecommitdiff
path: root/source4/build/smb_build/check_ld.m4
diff options
context:
space:
mode:
Diffstat (limited to 'source4/build/smb_build/check_ld.m4')
-rw-r--r--source4/build/smb_build/check_ld.m423
1 files changed, 23 insertions, 0 deletions
diff --git a/source4/build/smb_build/check_ld.m4 b/source4/build/smb_build/check_ld.m4
new file mode 100644
index 0000000000..94311e02de
--- /dev/null
+++ b/source4/build/smb_build/check_ld.m4
@@ -0,0 +1,23 @@
+dnl SMB Build Environment LD Checks
+dnl -------------------------------------------------------
+dnl Copyright (C) Stefan (metze) Metzmacher 2004
+dnl Released under the GNU GPL
+dnl -------------------------------------------------------
+dnl
+dnl _SMB_BUILD_CHECK_LD(
+dnl 1:dummy
+dnl )
+
+dnl #######################################################
+dnl ### And now the implementation ###
+dnl #######################################################
+
+dnl _SMB_BUILD_CHECK_LD(
+dnl 1:dummy
+dnl )
+AC_DEFUN([_SMB_BUILD_CHECK_LD],
+[
+ dnl Check if we use GNU ld
+ AC_PATH_PROG(LD, ld)
+ AC_PROG_LD_GNU
+])