1
1
Fork 0
mirror of https://github.com/pbatard/rufus.git synced 2024-07-31 16:06:05 +00:00
rufus/autogen.sh
Pete Batard b6c6e37927 [mingw] switched to autotools for Makefile generation
* allows better integration with Clang
* use ./autogen.sh to generate compilation scripts
* old Makefile renamed to mf so that make -f mf can still be invoked
* also fixed one Clang warning
2011-12-01 19:43:45 +00:00

12 lines
304 B
Bash

#!/bin/sh
# use glibtoolize if it is available
(glibtoolize --version) < /dev/null > /dev/null 2>&1 && LIBTOOLIZE=glibtoolize || LIBTOOLIZE=libtoolize
$LIBTOOLIZE --copy --force || exit 1
aclocal || exit 1
autoheader || exit 1
autoconf || exit 1
automake -a -c || exit 1
./configure --disable-debug $*