/[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.74 by akim, Thu Feb 7 15:49:33 2002 UTC revision 1.75 by akim, Tue Mar 12 16:10:36 2002 UTC
# Line 99  m4_copy([_m4_divert(M4SH-INIT)], [_m4_di Line 99  m4_copy([_m4_divert(M4SH-INIT)], [_m4_di
99  # AS_REQUIRE(NAME-TO-CHECK, [BODY-TO-EXPAND = NAME-TO-CHECK])  # AS_REQUIRE(NAME-TO-CHECK, [BODY-TO-EXPAND = NAME-TO-CHECK])
100  # -----------------------------------------------------------  # -----------------------------------------------------------
101  # BODY-TO-EXPAND is some initialization which must be expanded in the  # BODY-TO-EXPAND is some initialization which must be expanded in the
102  # M4SH-INIT section when expanded (required or not).  For instance:  # M4SH-INIT section when expanded (required or not).  This is very
103    # different from m4_require.  For instance:
104  #  #
105  #      m4_defun([_FOO_PREPARE], [foo=foo])  #      m4_defun([_FOO_PREPARE], [foo=foo])
106  #      m4_defun([FOO],  #      m4_defun([FOO],
# Line 416  AS_DIRNAME_SED([$1])]) Line 417  AS_DIRNAME_SED([$1])])
417  # Also see the comments for AS_DIRNAME.  # Also see the comments for AS_DIRNAME.
418    
419  m4_defun([AS_BASENAME_EXPR],  m4_defun([AS_BASENAME_EXPR],
420  [m4_require([_AS_EXPR_PREPARE])dnl  [AS_REQUIRE([_AS_EXPR_PREPARE])dnl
421  $as_expr X/[]$1 : '.*/\([[^/][^/]*]\)/*$' \| \  $as_expr X/[]$1 : '.*/\([[^/][^/]*]\)/*$' \| \
422           X[]$1 : 'X\(//\)$' \| \           X[]$1 : 'X\(//\)$' \| \
423           X[]$1 : 'X\(/\)$' \| \           X[]$1 : 'X\(/\)$' \| \

Legend:
Removed from v.1.74  
changed lines
  Added in v.1.75

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