Back to the Main Page. | patch_libtool_on_darwin_pass_all |
Download the M4 Source. |
PATCH_LIBTOOL_ON_DARWIN_PASS_ALL
0.5.65 : guidod
AC_DEFUN([PATCH_LIBTOOL_ON_DARWIN_PASS_ALL], [# libtool-1.4 specific, on darwin set deplibs_check_method=pass_all case "$host_os" in darwin*) if grep "^deplibs_check_method=.*file_magic" libtool >/dev/null ; then AC_MSG_RESULT(patching libtool to set deplibs_check_method=pass_all) test -f libtool.old || (mv libtool libtool.old && cp libtool.old libtool) sed -e '/^deplibs_check_method=/s/=.*/="pass_all"/' libtool >libtool.new (test -s libtool.new || rm libtool.new) 2>/dev/null test -f libtool.new && mv libtool.new libtool # not 2>/dev/null !! test -f libtool || mv libtool.old libtool fi ;; esac ])