mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-15 21:06:32 +00:00
e0f543c7b3
Original commit message from CVS: Do hacky fix for AM_CONDITIONAL for GST_SUBSYSTEM_DISABLE, too.
12 lines
434 B
Bash
Executable file
12 lines
434 B
Bash
Executable file
#!/bin/sh
|
|
# Run this to generate configure.in and configure.ac from configure.base
|
|
|
|
# args: $1 - configure file to create
|
|
|
|
sed "
|
|
s/^SUBSTFOR $1://g;
|
|
/^SUBSTFOR .*:.*/d;
|
|
s/^ *GST_CHECK_FEATURE *(\\([A-Za-z0-9_]*\\) *,/translit(dnm, m, l) AM_CONDITIONAL(USE_\\1, true)\\
|
|
GST_CHECK_FEATURE(\\1,/
|
|
s/^ *GST_SUBSYSTEM_DISABLE *(\\([A-Za-z0-9_]*\\) *,/translit(dnm, m, l) AM_CONDITIONAL(GST_DISABLE_\\1, true)\\
|
|
GST_SUBSYSTEM_DISABLE(\\1,/"
|