%build
# Build all apps
{
for app in * ; do
pushd $app
sed -i '/XAW_/ s/)/, xaw7)/; /XAW_/ s/XAW_CHECK_XPRINT_SUPPORT/PKG_CHECK_MODULES/' configure.ac
autoreconf -v --install
%configure --disable-xprint
make
popd
done
}
can anyone tell me what operations will sed command do on configure.ac and autoreconf
The sed-command will look for lines matching
XAW_and – when found – replace)with, xaw7), andXAW_CHECK_XPRINT_SUPPORTwithPKG_CHECK_MODULES.[EDIT]
autoreconfwill look for any missing “auxiliary files” and install them. See the documentation for details.