* configure.in: Fix to build library objects in this directory
authorTom Yu <tlyu@mit.edu>
Mon, 24 Jan 2000 20:38:38 +0000 (20:38 +0000)
committerTom Yu <tlyu@mit.edu>
Mon, 24 Jan 2000 20:38:38 +0000 (20:38 +0000)
* Makefile.in (STOBJLISTS): Fix to actually build krb5_libinit.o.

* krb5_libinit.c: Fix to use 0 and 1 instead of false and true.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11964 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/ChangeLog
src/lib/krb5/Makefile.in
src/lib/krb5/configure.in
src/lib/krb5/krb5_libinit.c

index 5cb84642ba9f5a3ce048c6bf384ac3b71a40ea25..50fa5131c664ca197cfe06c64f67d759916200aa 100644 (file)
@@ -1,3 +1,11 @@
+2000-01-24  Tom Yu  <tlyu@mit.edu>
+
+       * configure.in: Fix to build library objects in this directory.
+
+       * Makefile.in (STOBJLISTS): Fix to actually build krb5_libinit.o.
+
+       * krb5_libinit.c: Fix to use 0 and 1 instead of false and true.
+
 Fri Jan 21 22:47:00 2000  Miro Jurisic  <meeroh@mit.edu>
 
        * Makefile.in: added krb5_libinit.[co]
index b03b623dfd14a101658d83e5e24dd971987bd1d4..323dde5fc1b2896a7eb1bd89538fb68a0117c581 100644 (file)
@@ -29,11 +29,14 @@ LIBDONE= error_tables/DONE asn.1/DONE ccache/DONE ccache/stdio/DONE \
 #      $(LD_UNRESOLVED_PREFIX)_et_list $(LD_UNRESOLVED_PREFIX)error_message
 #SHLIB_LIBDIRS= @SHLIB_LIBDIRS@
 
+STLIBOBJS=krb5_libinit.o
+
 LIB=krb5
 LIBMAJOR=2
 LIBMINOR=2
 
 STOBJLISTS= \
+       OBJS.ST \
        error_tables/OBJS.ST \
        asn.1/OBJS.ST \
        ccache/OBJS.ST ccache/stdio/OBJS.ST ccache/file/OBJS.ST \
index 15bf36c88953ef99425bd6c208bdfcd008a9de24..b5086da5fed47cc589dd91a2f01efe24b1f5cb6e 100644 (file)
@@ -18,7 +18,7 @@ KRB5_BUILD_LIBOBJS
 KRB5_BUILD_PROGRAM
 KRB5_RUN_FLAGS
 dnl
-K5_GEN_MAKEFILE(., lib)
+K5_GEN_MAKEFILE(., lib libobj)
 K5_GEN_MAKEFILE(error_tables, libobj)
 K5_GEN_MAKEFILE(asn.1, libobj)
 K5_GEN_MAKEFILE(ccache, libobj)
index 584aa57f58b52d7dda5aaea872c683adf3ba7812..aae213699a3cc848203324ab6fec4973851ec030 100644 (file)
@@ -6,7 +6,7 @@
 #include "asn1_err.h"
 #include "kdb5_err.h"
 
-static int             initialized = false;
+static int             initialized = 0;
 
 /*
  * Initialize the Kerberos v5 library.
@@ -21,7 +21,7 @@ krb5_error_code krb5int_initialize_library (void)
            add_error_table(&et_kdb5_error_table);
            add_error_table(&et_asn1_error_table);
 
-               initialized = true;
+               initialized = 1;
        }
        
        return 0;
@@ -42,5 +42,5 @@ void krb5int_cleanup_library (void)
     remove_error_table(&et_kdb5_error_table);
     remove_error_table(&et_asn1_error_table);
        
-       initialized = false;
-}
\ No newline at end of file
+       initialized = 0;
+}