mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-22 05:40:27 +00:00
29 lines
441 B
Bash
Executable File
29 lines
441 B
Bash
Executable File
#!/bin/sh
|
|
srcdir=`dirname $0`
|
|
test -z "$srcdir" && srcdir=.
|
|
|
|
ORIGDIR=`pwd`
|
|
|
|
if [ `uname -s` = "Darwin" ]; then
|
|
LIBTOOLIZE=glibtoolize
|
|
else
|
|
LIBTOOLIZE=libtoolize
|
|
fi
|
|
|
|
autoheader && \
|
|
$LIBTOOLIZE --copy && \
|
|
( [ -d m4 ] || mkdir m4 ) && \
|
|
aclocal -I m4 && \
|
|
automake --copy --add-missing && \
|
|
autoconf && \
|
|
./configure "$@"
|
|
|
|
STATUS=$?
|
|
|
|
cd $ORIGDIR
|
|
|
|
([ $STATUS -eq 0 ] && echo "Autogen done." ) || echo "Autogen failed."
|
|
|
|
exit $STATUS
|
|
|