summaryrefslogtreecommitdiffstats
path: root/src/aclocal.m4
Commit message (Collapse)AuthorAgeFilesLines
...
* Merge Kevin Coffman's keyring ccache branch for Linux, with some modifications:Ken Raeburn2006-10-021-0/+12
| | | | | | | | | | | | | | | | | | | | | aclocal.m4: Enable keyring ccache if the header and library are available; no configure-time option. No error if it's not found. ccdefname.c: Keep old default of FILE: cache, at least for now. libkrb5.exports: Don't export krb5_krcc_ops. ccbase.c: Only initialize krb5int_krcc_mutex if USE_KEYRING_CCACHE; destroy it in finalization. Define INITIAL_TYPEHEAD macro (for file vs keyring), and use it for initialization and in krb5int_cc_finalize. Re-enable freeing of additional registered-type structures. cc_keyring.c: Avoid calls to com_err from within library. cc_file.c: Punt change; generate_new is badly broken, and we expect to replace it with a new API anyways. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18638 dc483132-0cff-0310-8789-dd5450dbe970
* * aclocal.m4 (KRB5_LIB_AUX): Disallow --enable-profiled and --disable-sharedKen Raeburn2006-07-211-6/+15
| | | | | | | | options as well. Don't generate help messages for these options. ticket: 4036 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18352 dc483132-0cff-0310-8789-dd5450dbe970
* reject configure option for static librariesKen Raeburn2006-07-211-0/+4
| | | | | | | | | | | | | We shouldn't accept --enable-static at configure time when we know it's not going to work at build time. * aclocal.m4 (KRB5_LIB_AUX): Error out if --enable-static. ticket: new target_version: 1.5.1 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18348 dc483132-0cff-0310-8789-dd5450dbe970
* need to look harder for tclConfig.shKen Raeburn2006-07-191-0/+8
| | | | | | | | | | | | Our current scheme doesn't find tclConfig.sh as installed by NetBSD's pkg system, even if it finds tclsh and gets the library pathname from it. The problem is that tclConfig.sh is one directory up. * aclocal.m4 (AC_KRB5_TCL_FIND_CONFIG): Check $tcl_dir/.. for tclConfig.sh. ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18342 dc483132-0cff-0310-8789-dd5450dbe970
* Merge remaining changes from LDAP integration branchKen Raeburn2006-07-181-0/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://svn.mit.edu/krb5/branches/ldap-integ@18333. * plugins/kdb/ldap: New directory. * aclocal.m4 (WITH_LDAP): New macro. (CONFIG_RULES): Invoke it. * configure.in: Test ldap option, maybe configure and generate makefiles for new directories, and set and substitute ldap_plugin_dir. * Makefile.in (SUBDIRS): Add @ldap_plugin_dir@. * kdc/krb5kdc.M, kadmin/server/kadmind.M, kadmin/cli/kadmin.M, config-files/krb5.conf.M: Document LDAP changes (new options, config file entries, etc). * lib/kdb/kdb5.c (kdb_load_library): Put more info in error message. * lib/kadm5/admin.h (KADM5_CPW_FUNCTION, KADM5_RANDKEY_USED, KADM5_CONFIG_PASSWD_SERVER): New macros, disabled for now. (struct _kadm5_config_params): New field kpasswd_server, commented out for now. * lib/krb5/error_tables/kdb5_err.et: Add error codes KRB5_KDB_ACCESS_ERROR, KRB5_KDB_INTERNAL_ERROR, KRB5_KDB_CONSTRAINT_VIOLATION. ticket: 2935 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18334 dc483132-0cff-0310-8789-dd5450dbe970
* (KRB5_AC_FIND_DLOPEN): Use AC_SEARCH_LIBSKen Raeburn2006-07-171-2/+7
| | | | | | | | ticket: 3971 target_version: 1.5.1 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18331 dc483132-0cff-0310-8789-dd5450dbe970
* Don't output krb5_config_prefix commands into config.status; do the ↵Ken Raeburn2006-05-241-11/+4
| | | | | | | | substitutions in the configure script. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18035 dc483132-0cff-0310-8789-dd5450dbe970
* Don't look for pthread_mutexattr_setrobust_npKen Raeburn2006-05-161-3/+1
| | | | | | | | | | Apparently Red Hat's Fedora Core 5 defines it but doesn't declare it, so we'd have to declare it before testing the address. While it was once useful for checking whether the pthread code had been loaded, I think the other tests done now are more effective and this isn't needed any more. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18012 dc483132-0cff-0310-8789-dd5450dbe970
* * aclocal.m4 (KRB5_AC_CHOOSE_ET): Make sure that the error-table symbol isKen Raeburn2006-04-141-1/+1
| | | | | | declared and addressable; the type doesn't need to be complete. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17928 dc483132-0cff-0310-8789-dd5450dbe970
* * aclocal.m4 (KRB5_AC_CHECK_TYPE_WITH_HEADERS): Use quotes around tr argumentsKen Raeburn2006-04-081-1/+1
| | | | | | to prevent shell substitutions. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17881 dc483132-0cff-0310-8789-dd5450dbe970
* Move definitions of KRB5_PRIVATE and KRB5_DEPRECATED from autoconf.hKen Raeburn2006-04-081-2/+2
| | | | | | to $(ALL_CFLAGS). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17871 dc483132-0cff-0310-8789-dd5450dbe970
* * aclocal.m4 (KRB5_SOCKADDR_SA_LEN): Use AC_CHECK_MEMBER.Ken Raeburn2006-04-011-48/+13
| | | | | | (CHECK_UTMP): Use AC_CHECK_MEMBERS. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17822 dc483132-0cff-0310-8789-dd5450dbe970
* * aclocal.m4 (CHECK_UTMP): Call AC_CHECK_FUNCS once instead of AC_CHECK_FUNCKen Raeburn2006-03-281-13/+10
| | | | | | | | for each function. (CHECK_SIGPROCMASK, CHECK_SETJMP, CHECK_UTMP, AC_KRB5_TCL_TRYOLD, KRB5_AC_LIBUTIL): Supply all three arguments in AC_DEFINE calls. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17790 dc483132-0cff-0310-8789-dd5450dbe970
* Merge from plugin branchKen Raeburn2006-03-071-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | Add plugin support: - plugin routines in support library (may break windows build!) - plugin support in KDC location code - sample Python-based plugin for KDC location, not built without tweaking sources - changed service location interface to use an enum instead of passing profile string and DNS strings and port numbers - changed pathnames for plugin locations, including kdb back end - remove locate_service from accessor API Also, do build shared libraries for Darwin just like any other UNIX box. Not present yet: - use new plugin interface for kdb back end - Windows support - Mac bundle support (but dlopen support works) - search path for libkrb5 plugins (only one hard-coded directory for now) - sorting of plugin collections for predictable ordering See the various ChangeLogs for specifics. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17706 dc483132-0cff-0310-8789-dd5450dbe970
* * aclocal.m4 (AC_KRB5_TCL_TRYOLD): Include $LIBS in $TCL_LIBSKen Raeburn2006-01-181-4/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17591 dc483132-0cff-0310-8789-dd5450dbe970
* * aclocal.m4 (K5_AC_INIT): Initialize build_dynobj to noKen Raeburn2005-10-281-1/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17467 dc483132-0cff-0310-8789-dd5450dbe970
* If configure scripts set build_dynobj=yes, force build of shared objects andKen Raeburn2005-10-271-0/+5
| | | | | | | not static objects; set it in the db2 directories. Fix up some bugs in Mac support just checked in for building plugin modules. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17461 dc483132-0cff-0310-8789-dd5450dbe970
* Allow dynamic-object dependencies and build flags to be specified as ↵Ken Raeburn2005-10-271-0/+2
| | | | | | | | | | | | | | | | | | | | distinct from shared-library dependencies and flags. Define them for the Mac, default to same as shared-library versions on other platforms. * config/shlib.conf: Set DYNOBJ_EXPDEPS and DYNOBJ_EXPFLAGS. (*-*-darwin*): Change MAKE_DYNOBJ_COMMAND definition to use DYNOBJ_EXPFLAGS and DYNOBJ_LOADER_PROG instead of SHLIB_EXPFLAGS and a hardcoded pathname to the KDC binary, respectively. * config/pre.in (DYNOBJ_EXPDEPS, DYNOBJ_EXPFLAGS): New variables. * config/libnover.in ($(LIBBASE)$(DYNOBJEXT)): Use DYNOBJ_EXPDEPS instead of SHLIB_EXPDEPS in dependencies. * aclocal.m4 (KRB5_BUILD_LIBRARY_WITH_DEPS): Substitute DYNOBJ_EXPDEPS and DYNOBJ_EXPFLAGS. * modules/kdb/db2/Makefile.in (DYNOBJ_LOADER_PROG, DYNOBJ_EXPFLAGS_WITH_LOADER, DYNOBJ_EXPDEPS_WITH_LOADER): New variables. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17456 dc483132-0cff-0310-8789-dd5450dbe970
* * aclocal.m4 (KRB5_AC_INET6): Drop enable/disable-ipv6 option; emit a ↵Ken Raeburn2005-10-271-12/+2
| | | | | | | | warning for it for now, and always do use-if-available. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17455 dc483132-0cff-0310-8789-dd5450dbe970
* Move libdb2 makefile stuff down into db2 module subtree.Ken Raeburn2005-10-051-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some steps towards making module build on Darwin, not there yet. * aclocal.m4 (KRB5_BUILD_LIBRARY_WITH_DEPS): Substitute DYNOBJEXT and MAKE_DYNOBJ_COMMAND. (KRB5_LIB_AUX): Don't define _KDB5_STATIC_LINK. * config/libnover.in (darwin.exports): New target. ($(LIBBASE)$(DYNOBJEXT)): New target, instead of $(LIBBASE)$(SHLIBVEXT). (all-libs): Build $(LIBBASE)$(DYNOBJEXT). (install-shared): Use DYNOBJEXT. * config/pre.in (DYNOBJEXT, MAKE_DYNOBJ_COMMAND): New variables. * config/shlib.conf: Set DYNOBJEXT, MAKE_DYNOBJ_COMMAND to the SHLIB versions. For Darwin, set them to create a .so bundle, and set SHLIB_EXPORT_FILE_DEP to darwin.exports. * config/pre.in (DB_DEPLIB, DB_DEPLIB-k5, DB_DEPLIB-sys, DB_VERSION, DB_DEPS, DB_DEPS-sys, DB_DEPS-k5, DB_DEPS-redirect, DB_LIB, KDB5_DB_LIB): Variables deleted. (KDB5_LIBS): Set to just $(KDB5_LIB). * modules/kdb/db2/Makefile.in (DB_VERSION, DB_DEPS, DB_DEPS-sys, DB_DEPS-k5, DB_DEPS-redirect, DB_LIB, KDB5_DB_LIB, DB_DEPLIB, DB_DEPLIB-k5, DB_DEPLIB-sys): Variable definitions moved here from config/pre.in. (SHLIB_EXPLIBS): Only use gssrpc and KDB5_DB_LIB. * modules/kdb/db2/libdb2/test/Makefile.in (DB_LIB, DB_DEPLIB): Define here now. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17408 dc483132-0cff-0310-8789-dd5450dbe970
* Rework logic for using res_ninit() and friends to fall back toTom Yu2005-09-081-10/+2
| | | | | | | | | res_init() if res_ndestroy() isn't available. ticket: 3172 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17377 dc483132-0cff-0310-8789-dd5450dbe970
* * aclocal.m4 (PL_KRB5_MAJOR_RELEASE, PL_KRB5_MINOR_RELEASE, PL_KRB5_PATCHLEVEL,Ken Raeburn2005-08-201-2/+19
| | | | | | | | | | | PL_KRB5_RELTAIL): New macros, holding values extracted from patchlevel.h at autoconf time. (K5_VERSION): Define in terms of the PL_* macros. (K5_TOPDIR): If m4exit doesn't work, try builtin(m4exit,1). * configure.in: Set KRB5_VERSION from K5_VERSION, don't parse patchlevel.h. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17343 dc483132-0cff-0310-8789-dd5450dbe970
* * aclocal.m4 (K5_AC_INIT, K5_VERSION, K5_BUGADDR): New macrosKen Raeburn2005-08-201-0/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17341 dc483132-0cff-0310-8789-dd5450dbe970
* * aclocal.m4 (AC_LIBRARY_NET): Special-case AIX 5.x due to brokenTom Yu2005-07-201-0/+9
| | | | | | | | | | res_ninit(), or more precisely, incorrect size of struct __res_state. ticket: 2902 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17309 dc483132-0cff-0310-8789-dd5450dbe970
* * aclocal.m4 (libnover_frag): Set and substituteKen Raeburn2005-06-291-0/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17274 dc483132-0cff-0310-8789-dd5450dbe970
* * aclocal.m4 (KRB5_AC_ENABLE_THREADS): Override guessed PTHREAD_CFLAGS withKen Raeburn2005-06-211-0/+7
| | | | | | correct value for solaris+gcc. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17266 dc483132-0cff-0310-8789-dd5450dbe970
* * aclocal.m4 (WITH_CC): Don't use -pedantic on Linux.Ken Raeburn2005-06-211-2/+10
| | | | | | | (KRB5_AC_FIND_DLOPEN): New macro. Set DL_LIB. (CONFIG_RULES, AC_KRB5_TCL_TRYOLD): Use it. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17262 dc483132-0cff-0310-8789-dd5450dbe970
* * aclocal.m4 (WITH_CC): Don't use -pedantic on LinuxKen Raeburn2005-06-211-0/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17260 dc483132-0cff-0310-8789-dd5450dbe970
* Novell Database Abstraction Layer merge.Ken Raeburn2005-06-211-0/+1
| | | | | | Will probably break things. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17258 dc483132-0cff-0310-8789-dd5450dbe970
* * aclocal.m4 (AC_KRB5_TCL_FIND_CONFIG): Provide comment template when definingKen Raeburn2005-05-131-13/+11
| | | | | | | | C macros. (KRB5_GETPEERNAME_ARGS): Likewise. (KRB5_GETSOCKNAME_ARGS): Likewise. Only define the macros in one place. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17216 dc483132-0cff-0310-8789-dd5450dbe970
* Compute reltopdir at autoconf time instead of at configure time. This has theKen Raeburn2005-04-201-24/+21
| | | | | | | | | | | | happy side effect of stopping autoreconf from creating directories named "$ac_config_fragdir" all over the source tree. * aclocal.m4 (fileexists, K5_TOPDIR): New macros. (V5_SET_TOPDIR): Don't test for AC_LOCALDIR any more. Use K5_TOPDIR computed at autoconf time, but still verify that the contents are what we expect. Don't use shell variables in the argument to AC_CONFIG_AUX_DIR. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17184 dc483132-0cff-0310-8789-dd5450dbe970
* I think the hpux change here should prevent it from overriding theKen Raeburn2005-03-051-2/+5
| | | | | | | | | | | | | user-specified options, but still add in the necessary flags. * aclocal.m4 (KRB5_AC_ENABLE_THREADS): Expand on error message if failing. Substitute THREAD_SUPPORT -> 0 or 1 in makefiles. For HP-UX, set PTHREAD_CFLAGS, not CFLAGS. ticket: 2929 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17119 dc483132-0cff-0310-8789-dd5450dbe970
* * aclocal.m4 (KRB5_AC_ENABLE_THREADS): If thread support is not enabled, zapKen Raeburn2005-02-041-0/+4
| | | | | | the PTHREAD_ variables. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17086 dc483132-0cff-0310-8789-dd5450dbe970
* Fix some potential resource leaks in dnsglue.cTom Yu2005-01-121-1/+1
| | | | | | | ticket: 2872 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17018 dc483132-0cff-0310-8789-dd5450dbe970
* * aclocal.m4 (KRB5_AC_PRIOCNTL_HACK): Check for Solaris patchTom Yu2004-11-191-3/+26
| | | | | | | | | | 117171-11 (sparc) or 117172-11 (x86), which fixes the Solaris 9 bug which can cause final pty output to be on close. ticket: 2776 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16891 dc483132-0cff-0310-8789-dd5450dbe970
* * aclocal.m4 (KRB5_AC_ENABLE_THREADS): On HP-UX, define some preprocessorKen Raeburn2004-10-061-0/+6
| | | | | | | symbols that -pthread defines, but don't use -pthread so we can avoid forcing linking against pthread libraries. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16806 dc483132-0cff-0310-8789-dd5450dbe970
* * aclocal.m4 (AC_KRB5_TCL_FIND_CONFIG): If the config info set by tclConfig.shKen Raeburn2004-09-231-0/+4
| | | | | | | doesn't produce a working executable, set TCL_LIBS to be empty explicitly. (KRB5_BUILD_LIBRARY_WITH_DEPS): Substitute SHLIB_EXPORT_FILE_DEP. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16778 dc483132-0cff-0310-8789-dd5450dbe970
* Better support for using libutil on systems that need it for variousTom Yu2004-09-221-0/+12
| | | | | | pty-related functions. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16777 dc483132-0cff-0310-8789-dd5450dbe970
* Only use -Wl,-oldstyle_liblookup if using native linker. Check forTom Yu2004-09-221-0/+8
| | | | | | | | native linker if using gcc. ticket: 927 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16776 dc483132-0cff-0310-8789-dd5450dbe970
* Don't assume that presence of res_nsearch() means we have ns_initparse()Tom Yu2004-09-211-1/+2
| | | | | | ticket: 2710 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16773 dc483132-0cff-0310-8789-dd5450dbe970
* Add DNS resolver glue layer. Use itTom Yu2004-09-211-48/+35
| | | | | | ticket: 2710 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16769 dc483132-0cff-0310-8789-dd5450dbe970
* * aclocal.m4 (AC_LIBRARY_NET): Look for res_search() prototype,Tom Yu2004-09-171-11/+26
| | | | | | | then for symbol in library, in case there's symbol renaming happening in the headers. Clean up some style nits. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16766 dc483132-0cff-0310-8789-dd5450dbe970
* * aclocal.m4 (AC_LIBRARY_NET): Only look for res_search() inTom Yu2004-09-151-1/+1
| | | | | | libraries, not headers, in case it's present but not prototyped. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16759 dc483132-0cff-0310-8789-dd5450dbe970
* * aclocal.m4 (AC_LIBRARY_NET): Require the BIND_8_COMPAT checkTom Yu2004-09-141-0/+1
| | | | | | | | prior to looking for prototypes, as BIND 9 (at least on Panther) turns off some prototypes and typedefs if BIND_8_COMPAT is defined. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16756 dc483132-0cff-0310-8789-dd5450dbe970
* * aclocal.m4: Fix check for resolv.h; some platforms haveTom Yu2004-09-141-2/+10
| | | | | | prerequisite headers. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16752 dc483132-0cff-0310-8789-dd5450dbe970
* Support building on x86_64Sam Hartman2004-09-101-10/+10
| | | | | | | | Include resolv.h when looking for res_nsearch and res_search. Ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16741 dc483132-0cff-0310-8789-dd5450dbe970
* * aclocal.m4 (KRB5_AC_PRAGMA_WEAK_REF): Fix to work with AIX compiler when ↵Ken Raeburn2004-08-241-1/+1
| | | | | | optimizing git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16684 dc483132-0cff-0310-8789-dd5450dbe970
* * aclocal.m4 (KRB5_AC_ENABLE_THREADS): Check for pthread_rwlock_init, with andKen Raeburn2004-08-191-1/+3
| | | | | | without the thread library. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16670 dc483132-0cff-0310-8789-dd5450dbe970
* * aclocal.m4 (WITH_CC): Log messages when adding AIX compiler optionsKen Raeburn2004-08-081-2/+8
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16651 dc483132-0cff-0310-8789-dd5450dbe970
* * aclocal.m4 (KRB5_AC_ENABLE_THREADS): Clear PTHREAD_CFLAGS and PTHREAD_LIBSKen Raeburn2004-08-081-3/+21
| | | | | | | | | after adding them to CFLAGS and LIBS respectively, to avoid duplicating the options later. (WITH_CC): Add -O on AIX also. Don't add options if similar options are already present. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16649 dc483132-0cff-0310-8789-dd5450dbe970