mirror of
https://gitea.nishi.boats/pyrite-dev/milsko
synced 2026-01-06 17:39:45 +00:00
replace wtih new build system
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@615 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
2
m4/util/arg.m4
Normal file
2
m4/util/arg.m4
Normal file
@@ -0,0 +1,2 @@
|
||||
dnl $Id$
|
||||
define([arg1],[$1])dnl
|
||||
3
m4/util/comma.m4
Normal file
3
m4/util/comma.m4
Normal file
@@ -0,0 +1,3 @@
|
||||
dnl $Id$
|
||||
define([space_to_comma],[_space_to_comma(patsubst([$*],[ ],[,]))])dnl
|
||||
define([_space_to_comma],[ifelse([$#],[0],[],[$#],[1],[$1],[$1[,]_space_to_comma(shift($@))])])dnl
|
||||
2
m4/util/default.m4
Normal file
2
m4/util/default.m4
Normal file
@@ -0,0 +1,2 @@
|
||||
dnl $Id$
|
||||
define([default_define],[ifdef([$1],[],[define([$1],[$2])])])dnl
|
||||
3
m4/util/foreach.m4
Normal file
3
m4/util/foreach.m4
Normal file
@@ -0,0 +1,3 @@
|
||||
dnl $Id$
|
||||
define([foreach],[pushdef([$1])_foreach($@)popdef([$1])])dnl
|
||||
define([_foreach],[ifelse(quote($2),[],[],[define([$1],[arg1($2)])$3[]_foreach([$1],[shift($2)],[$3])])])dnl
|
||||
2
m4/util/quote.m4
Normal file
2
m4/util/quote.m4
Normal file
@@ -0,0 +1,2 @@
|
||||
dnl $Id$
|
||||
define([quote],[ifelse([$#],[0],[],[[$*]])])dnl
|
||||
Reference in New Issue
Block a user