gstreamer/makeconfigure
Richard Boulton 912d0fd85c Added feature check macro, GST_CHECK_FEATURE.
Original commit message from CVS:
Added feature check macro, GST_CHECK_FEATURE.
Moved generation of configure.{in,ac} into a separate script.
Add hack to the script to stop automake complaining about missing
AM_CONDITIONAL call.
Replace ESD check by a call to GST_CHECK_FEATURE.
2001-06-26 01:53:20 +00:00

10 lines
291 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,/"