From 2c4a3c84428b556c412e925cd85549dc7910905e Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Thu, 10 Jun 1999 00:54:47 +0000 Subject: [PATCH] really commit the sizeof(int) < 4 warning --- configure | 2 +- configure.in | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 7acabcad65..c71ebb5606 100755 --- a/configure +++ b/configure @@ -10944,7 +10944,7 @@ EOF if test "$ac_cv_sizeof_int" -lt 4 ; then - { echo "configure: error: OpenLDAP requires 'int' to be 32 bits or greater." 1>&2; exit 1; } + echo "configure: warning: OpenLDAP requires 'int' to be 32 bits or greater." 1>&2 fi fi diff --git a/configure.in b/configure.in index 429b38bde3..560a5b48a6 100644 --- a/configure.in +++ b/configure.in @@ -1616,6 +1616,10 @@ else AC_CHECK_SIZEOF(short) AC_CHECK_SIZEOF(int) AC_CHECK_SIZEOF(long) + + if test "$ac_cv_sizeof_int" -lt 4 ; then + AC_MSG_WARN([OpenLDAP requires 'int' to be 32 bits or greater.]) + fi fi dnl ----------------------------------------------------------------