From: Tom Yu Date: Mon, 24 Jan 2000 20:38:38 +0000 (+0000) Subject: * configure.in: Fix to build library objects in this directory X-Git-Tag: krb5-1.2-beta1~153 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5a3f1407ddbbd0ae6acafe4515f96140afe38d8c;p=krb5.git * 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. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11964 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/ChangeLog b/src/lib/krb5/ChangeLog index 5cb84642b..50fa5131c 100644 --- a/src/lib/krb5/ChangeLog +++ b/src/lib/krb5/ChangeLog @@ -1,3 +1,11 @@ +2000-01-24 Tom Yu + + * 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 * Makefile.in: added krb5_libinit.[co] diff --git a/src/lib/krb5/Makefile.in b/src/lib/krb5/Makefile.in index b03b623df..323dde5fc 100644 --- a/src/lib/krb5/Makefile.in +++ b/src/lib/krb5/Makefile.in @@ -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 \ diff --git a/src/lib/krb5/configure.in b/src/lib/krb5/configure.in index 15bf36c88..b5086da5f 100644 --- a/src/lib/krb5/configure.in +++ b/src/lib/krb5/configure.in @@ -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) diff --git a/src/lib/krb5/krb5_libinit.c b/src/lib/krb5/krb5_libinit.c index 584aa57f5..aae213699 100644 --- a/src/lib/krb5/krb5_libinit.c +++ b/src/lib/krb5/krb5_libinit.c @@ -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; +}