mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2024-11-23 18:49:08 +08:00
Move bail_out function before libtoolize check
This commit is contained in:
parent
eb612f0786
commit
670672d50b
16
autogen.sh
16
autogen.sh
@ -46,6 +46,14 @@ if [ "$1" = "clean" ]; then
|
|||||||
find . -iname "Makefile.in" -type f -exec rm '{}' +
|
find . -iname "Makefile.in" -type f -exec rm '{}' +
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
bail_out()
|
||||||
|
{
|
||||||
|
echo
|
||||||
|
echo " Something went wrong, bailing out!"
|
||||||
|
echo
|
||||||
|
exit 1
|
||||||
|
}
|
||||||
|
|
||||||
# Prevent any errors that might result from failing to properly invoke
|
# Prevent any errors that might result from failing to properly invoke
|
||||||
# `libtoolize` or `glibtoolize,` whichever is present on your system,
|
# `libtoolize` or `glibtoolize,` whichever is present on your system,
|
||||||
# from occurring by testing for its existence and capturing the absolute path to
|
# from occurring by testing for its existence and capturing the absolute path to
|
||||||
@ -59,14 +67,6 @@ else
|
|||||||
bail_out
|
bail_out
|
||||||
fi
|
fi
|
||||||
|
|
||||||
bail_out()
|
|
||||||
{
|
|
||||||
echo
|
|
||||||
echo " Something went wrong, bailing out!"
|
|
||||||
echo
|
|
||||||
exit 1
|
|
||||||
}
|
|
||||||
|
|
||||||
# --- Step 1: Generate aclocal.m4 from:
|
# --- Step 1: Generate aclocal.m4 from:
|
||||||
# . acinclude.m4
|
# . acinclude.m4
|
||||||
# . config/*.m4 (these files are referenced in acinclude.m4)
|
# . config/*.m4 (these files are referenced in acinclude.m4)
|
||||||
|
Loading…
Reference in New Issue
Block a user