19 lines
800 B
Diff
19 lines
800 B
Diff
diff --git libAfterBase/configure.in libAfterBase/configure.in
|
|
index 4bc2232..f250692 100644
|
|
--- libAfterBase/configure.in
|
|
+++ libAfterBase/configure.in
|
|
@@ -228,12 +228,7 @@ if test "x$enable_xlocale" = "xyes"; then
|
|
fi
|
|
|
|
dnl# Check for safe min/max - there still are some retarded compilers out there :
|
|
-AC_MSG_CHECKING(if we can use sign safe min/max macros)
|
|
-AC_TRY_RUN([#define MIN(x,y) \
|
|
- ({ const typeof(x) _x = (x); const typeof(y) _y = (y); (void) (&_x == &_y); \
|
|
- _x < _y ? _x : _y; })
|
|
- int main(){return MIN(0,1);}],
|
|
- [AC_DEFINE(USE_SAFE_MINMAX,1,will use type-safe min/max macros) AC_MSG_RESULT(yes)],AC_MSG_RESULT(no))
|
|
+AC_DEFINE(USE_SAFE_MINMAX,1,will use type-safe min/max macros)
|
|
|
|
dnl# Translate enable_* from "yes/no" to "1/0" (for configure.h)
|
|
|