]> git.sur5r.net Git - openldap/commitdiff
Fixed small error in last commit for sys_errlist in openldap.m4
authorBen Collins <bcollins@openldap.org>
Sat, 13 Mar 1999 18:41:07 +0000 (18:41 +0000)
committerBen Collins <bcollins@openldap.org>
Sat, 13 Mar 1999 18:41:07 +0000 (18:41 +0000)
build/openldap.m4
configure

index 23ad78bc639fd6fb12d8d82ef2b6a7984ed095e7..aae9903727beb44a214c627d5f17c78a326b1172 100644 (file)
@@ -394,10 +394,10 @@ if test $ol_cv_dcl_sys_errlist = no ; then
                        [ol_cv_have_sys_errlist=yes],
                        [ol_cv_have_sys_errlist=no])])
        AC_MSG_RESULT($ol_cv_have_sys_errlist)
-fi
-if test $ol_cv_have_sys_errlist = yes ; then
-       AC_DEFINE(HAVE_SYS_ERRLIST,1,
-               [define if you actually have sys_errlist in your libs])
+       if test $ol_cv_have_sys_errlist = yes ; then
+               AC_DEFINE(HAVE_SYS_ERRLIST,1,
+                       [define if you actually have sys_errlist in your libs])
+       fi
 fi
 ])dnl
 
index 26175cba15a90edc11098029f0c0683f9f5c4af4..031740216b191bb6ad5120e1627060623f1c0ac3 100755 (executable)
--- a/configure
+++ b/configure
@@ -10010,12 +10010,12 @@ rm -f conftest*
 fi
 
        echo "$ac_t""$ol_cv_have_sys_errlist" 1>&6
-fi
-if test $ol_cv_have_sys_errlist = yes ; then
-       cat >> confdefs.h <<\EOF
+       if test $ol_cv_have_sys_errlist = yes ; then
+               cat >> confdefs.h <<\EOF
 #define HAVE_SYS_ERRLIST 1
 EOF
 
+       fi
 fi