finalcut/autogen.sh

41 lines
790 B
Bash
Raw Permalink Normal View History

2015-05-23 13:35:12 +02:00
#!/bin/sh
2018-02-25 21:42:18 +01:00
if test "$1" = "update"
then
# Update generated configuration files
if command -v autoreconf >/dev/null
2018-09-30 20:08:12 +02:00
then
autoreconf --force --install --verbose --warnings=all
else
echo "Update failed, please install autoconf first"
exit 1
fi
2018-02-25 21:42:18 +01:00
else
# Set up an m4 environment
aclocal
# Generate configure from configure.ac
autoconf
# reate a template header (config.h.in) for configure
autoheader
# generates a custom version of the generic libtool script
libtoolize --copy
# Generate Makefile.in from Makefile.am
automake --add-missing --copy
fi
2015-07-09 02:15:12 +02:00
2015-05-23 13:35:12 +02:00
echo
2017-09-20 16:56:20 +02:00
echo 'run "./configure --prefix=/usr && make"'
2015-05-23 13:35:12 +02:00
echo
# Generate Makefile from Makefile.in
#./configure
# Use Makefile to build and test a tarball to distribute
#make distcheck
#make distclean