Bug 39763 - autogen.sh should check pkg-config availability
(and revert change have_icu change I mistakenly pushed out)
This commit is contained in:
parent
f60271c0c2
commit
b301478a69
10
autogen.sh
10
autogen.sh
|
@ -13,14 +13,20 @@ which ragel || {
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
echo -n "checking for pkg-config... "
|
||||||
|
which pkg-config || {
|
||||||
|
echo "*** No pkg-config found, please install it ***"
|
||||||
|
exit 1
|
||||||
|
}
|
||||||
|
|
||||||
echo -n "checking for autoreconf... "
|
echo -n "checking for autoreconf... "
|
||||||
which autoreconf || {
|
which autoreconf || {
|
||||||
echo "*** No autoreconf found, please install it ***"
|
echo "*** No autoreconf found, please install it ***"
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
echo "running autoreconf"
|
echo "running autoreconf --force --install --verbose"
|
||||||
autoreconf --force --install || exit $?
|
autoreconf --force --install --verbose || exit $?
|
||||||
|
|
||||||
cd $olddir
|
cd $olddir
|
||||||
echo "running configure $@"
|
echo "running configure $@"
|
||||||
|
|
|
@ -104,7 +104,6 @@ dnl ==========================================================================
|
||||||
|
|
||||||
PKG_CHECK_MODULES(ICU, icu, have_icu=true, [
|
PKG_CHECK_MODULES(ICU, icu, have_icu=true, [
|
||||||
AC_CHECK_PROG([have_icu], [icu-config], [true], [false])
|
AC_CHECK_PROG([have_icu], [icu-config], [true], [false])
|
||||||
have_icu=false
|
|
||||||
if $have_icu; then
|
if $have_icu; then
|
||||||
icu_cflags=`icu-config --cppflags`
|
icu_cflags=`icu-config --cppflags`
|
||||||
icu_libs=`icu-config --ldflags-libsonly`
|
icu_libs=`icu-config --ldflags-libsonly`
|
||||||
|
|
Loading…
Reference in New Issue