Skip to content

Commit 670672d

Browse files
STMikistweil
authored andcommitted
Move bail_out function before libtoolize check
1 parent eb612f0 commit 670672d

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

autogen.sh

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,14 @@ if [ "$1" = "clean" ]; then
4646
find . -iname "Makefile.in" -type f -exec rm '{}' +
4747
fi
4848

49+
bail_out()
50+
{
51+
echo
52+
echo " Something went wrong, bailing out!"
53+
echo
54+
exit 1
55+
}
56+
4957
# Prevent any errors that might result from failing to properly invoke
5058
# `libtoolize` or `glibtoolize,` whichever is present on your system,
5159
# from occurring by testing for its existence and capturing the absolute path to
@@ -59,14 +67,6 @@ else
5967
bail_out
6068
fi
6169

62-
bail_out()
63-
{
64-
echo
65-
echo " Something went wrong, bailing out!"
66-
echo
67-
exit 1
68-
}
69-
7070
# --- Step 1: Generate aclocal.m4 from:
7171
# . acinclude.m4
7272
# . config/*.m4 (these files are referenced in acinclude.m4)

0 commit comments

Comments
 (0)