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 ----------------------------------------------------------------