summaryrefslogtreecommitdiffstats
path: root/src/config
Commit message (Collapse)AuthorAgeFilesLines
...
* Modifications to support the generation and embedding Jeffrey Altman2006-12-072-0/+8
| | | | | | | | | | | | of library manifests into generated EXEs and DLLs. Manifests are required for Windows XP and above when applications are built with Microsoft Visual Studio 2005 (aka VS8) or above. ticket: 3642 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18930 dc483132-0cff-0310-8789-dd5450dbe970
* For Irix - determine if using gcc and gnu ld - set compiler flags properlyEzra Peisach2006-10-231-1/+7
| | | | | | ticket: 4455 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18733 dc483132-0cff-0310-8789-dd5450dbe970
* osf1 -oldstyle_liblookup typoEzra Peisach2006-10-221-1/+1
| | | | | | | | | | | | Not really relevant anymore - as we do not support static linking now. But in ticket 927 (r16776) - a test was added to determine if gnu ld was in use and change the linker flags accordingly. The variable in aclocal.m4 was krb5_cv_prog_gnu_ld and this was testing for krb5_cv_gnu_ld. ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18732 dc483132-0cff-0310-8789-dd5450dbe970
* fix typo in make var refKen Raeburn2006-10-151-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18714 dc483132-0cff-0310-8789-dd5450dbe970
* Define VALGRIND1 as an invocation of valgrind that could be used for VALGRINDKen Raeburn2006-10-151-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18708 dc483132-0cff-0310-8789-dd5450dbe970
* Use $(VALGRIND) when running programs using $(KRB5_RUN_ENV) orKen Raeburn2006-10-132-4/+2
| | | | | | | | | | | | | | | | | | $(RUN_SETUP). Replaces old hack with MAYBE_VALGRIND added to RUN_ENV in a way that would break in some of the tests. Set VALGRIND in site.exp in tests/dejagnu. (Not used yet.) Runs some shell scripts under valgrind, rather than changing them to run only the executables under valgrind; this is mostly okay, just creates lots of extra log data, and requires --trace-children=yes. This should work for any instrumentation program invocation that gets followed immediately by the name and argument list for the program being instrumented. For example, VALGRIND="env LD_PRELOAD=..." should work, though I haven't tested it. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18699 dc483132-0cff-0310-8789-dd5450dbe970
* Preauthentication Plugin FrameworkSam Hartman2006-10-031-0/+1
| | | | | | | | | | | | | Patch from Nalin Dahyabhai at Redhat to implement a preauthentication framework based on the plugin architecture. Currently. the API is considered internal and the header is not installed. See src/include/krb5/preauth_plugin.h for the interface. ticket: new Tags: enhancement Status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18641 dc483132-0cff-0310-8789-dd5450dbe970
* configure: Depend on $(AUTOCONF_HEADER) so check-ac-syms will be happierKen Raeburn2006-10-021-0/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18640 dc483132-0cff-0310-8789-dd5450dbe970
* * shlib.conf (*-*-linux*): Use LDFLAGS in LDCOMBINEKen Raeburn2006-08-301-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18553 dc483132-0cff-0310-8789-dd5450dbe970
* Set datarootdir in each Makefile to make Autoconf 2.60 happierRuss Allbery2006-08-151-0/+1
| | | | | | | | | | Ticket: 3965 Component: krb5-build Version_Reported: 1.5 Tags: pullup Target_Version: 1.5.1 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18444 dc483132-0cff-0310-8789-dd5450dbe970
* respect LDFLAGS in NetBSD buildKen Raeburn2006-07-211-1/+14
| | | | | | | | | | | | An LDFLAGS setting at configure time is ignored in parts of the build. * shlib.conf (*-*-netbsd*): Use $(CC) for LDCOMBINE, and include $(LDFLAGS). ticket: new target: 1.5.1 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18350 dc483132-0cff-0310-8789-dd5450dbe970
* back out r18245; it breaks under gcc + GNU ld on SolarisTom Yu2006-06-293-15/+3
| | | | | | | ticket: 3946 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18260 dc483132-0cff-0310-8789-dd5450dbe970
* implement symbol export restrictions for SolarisKen Raeburn2006-06-283-3/+15
| | | | | | | | | | | | | * lib.in (solaris.versions): New target. Currently no version id, just a symbol list. * libnover.in (solaris.versions): New target. (clean-libs): Delete it. * shlib.conf (*-*-solaris*): Use solaris.versions as map file. (clean-libs): Delete it. ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18245 dc483132-0cff-0310-8789-dd5450dbe970
* (clean-unix): Use DEPTARGETS_CLEAN instead of DEPTARGETS.Ken Raeburn2006-06-221-1/+3
| | | | | | | (DEPTARGETS_CLEAN, DEPTARGETS_@top_srcdir@_.): New targets; define so that DEPTARGETS_CLEAN has the DEP_VERIFY targets only at the top level. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18203 dc483132-0cff-0310-8789-dd5450dbe970
* Update config.guess and config.sub to the current versions fromRuss Allbery2006-06-192-334/+522
| | | | | | | | savannah.gnu.org. Ticket: 3900 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18164 dc483132-0cff-0310-8789-dd5450dbe970
* (hpux10.exports): Export initializer and destructor symbols(?). PatchKen Raeburn2006-06-161-0/+2
| | | | | | | | from Albert Chin. ticket: 3129 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18158 dc483132-0cff-0310-8789-dd5450dbe970
* fix for support lib version number changeKen Raeburn2006-06-161-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18155 dc483132-0cff-0310-8789-dd5450dbe970
* * config/pre.in (KRB5_BASE_LIBS): Add $(DL_LIB).Ken Raeburn2006-06-151-1/+1
| | | | | | | | | * krb5-config.in: Add DL_LIB. ticket: 3838 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18149 dc483132-0cff-0310-8789-dd5450dbe970
* This ticket is pretty old, and the config files have been changedKen Raeburn2006-06-151-0/+13
| | | | | | | | around a bit since, but this is an attempt to integrate the patch... ticket: 856 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18135 dc483132-0cff-0310-8789-dd5450dbe970
* Don't use GNU linker option --as-needed yetKen Raeburn2006-06-091-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18101 dc483132-0cff-0310-8789-dd5450dbe970
* install headers into include/krb5Ken Raeburn2006-05-231-0/+1
| | | | | | | | | | | Create include/krb5 directory, and put krb5.h and (k5-)locate.h there in the build tree. Stub krb5.h in main include directory just includes krb5/krb5.h. Update dependencies, and add dependencies in a couple Makefiles that didn't have them. ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@18030 dc483132-0cff-0310-8789-dd5450dbe970
* * post.in (.acsyms_okay): Target deleted.Ken Raeburn2006-05-031-10/+3
| | | | | | (configure): Incorporate the check-ac-syms rules here. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17973 dc483132-0cff-0310-8789-dd5450dbe970
* (.acsyms_okay): Fix rules to work better from subdirectories, and skip theKen Raeburn2006-04-251-3/+3
| | | | | | top-level configure script. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17956 dc483132-0cff-0310-8789-dd5450dbe970
* Tweak configure script generation to check that all symbols producedKen Raeburn2006-04-252-0/+15
| | | | | | | | | | | | | | | via AC_DEFINE are also present in the applicable configure-generated header file, and error out otherwise. Currently doesn't apply in appl and test trees. * util/check-ac-syms: New script. * config/post.in (.acsyms_okay): New target; runs check-ac-syms, unless we're in the appl or tests trees. (configure): Depend on .acsyms_okay. * config/pre.in (AUTOCONF_HEADER): New variable. * plugins/kdb/db2/libdb2/Makefile.in (AUTOCONF_HEADER): New variable. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17955 dc483132-0cff-0310-8789-dd5450dbe970
* (*-*-solaris*): Set LDCOMBINE_TAIL to use LDFLAGSKen Raeburn2006-04-141-0/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17926 dc483132-0cff-0310-8789-dd5450dbe970
* Remove ChangeLog files from the source tree. From now on, theSam Hartman2006-04-111-1546/+0
| | | | | | | subversion commit log entry needs to include information that would have been in the changelog. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17893 dc483132-0cff-0310-8789-dd5450dbe970
* Remove .Sanitize and .rconf files, no longer usedKen Raeburn2006-04-111-49/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17888 dc483132-0cff-0310-8789-dd5450dbe970
* * shlib.conf (*-*-linux*): Use linker flag --as-needed whenKen Raeburn2006-04-082-1/+4
| | | | | | building shared libraries. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17880 dc483132-0cff-0310-8789-dd5450dbe970
* Move definitions of KRB5_PRIVATE and KRB5_DEPRECATED from autoconf.hKen Raeburn2006-04-082-0/+6
| | | | | | to $(ALL_CFLAGS). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17871 dc483132-0cff-0310-8789-dd5450dbe970
* * wconfig.pl: New fileKen Raeburn2006-03-272-0/+81
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17785 dc483132-0cff-0310-8789-dd5450dbe970
* Quick hack to make it easy to run valgrind on many of our test cases.Ken Raeburn2006-03-163-2/+9
| | | | | | | | | Notably, though, the dejagnu tests will not include valgrind. * pre.in (MAYBE_VALGRIND): New variable. * shlib.conf (*-*-linux*): Use it in RUN_ENV. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17742 dc483132-0cff-0310-8789-dd5450dbe970
* Instead of arbitrary division of headers into include and include/krb5, withKen Raeburn2006-03-112-2/+5
| | | | | | | | | | | | include directives sometimes using krb5/foo.h and sometimes using foo.h, and -I options always given for both directories in both source and build trees, push include/krb5/* up a level and drop the krb5 directory (except, for the moment, the change log). Updated #include directives, -I options, and dependencies accordingly, and deleted one or two bits of old, unused code that was noticed in the process. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17730 dc483132-0cff-0310-8789-dd5450dbe970
* Add a new recursive target "generated-files-mac", for producing theKen Raeburn2006-03-113-0/+13
| | | | | | | generated files that lxs wants to feed into the Mac build system. (First approximation, may want some fine tuning later.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17728 dc483132-0cff-0310-8789-dd5450dbe970
* Merge from plugin branchKen Raeburn2006-03-075-13/+32
| | | | | | | | | | | | | | | | | | | | | | | | | 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
* Qing Dong <dongq@mit.edu> provided a set of changes to allowJeffrey Altman2006-02-273-5/+42
| | | | | | | | | | | | | krb5 to build under the Microsoft Visual Studio 8 compiler in 64-bit mode and produce file names that do not conflict with the names produced by the 32-bit build. That patch was modified to work on Unix and also include processor dependent pre-processor definitions to remove warnings. ticket: 3415 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17680 dc483132-0cff-0310-8789-dd5450dbe970
* Check the export lists against the newly built shared library to make sure allKen Raeburn2006-01-252-1/+4
| | | | | | | | | | | | | the symbols we want to export are actually defined. GNU/Linux only, for the moment, but it ought to work on any system using the GNU version of nm, and not too hard to modify for other ways of extracting the exported symbols of a library. * util/export-check.pl: New file. * config/shlib.conf (*-*-linux*): Run export-check.pl after building a shared library. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17609 dc483132-0cff-0310-8789-dd5450dbe970
* * lib.in (binutils.versions): Put hidden symbol list after exported list,Ken Raeburn2006-01-252-3/+10
| | | | | | | because libkrb4 has a symbol starting with "__" in its export list. (osf1.exports): Rename file in a separate command. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17606 dc483132-0cff-0310-8789-dd5450dbe970
* * shlib.conf (*-*-solaris*): Include $(CFLAGS) in LDCOMBINE. Don't useKen Raeburn2005-11-292-6/+18
| | | | | | | compiler command-line options for initializers for Solaris 7 and earlier native compilers. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17512 dc483132-0cff-0310-8789-dd5450dbe970
* If configure scripts set build_dynobj=yes, force build of shared objects andKen Raeburn2005-10-273-2/+7
| | | | | | | 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
* Remove dependency listing on old depfix.sedKen Raeburn2005-10-271-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17460 dc483132-0cff-0310-8789-dd5450dbe970
* Rename depfix2.pl to depfix.plKen Raeburn2005-10-272-3/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17459 dc483132-0cff-0310-8789-dd5450dbe970
* Roll all the "make depend" transformations into one perl scriptKen Raeburn2005-10-272-2/+3
| | | | | | | | * util/depfix2.pl: Incorporate all substitutions from depfix.sed. * util/depfix.sed: Deleted. * config/post.in (.depend): Don't run sed, just use perl. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17458 dc483132-0cff-0310-8789-dd5450dbe970
* Allow dynamic-object dependencies and build flags to be specified as ↵Ken Raeburn2005-10-274-2/+18
| | | | | | | | | | | | | | | | | | | | 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
* * shlib.conf: Change aix5.3 section to aix5.*. Change aix* section to aix4.*,Ken Raeburn2005-10-132-2/+12
| | | | | | and set DYNOBJEXT and MAKE_DYNOBJ_COMMAND. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17423 dc483132-0cff-0310-8789-dd5450dbe970
* * libnover.in (PARSE_OBJLISTS): Die on warnings (including input file not ↵Ken Raeburn2005-10-133-2/+8
| | | | | | | | found). * lib.in (PARSE_OBJLISTS): Likewise. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17422 dc483132-0cff-0310-8789-dd5450dbe970
* Move "make depend" check for built-in db2 into db2 module directoryKen Raeburn2005-10-052-9/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17409 dc483132-0cff-0310-8789-dd5450dbe970
* Move libdb2 makefile stuff down into db2 module subtree.Ken Raeburn2005-10-054-17/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* patch from Marc Aurele La France:Ken Raeburn2005-09-092-0/+34
| | | | | | | | | | | | * shlib.conf (case *-*-aix5.3*): Generate proper shared libraries acceptable to dlopen(3) (as in mechglue, for example). Allows for building both shared and static libraries in one run. Only done for AIX 5.3, but probably should be done for earlier versions. ticket: 3176 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17378 dc483132-0cff-0310-8789-dd5450dbe970
* fix more executable permissionsTom Yu2005-08-252-0/+0
| | | | | | | | | | Fix some more executable permissions missing from import. ticket: new tags: pullup target_version: 1.4.3 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17357 dc483132-0cff-0310-8789-dd5450dbe970
* Set svn:executable for mkinstalldirs - needed during installEzra Peisach2005-08-241-0/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17354 dc483132-0cff-0310-8789-dd5450dbe970