86ce91
cfgtest.sh: cfgtest_interface_presence(): always output also a "simple" macro.
@@ -146,6 +146,12 @@ cfgtest_interface_presence()
|
|
146
146
|
> /dev/null 2>/dev/null \
|
147
147
|
|| return 1
|
148
148
|
|
149
|
+
mb_internal_str=$(printf '%s%s' '-DHAVE_' "$@" \
|
150
|
+
| sed -e 's/\./_/g' \
|
151
|
+
| tr "[:lower:]" "[:upper:]")
|
152
|
+
|
153
|
+
cfgtest_cflags_append "$mb_internal_str"
|
154
|
+
|
149
155
|
return 0
|
150
156
|
}
|
151
157
|
|