./autogen.sh --host=i686-w64-mingw32 CFLAGS="-march=pentium -DWINVER=0x0400 -D_WIN32_WINDOWS=0x0400"

./autogen.sh --host=i686-w64-mingw32 --enable-interface=ncurses,vt100,winsyn CFLAGS="-march=pentium -DWINVER=0x0400 -D_WIN32_WINDOWS=WINVER -Wall"

./autogen.sh --host=i686-w64-mingw32 --enable-interface=ncurses,vt100,winsyn,server,dynamic --enable-spectrogram --enable-network --enable-spline=linear --enable-datatype=double --enable-ext-instruct=sse2 --enable-wrd --enable-audio=w32,vorbis,gogo,ogg,flac,portaudio,npipe,ao,opus,speex,lame

export DEBUGFLAGS="-g"
export EXTRAFLAGS="-D_FORTIFY_SOURCE=2 -Wformat -Wformat-security"
export audio="default,oss,nas,esd,jack,vorbis,flac,speex,opus,portaudio,ao,alsa"
export interface="ncurses,slang,motif,tcltk,emacs,vt100,xaw,xskin,gtk,portmidisyng,alsaseq"
export MAKE_CFLAGS="${EXTRAFLAGS} -fno-strict-aliasing -Wall -pipe ${DEBUGFLAGS}"
export CFLAGS="-fno-strict-aliasing -Wall -pipe ${DEBUGFLAGS}"
sh ./autogen.sh ${CONFFLAGS} \
 --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info \
 --sysconfdir=/etc --with-default-path=/etc/timidity \
 --with-lispdir=/usr/share/emacs/site-lisp/timidity-el \
 --with-x \
 --with-tcl-includes=/usr/include/tcl8.6 \
 --with-tk-includes=/usr/include/tcl8.6 \
 --with-nas-library=-laudio \
 --enable-audio=${audio} \
 --with-default-output=default \
 --enable-interface=${interface} \
 --enable-server --enable-network --enable-spectrogram --enable-wrd \
 --enable-xft --enable-xdnd --enable-offix --enable-thread --enable-largefile \
 --enable-spline=gauss --enable-filter=no --enable-datatype=double \
 --enable-ext-instruct=sse3

static MidiEvent *groom_list(int32 divisions, int32 *eventsp, int32 *samplesp);

#ifdef SUPPORT_LOOPEVENT
    MidiEventList *loop_startmeep;
    int32 loop_repeat_counter, loop_event_count;
    int32 loop_begintime, loop_eottime;
#endif /* SUPPORT_LOOPEVENT */

#ifdef SUPPORT_LOOPEVENT
    loop_startmeep = NULL;
    loop_repeat_counter = opt_use_midi_loop_repeat ? opt_midi_loop_repeat : 0;
    loop_event_count = 0;
    loop_begintime = 0;
    loop_eottime = 0;
#endif /* SUPPORT_LOOPEVENT */

static MidiEvent *groom_list(int32 divisions, int32 *eventsp, int32 *samplesp);
