Files
UltraGrid/gpujpeg/autogen.sh
Martin Pulec ac28e9eb17 Windows: enable CUDA stuff
+ make VS project for for GPUJPEG
2013-08-29 11:19:08 +02:00

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