1
dnl Process this file with autoconf to produce a configure script.
4
AM_INIT_AUTOMAKE(libmodplug, 0.7)
5
AM_CONFIG_HEADER(src/config.h)
7
dnl Checks for programs.
8
dnl I am disabling static libraries here because otherwise libtool insists on
9
dnl compiling everything twice -- once with and once without -fPIC. Pisses me
10
dnl off. Just do everything with -fPIC, damnit! Compiling everything twice
11
dnl probably wastes more cycles than not using -fPIC saves.
16
AC_C_BIGENDIAN #this will cause problems when cross-compiling...
20
CXXFLAGS="$CXXFLAGS -fno-exceptions -Wall -ffast-math -D_REENTRANT"
21
# CXXFLAGS="-fno-exceptions -g -Wall -ffast-math -D_REENTRANT `glib-config --cflags`"
25
CXXFLAGS="$CXXFLAGS -fpermissive"