|
@@ -87,6 +87,9 @@ CFLAGS="${CFLAGS} -g -O2 -fno-strength-reduce -fomit-frame-pointer" |
|
|
# Code qui fait des warnings == code de porc == deux baffes dans ta gueule |
|
|
# Code qui fait des warnings == code de porc == deux baffes dans ta gueule |
|
|
CFLAGS="${CFLAGS} -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare" |
|
|
CFLAGS="${CFLAGS} -Wall -Wpointer-arith -Wcast-align -Wcast-qual -Wstrict-prototypes -Wshadow -Waggregate-return -Wmissing-prototypes -Wnested-externs -Wsign-compare" |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
AC_CHECK_LIB(m, sin, MATH_LIBS="${MATH_LIBS} -lm") |
|
|
|
|
|
|
|
|
# Use DevIL? |
|
|
# Use DevIL? |
|
|
#AC_CHECK_HEADERS(IL/il.h, |
|
|
#AC_CHECK_HEADERS(IL/il.h, |
|
|
# [ac_cv_my_have_il="yes"], |
|
|
# [ac_cv_my_have_il="yes"], |
|
@@ -169,6 +172,8 @@ if test "${ac_cv_my_have_il}" = "no" -a "${ac_cv_my_have_ole}" = "no" -a "${ac_c |
|
|
AC_MSG_ERROR([[cannot find DevIL, OLE, SDL_Image, Imlib2, Cocoa, or OpenCV, please install one of them]]) |
|
|
AC_MSG_ERROR([[cannot find DevIL, OLE, SDL_Image, Imlib2, Cocoa, or OpenCV, please install one of them]]) |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
AC_SUBST(MATH_LIBS) |
|
|
|
|
|
|
|
|
# Build pipi-sharp? |
|
|
# Build pipi-sharp? |
|
|
AC_PATH_PROG(GMCS, gmcs, no) |
|
|
AC_PATH_PROG(GMCS, gmcs, no) |
|
|
AM_CONDITIONAL(USE_CSHARP, test "${GMCS}" != "no") |
|
|
AM_CONDITIONAL(USE_CSHARP, test "${GMCS}" != "no") |
|
|