Back to the Main Page. | Download the M4 Source. |
PATCH_LIBTOOL_ON_DARWIN_ZSH_OVERQUOTING
0.5.65 : guidod
AC_DEFUN([PATCH_LIBTOOL_ON_DARWIN_ZSH_OVERQUOTING], [# libtool-1.4 specific, on zsh target the final requoting does one too much case "$host_os" in darwin*) if grep "1.92" libtool >/dev/null ; then AC_MSG_RESULT(patching libtool on .so-sharedlib creation (zsh overquoting)) test -f libtool.old || (mv libtool libtool.old && cp libtool.old libtool) sed -e '/archive_cmds=/s:[[\\]][[\\]][[\\]]*":\\":g' 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 ])