Skip to content

Commit

Permalink
simplify autogen.sh script
Browse files Browse the repository at this point in the history
Problem: after autogen.sh, configure, then make triggers another configure.

Simplify autogen.sh by having it just call autoreconf, like other projects.
  • Loading branch information
garlick committed Dec 31, 2024
1 parent 43db888 commit 7a5671b
Showing 1 changed file with 3 additions and 16 deletions.
19 changes: 3 additions & 16 deletions autogen.sh
Original file line number Diff line number Diff line change
@@ -1,17 +1,4 @@
#!/bin/sh

echo "Running aclocal ... "
aclocal -I config
#echo "Running libtoolize ... "
#libtoolize --automake --copy
echo "Running autoheader ... "
autoheader
echo "Running automake ... "
automake --copy --add-missing
echo "Running autoconf ... "
autoconf
echo "Cleaning up ..."
mv aclocal.m4 config/
rm -rf autom4te.cache
echo "Now run ./configure to configure diod for your environment."

echo "Running autoreconf --force --verbose --install"
autoreconf --force --verbose --install || exit
echo "Now run ./configure."

0 comments on commit 7a5671b

Please sign in to comment.