-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- New library file `not-increments.m4` has been created, containing the following new macros: - `n4_pp_amount()` - `n4_ppn_amount()` - `n4_amount_pp()` - `n4_amount_ppn()` - `n4_amount_incr()` - `n4_amount_add()` - `n4_amounts_incr()` - `n4_amounts_add()` - `n4_mm_amount()` - `n4_mmn_amount()` - `n4_amount_mm()` - `n4_amount_mmn()` - `n4_amount_decr()` - `n4_amount_subtract()` - `n4_amounts_decr()` - `n4_amounts_subtract()` - New macro `n4_retrieve()` has been created in `not-m4sugar.m4` - New macro `NS_CATCH()` has been created in `not-autoshell.m4` - New macro `NC_CPP_EXPAND()` has been created in `not-cc.m4` - New macros `NR_RECORD_HISTORY_RC()`, `NR_GET_EVENT_VSTATE_RC()` and `NR_FOR_EACH_EVENT_RC()` have been created in `not-autoversion.m4` - Code review (macro `NC_AUTOVERSION_SUBSTITUTIONS()` in `not-autoversion.m4`; macros `NS_SETVARS()`, `NS_GETVAR()`, `NS_UNSET()`, `NS_MOVEVAR()` and `NS_REPLACEVAR()` in `not-autoshell.m4`) - File `macro-index.md` has been sorted alphabetically - Documentation
- Loading branch information
Showing
12 changed files
with
1,090 additions
and
172 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
#!/bin/bash | ||
# | ||
# create_test_directory.sh | ||
# | ||
|
||
M4SUGAR_DIR='/usr/share/autoconf/m4sugar' | ||
|
||
if [[ ! -d "${M4SUGAR_DIR}" ]]; then | ||
echo 'You don'\''t have GNU Autoconf installed. Abort.' | ||
exit 1 | ||
fi | ||
|
||
mkdir -p ../tests | ||
cd ../tests | ||
rm -rf m4sugar | ||
ln -s "${M4SUGAR_DIR}" m4sugar | ||
|
||
cat << '_NA_HEREDOC_' > 'do_your_tests_here.m4' | ||
dnl ************************************************************************** | ||
dnl | ||
dnl Launch | ||
dnl | ||
dnl m4 do_your_tests_here.m4 | ||
dnl | ||
dnl to parse this file. | ||
dnl | ||
dnl ************************************************************************** | ||
include(m4sugar/m4sugar.m4) | ||
m4_include([m4sugar/m4sh.m4]) | ||
m4_init | ||
m4_define([AC_DEFUN], m4_defn([m4_defun])) | ||
m4_define([AC_DEFUN_ONCE], m4_defn([m4_defun])) | ||
m4_define([n4_sincludedir], | ||
[m4_pushdef([_files_], m4_dquote(m4_dquote(m4_shift(m4_esyscmd([find '$1' -type f -name '*.m4' -printf ", [[%p]]" 2>/dev/null])))))[]m4_ifnblank(m4_expand(_files_), [m4_foreach([_file_], _files_, [m4_include(_file_)])])[]m4_popdef([_files_])])[]n4_sincludedir([../m4/])[]m4_divert[]dnl | ||
dnl | ||
dnl ************************************************************************** | ||
dnl PLEASE WRITE YOUR M4 CODE AFTER THIS COMMENT | ||
dnl ************************************************************************** | ||
dnl | ||
dnl This is just an example... | ||
n4_repeat([79], [~]) | ||
_NA_HEREDOC_ | ||
|
||
echo 'A directory for experimenting on the Not Autotools project has been created in' | ||
echo "$(pwd)." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.