From 5025501c77fe186f3ae23d0e8825482277c142e0 Mon Sep 17 00:00:00 2001 From: midipix Date: Fri, 14 Dec 2018 18:02:16 -0500 Subject: cfgtest.sh: cfgtest_interface_presence(): always output also a "simple" macro. --- sofort/cfgtest.sh | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'sofort') diff --git a/sofort/cfgtest.sh b/sofort/cfgtest.sh index cb1e069..77ce1ea 100644 --- a/sofort/cfgtest.sh +++ b/sofort/cfgtest.sh @@ -146,6 +146,12 @@ cfgtest_interface_presence() > /dev/null 2>/dev/null \ || return 1 + mb_internal_str=$(printf '%s%s' '-DHAVE_' "$@" \ + | sed -e 's/\./_/g' \ + | tr "[:lower:]" "[:upper:]") + + cfgtest_cflags_append "$mb_internal_str" + return 0 } -- cgit v1.2.3