/[autoconf]/autoconf/lib/m4sugar/m4sh.m4
ViewVC logotype

Diff of /autoconf/lib/m4sugar/m4sh.m4

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.106 by adl, Wed Nov 5 11:58:58 2003 UTC revision 1.107 by bonzini, Mon Nov 24 10:44:52 2003 UTC
# Line 134  m4_define([AS_REQUIRE], Line 134  m4_define([AS_REQUIRE],
134                 [m4_divert_text([M4SH-INIT], [m4_default([$2], [$1])])])])                 [m4_divert_text([M4SH-INIT], [m4_default([$2], [$1])])])])
135    
136    
137    # AS_REQUIRE_SHELL_FN(NAME-TO-CHECK, BODY-TO-EXPAND)
138    # --------------------------------------------------
139    # BODY-TO-EXPAND is the body of a shell function to be emitted in the
140    # M4SH-INIT section when expanded (required or not).  Unlike other
141    # xx_REQUIRE macros, BODY-TO-EXPAND is mandatory.
142    #
143    m4_define([AS_REQUIRE_SHELL_FN],
144    [m4_provide_if([AS_SHELL_FN_$1], [],
145                   [m4_provide([AS_SHELL_FN_$1])m4_divert_text([M4SH-INIT], [$1() {
146    $2
147    }])])])
148    
149    
150  # AS_SHELL_SANITIZE  # AS_SHELL_SANITIZE
151  # -----------------  # -----------------
152  # Try to be as Bourne and/or POSIX as possible.  # Try to be as Bourne and/or POSIX as possible.

Legend:
Removed from v.1.106  
changed lines
  Added in v.1.107

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26