Skip to content

Commit

Permalink
autobuild: Fix autogen.sh (reduce build time)
Browse files Browse the repository at this point in the history
After running autogen.sh and configure, the following make had to
run autoreconf because of dependencies which needed an update.

This is fixed by running aclocal twice.

Signed-off-by: Stefan Weil <[email protected]>
  • Loading branch information
stweil committed Nov 28, 2021
1 parent 839f528 commit eb089c1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions autogen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,10 @@ echo "Running $LIBTOOLIZE"
$LIBTOOLIZE -f -c || bail_out
$LIBTOOLIZE --automake || bail_out

# Run aclocal a 2nd time because glibtoolize created additional m4 files.
echo "Running aclocal"
aclocal -I config || bail_out

# --- Step 3: Generate configure and include/miaconfig.h from:
# . configure.ac
#
Expand Down

1 comment on commit eb089c1

@amitdo
Copy link
Collaborator

@amitdo amitdo commented on eb089c1 Nov 29, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. That was really annoying.

Please sign in to comment.