summaryrefslogtreecommitdiff
path: root/source4/lib/replace
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib/replace')
-rw-r--r--source4/lib/replace/libreplace_ld.m414
1 files changed, 7 insertions, 7 deletions
diff --git a/source4/lib/replace/libreplace_ld.m4 b/source4/lib/replace/libreplace_ld.m4
index f156fa8e9f..a2e43bbe13 100644
--- a/source4/lib/replace/libreplace_ld.m4
+++ b/source4/lib/replace/libreplace_ld.m4
@@ -256,30 +256,30 @@ AC_DEFUN([AC_LIBREPLACE_MDLD],
AC_SUBST(MDLD)
])
-AC_DEFUN([AC_LIBREPLACE_LD_ALLOW_SHLIB_UNDEF_FLAG],
+AC_DEFUN([AC_LIBREPLACE_LD_SHLIB_ALLOW_UNDEF_FLAG],
[
LD_ALLOW_SHLIB_UNDEF_FLAG=""
case "$host_os" in
*linux*)
- LD_ALLOW_SHLIB_UNDEF_FLAG="-Wl,--allow-shlib-undefined"
+ LD_SHLIB_ALLOW_UNDEF_FLAG="-Wl,--allow-shlib-undefined"
;;
*osf*)
- LD_ALLOW_SHLIB_UNDEF_FLAG="-expect_unresolved '*'"
+ LD_SHLIB_ALLOW_UNDEF_FLAG="-expect_unresolved '*'"
;;
*darwin*)
- LD_ALLOW_SHLIB_UNDEF_FLAG="-undefined suppress"
+ LD_SHLIB_ALLOW_UNDEF_FLAG="-undefined suppress"
;;
esac
- AC_SUBST(LD_ALLOW_SHLIB_UNDEF_FLAG)
+ AC_SUBST(LD_SHLIB_ALLOW_UNDEF_FLAG)
])
AC_DEFUN([AC_LIBREPLACE_MDLD_FLAGS],
[
AC_REQUIRE([AC_LIBREPLACE_LD_SHLIB_FLAGS])
- AC_REQUIRE([AC_LIBREPLACE_LD_ALLOW_SHLIB_UNDEF_FLAG])
- MDLD_FLAGS="$LD_SHLIB_FLAGS $LD_ALLOW_SHLIB_UNDEF_FLAG"
+ AC_REQUIRE([AC_LIBREPLACE_LD_SHLIB_ALLOW_UNDEF_FLAG])
+ MDLD_FLAGS="$LD_SHLIB_FLAGS $LD_SHLIB_ALLOW_UNDEF_FLAG"
AC_SUBST(MDLD_FLAGS)
])