New Makefile variables $(RANLIB) and $(PERL).
[openssl.git] / crypto / conf / conf_err.c
index b88c5b7..c6929b9 100644 (file)
@@ -60,6 +60,7 @@
 #include "conf.h"
 
 /* BEGIN ERROR CODES */
 #include "conf.h"
 
 /* BEGIN ERROR CODES */
+#ifndef NO_ERR
 static ERR_STRING_DATA CONF_str_functs[]=
        {
 {ERR_PACK(0,CONF_F_CONF_LOAD,0),       "CONF_load"},
 static ERR_STRING_DATA CONF_str_functs[]=
        {
 {ERR_PACK(0,CONF_F_CONF_LOAD,0),       "CONF_load"},
@@ -77,6 +78,8 @@ static ERR_STRING_DATA CONF_str_reasons[]=
 {0,NULL},
        };
 
 {0,NULL},
        };
 
+#endif
+
 void ERR_load_CONF_strings()
        {
        static int init=1;
 void ERR_load_CONF_strings()
        {
        static int init=1;
@@ -84,7 +87,10 @@ void ERR_load_CONF_strings()
        if (init)
                {
                init=0;
        if (init)
                {
                init=0;
+#ifndef NO_ERR
                ERR_load_strings(ERR_LIB_CONF,CONF_str_functs);
                ERR_load_strings(ERR_LIB_CONF,CONF_str_reasons);
                ERR_load_strings(ERR_LIB_CONF,CONF_str_functs);
                ERR_load_strings(ERR_LIB_CONF,CONF_str_reasons);
+#endif
+
                }
        }
                }
        }