libxmp / xmp-cli

Command-line mod player using libxmp
GNU General Public License v2.0
75 stars 22 forks source link

Add basic autogen.sh #1

Closed mistydemeo closed 11 years ago

mistydemeo commented 11 years ago

Since the buildsystem is now automake based, and a simple autoreconf doesn't work, this adds a basic autogen.sh to automate building the configure script.

cmatsuoka commented 11 years ago

Pulled, thanks. I removed the libtoolize entries because they shouldn't be necessary, yell if it breaks something in your environment.

mistydemeo commented 11 years ago

Without running libtoolize, automake fill fail since the build-aux contents it requires are missing:

configure.ac:2: required directory ./build-aux does not exist
configure.ac:13: required file `build-aux/config.sub' not found
configure.ac:13:   `automake --add-missing' can install `config.sub'
configure.ac:29: required file `build-aux/missing' not found
configure.ac:29:   `automake --add-missing' can install `missing'
configure.ac:28: required file `build-aux/install-sh' not found
configure.ac:28:   `automake --add-missing' can install `install-sh'
configure.ac:13: required file `build-aux/config.guess' not found
configure.ac:13:   `automake --add-missing' can install `config.guess'
src/Makefile.am: required file `build-aux/depcomp' not found
src/Makefile.am:   `automake --add-missing' can install `depcomp'
mistydemeo commented 11 years ago

Oh, never mind, I see you mkdir build-aux first and --add-missing can cope with that. Sorry!