pcsxr/autogen.sh

18 lines
363 B
Bash
Executable File

#!/bin/sh
# Run this to generate all the initial makefiles, etc.
# Additional options go to configure.
echo "Rebuilding ./configure with autoreconf..."
for dir in include m4; do
if [ ! -d "$dir" ]; then
mkdir "$dir"
fi
done
autoreconf -f -i
if [ $? -ne 0 ]; then
echo "autoreconf failed"
exit $?
fi
./configure --enable-maintainer-mode "$@"