1
0
mirror of https://github.com/DanBloomberg/leptonica.git synced 2025-09-20 23:22:03 +03:00
Files
leptonica/autogen.sh
2024-01-05 21:34:16 +01:00

16 lines
338 B
Bash
Executable File

#!/bin/sh
#
# autogen.sh
libtoolize -c -f 2>/dev/null || glibtoolize -c -f
aclocal
autoheader -f
autoconf
if grep -q PKG_CHECK_MODULES configure; then
# The generated configure is invalid because pkg-config is unavailable.
rm configure
echo "Error, missing pkg-config. Check the build requirements."
exit 1
fi
automake -a -c -f