libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PATCH: Use AC_DEFUN instead of m4_defun in libtool.m4


From: Paolo Bonzini
Subject: Re: PATCH: Use AC_DEFUN instead of m4_defun in libtool.m4
Date: Sun, 01 Jul 2007 10:00:03 +0200
User-agent: Thunderbird 2.0.0.4 (Macintosh/20070604)

I don't know much about m4, autoconf nor libtool. This patch works
for me on both gcc and binutils.

Looks good, but let's make sure it is applied to upstream libtool as well.

Paolo

2007-06-30  H.J. Lu  <address@hidden>

        * libtool.m4 (_LT_CC_BASENAME): Use AC_DEFUN instead of
        m4_defun.
        (_LT_COMPILER_BOILERPLATE): Likewise.
        (_LT_LINKER_BOILERPLATE): Likewise.

--- binutils/libtool.m4.libtool 2007-06-01 06:42:08.000000000 -0700
+++ binutils/libtool.m4 2007-06-30 16:56:38.000000000 -0700
@@ -95,7 +95,7 @@ dnl AC_DEFUN([AM_PROG_LIBTOOL], [])
 # _LT_CC_BASENAME(CC)
 # -------------------
 # Calculate cc_basename.  Skip known compiler wrappers and cross-prefix.
-m4_defun([_LT_CC_BASENAME],
+AC_DEFUN([_LT_CC_BASENAME],
 [for cc_temp in $1""; do
   case $cc_temp in
     compile | *[[\\/]]compile | ccache | *[[\\/]]ccache ) ;;
@@ -851,7 +851,7 @@ compiler=$CC
 # ------------------------
 # Check for compiler boilerplate output or warnings with
 # the simple compiler test code.
-m4_defun([_LT_COMPILER_BOILERPLATE],
+AC_DEFUN([_LT_COMPILER_BOILERPLATE],
 [m4_require([_LT_DECL_SED])dnl
 ac_outfile=conftest.$ac_objext
 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
@@ -865,7 +865,7 @@ $RM conftest*
 # ----------------------
 # Check for linker boilerplate output or warnings with
 # the simple link test code.
-m4_defun([_LT_LINKER_BOILERPLATE],
+AC_DEFUN([_LT_LINKER_BOILERPLATE],
 [m4_require([_LT_DECL_SED])dnl
 ac_outfile=conftest.$ac_objext
 echo "$lt_simple_link_test_code" >conftest.$ac_ext






reply via email to

[Prev in Thread] Current Thread [Next in Thread]