]>
git.ipfire.org Git - thirdparty/systemd.git/blob - tools/meson-apply-m4.sh
2 # SPDX-License-Identifier: LGPL-2.1-or-later
9 echo 'Invalid number of arguments.'
13 if [ ! -f $CONFIG ]; then
14 echo "$CONFIG not found."
18 if [ ! -f $TARGET ]; then
19 echo "$TARGET not found."
23 DEFINES
=$
(awk '$1 == "#define" && $3 == "1" { printf "-D%s ", $2 }' $CONFIG)
25 m4 -P $DEFINES $TARGET