]> git.sur5r.net Git - openldap/commitdiff
really commit the sizeof(int) < 4 warning
authorKurt Zeilenga <kurt@openldap.org>
Thu, 10 Jun 1999 00:54:47 +0000 (00:54 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Thu, 10 Jun 1999 00:54:47 +0000 (00:54 +0000)
configure
configure.in

index 7acabcad655424a0fccbdda1cc954843613377bd..c71ebb56065bd1ac2755cd2947d0329256ca2036 100755 (executable)
--- 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
 
index 429b38bde325870df71f0c2913d8bb9cca6e69c1..560a5b48a6bb7500de82ab48f81908653f20ee93 100644 (file)
@@ -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 ----------------------------------------------------------------