summaryrefslogtreecommitdiffstats
path: root/src/config
Commit message (Collapse)AuthorAgeFilesLines
* Drop "lib" prefix from things intended to be dynamically loadedKen Raeburn2005-07-065-22/+36
| | | | | | | | | | | * lib.in (LIBPREFIX): New variable. * libnover.in (LIBPREFIX): New variable. (LIBLIST, $(LIBBASE)$(SHLIBVEXT), $(TOPLIBD)/$(LIBBASE)$(SHLIBEXT), clean-libs, install-shared): Drop "lib" from generated shared object name. * pre.in (SHLIB_EXPORT_FILE): Use $(LIBPREFIX). * shlib.conf: Use $(LIBPREFIX) in LDCOMBINE. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17293 dc483132-0cff-0310-8789-dd5450dbe970
* * pre.in (KRB5_DB_MODULE_DIR): New variableKen Raeburn2005-06-292-0/+3
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17276 dc483132-0cff-0310-8789-dd5450dbe970
* * libnover.in (Makefile): Depend on correct makefile fragment.Ken Raeburn2005-06-292-6/+8
| | | | | | | | (SHLIBVEXT): Fix definition. (LIBLIST, LIBINSTLIST): Override configured definitions. (all-liblinks, clean-liblinks): Targets deleted. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17275 dc483132-0cff-0310-8789-dd5450dbe970
* update commentsKen Raeburn2005-06-291-1/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17273 dc483132-0cff-0310-8789-dd5450dbe970
* * libnover.in: New fileKen Raeburn2005-06-292-0/+112
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17272 dc483132-0cff-0310-8789-dd5450dbe970
* * pre.in (THREAD_LINKOPTS): New variableKen Raeburn2005-06-212-1/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17264 dc483132-0cff-0310-8789-dd5450dbe970
* * pre.in (PTHREAD_LIBS, DL_LIB): New variablesKen Raeburn2005-06-212-0/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17263 dc483132-0cff-0310-8789-dd5450dbe970
* Stop generating per-directory sed scripts, and use perl to compute the patternsKen Raeburn2005-04-212-11/+13
| | | | | | | | | | | | | | on the fly instead. (Next step, someday, integrate this script and depfix.sed, so we only have to run one script.) * config/post.in (depend-dependencies): Use (and depend on) depfix2.pl instead of .depfix2.sed. (.depfix2.sed): Target deleted. (DEPTARGETS): Delete .depfix2.sed and .depfix2.tmp. * util/depgen.sed: Deleted. * util/depfix2.pl: New file. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17187 dc483132-0cff-0310-8789-dd5450dbe970
* shared library support for HP-UX 10Ken Raeburn2005-03-253-7/+44
| | | | | | | | | | | | | | | | | | | | | | | Our somewhat outdated HP-UX support (which was targeted at HP-UX 10, not 11) does not have support for shared library initialization and finalization functions, nor for shared library export lists. The former was causing compilation failures unless shared library support was disabled. * include/k5-platform.h: Expand on init/fini comments some more. (MAKE_FINI_FUNCTION): Add an HP-UX specific variant that defines an auxiliary function fitting the signature of HP-UX 10 library combined initializer/finalizer functions. * config/lib.in (hpux10.exports): New target, constructed similar to osf1.exports but with HP-UX 10.x linker options, no initializers, and "errno" explicitly added to the export list. * shlib.conf (*-*-hpux*): Combine PICFLAGS setting with SHLIB_EXPFLAGS and LDCOMBINE setting. Add linker option "-c hpux10.exports" to LDCOMBINE. Set SHLIB_EXPORT_FILE_DEP to hpux10.exports. Set use_linker_fini_option. ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17153 dc483132-0cff-0310-8789-dd5450dbe970
* Build system support for a library having more than one init/fini symbolKen Raeburn2005-02-093-8/+39
| | | | | | | | | | | | | | | | | | | | | | defined, when using linker options to specify these functions. Now LIBINITFUNC/LIBFINIFUNC are considered lists of symbols, ordered from lowest-level (init run first, fini run last) to highest-level. * lib.in (config.status): Change target to be in $thisconfigdir rather than local. (osf1.exports): Create a temporary file then rename into place. Add options for library init/fini symbols, handling multiple values. * shlib.conf (case alpha*-dec-osf*): Don't handle init/fini symbols here. (case mips-sgi-irix*): Handle multiple init/fini symbols. Always set $initfini before it gets used. (case *-*-solaris*, not gcc): Handle multiple init/fini symbols. (case *-*-aix*): Handle multiple fini symbols. ticket: 2916 status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17088 dc483132-0cff-0310-8789-dd5450dbe970
* * post.in (Makefile): Nuke autom4te.cache before and after autoconf runsKen Raeburn2005-01-242-0/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17063 dc483132-0cff-0310-8789-dd5450dbe970
* Do the target object file name hacking in "make depend" earlier, before theKen Raeburn2004-12-302-5/+4
| | | | | | | | | | | | | | | | | line breaks are recomputed, instead of after. This will result in lots of whitespace changes in dependencies in directories that build library object files, but the final output is nicer (fewer long lines), and running "make depend" uses one fewer invocation of sed (balancing out the extra one I added in another checkin earlier today). * config/post.in (.depend): Don't do target name munging here. (.depfix2.sed): Pass extra value $(STLIBOBJS). * util/depfix.sed: Don't change foo.o to $(OUTPRE)foo.$(OBJEXT) here. * util/depgen.sed: Add new argument for STLIBOBJS. Do the OUTPRE/OBJEXT substitution here, and if STLIBOBJS is non-empty, add foo.so and foo.po while we're at it. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16986 dc483132-0cff-0310-8789-dd5450dbe970
* * post.in (.depend): Delete blank lines in generated file.Ken Raeburn2004-12-302-21/+29
| | | | | | | (DEP_CFG_VERIFY, DEP_VERIFY, depend-verify-*, .depend-verify-*, .depfix2.sed): Move all the flag files to $(BUILDTOP) so there'll be only one of each. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16985 dc483132-0cff-0310-8789-dd5450dbe970
* 2004-12-17 Jeffrey Altman <jaltman@mit.edu>Jeffrey Altman2004-12-182-0/+5
| | | | | | | | | | * win-pre.in: add -debug switch to LOPTS if DEBUG_SYMBOLS ticket: new tags: pullup target_version: 1.4 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16953 dc483132-0cff-0310-8789-dd5450dbe970
* can't build shared libraries on sparc64-netbsdKen Raeburn2004-12-172-1/+6
| | | | | | | | | | | | | | | | | | Current trunk code fails to build shared libraries on sparc64-netbsd because the generated relocations with -fpic don't have the range necessary. In general, any platform with sparc support that we want to build for should use -fPIC instead of -fpic, with gcc. (I haven't checked whether openbsd or freebsd support sparc these days; I think they're the only ones in our shlib.conf that we might care about.) * shlib.conf (*-*-netbsd*): Use -fPIC instead of -fpic, which won't work on sparc64 at least. ticket: new target_version: 1.4 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16951 dc483132-0cff-0310-8789-dd5450dbe970
* 2004-12-15 Jeffrey Altman <jaltman@mit.edu>Jeffrey Altman2004-12-152-1/+9
| | | | | | | | rename krb5support_32.dll to k5sprt32.dll ticket: 2804 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16934 dc483132-0cff-0310-8789-dd5450dbe970
* create rpc header install directoryTom Yu2004-11-192-1/+6
| | | | | | | | | | | * pre.in (KRB5_INCSUBDIRS): Add KRB5_INCDIR/gssrpc. ticket: new version_reported: 1.4 target_version: 1.4 tags: pullup git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16896 dc483132-0cff-0310-8789-dd5450dbe970
* Install example config filesTom Yu2004-10-072-0/+7
| | | | | | ticket: 249 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16810 dc483132-0cff-0310-8789-dd5450dbe970
* * lib.in (binutils.versions, osf1.exports): New file targets.Ken Raeburn2004-09-234-3/+27
| | | | | | | | | | | (clean-libs): Delete them. * pre.in (SHLIB_EXPORT_FILE_DEP): Use @SHLIB_EXPORT_FILE_DEP@. * shlib.conf: Set it to $(SHLIB_EXPORT_FILE) by default. (alpha*-dec-osf*): Use osf1.exports instead of adding commands to generate a temporary file. (*-*-linux*, *-*-gnu*, *-*-k*bsd*-gnu): Use binutils.versions. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16779 dc483132-0cff-0310-8789-dd5450dbe970
* Better support for using libutil on systems that need it for variousTom Yu2004-09-222-0/+5
| | | | | | 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-222-1/+8
| | | | | | | | native linker if using gcc. ticket: 927 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16776 dc483132-0cff-0310-8789-dd5450dbe970
* * shlib.conf (*-*-linux*, *-*-gnu*, *-*-k*bsd*-gnu): Don't use the linkerKen Raeburn2004-09-212-1/+7
| | | | | | option --retain-symbols-file, it doesn't work for shared libraries. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16774 dc483132-0cff-0310-8789-dd5450dbe970
* Use a new variable, $(INSTALL_SCRIPT) to install scripts, so theyTom Yu2004-09-172-0/+6
| | | | | | | | | | | won't get stripped when someone does "make install-strip". ticket: new tags: pullup target_version: 1.3.6 component: krb5-build git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16767 dc483132-0cff-0310-8789-dd5450dbe970
* * shlib.conf: Add support for gnu hurd and for BSD kernels withSam Hartman2004-08-192-1/+6
| | | | | | glibc; use the Linux shared library procedure git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16671 dc483132-0cff-0310-8789-dd5450dbe970
* * shlib.conf (alpha*-dec-osf*): Use $(PTHREAD_CFLAGS) in CC_LINK_SHARED andKen Raeburn2004-07-122-3/+8
| | | | | | CC_LINK_STATIC. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16585 dc483132-0cff-0310-8789-dd5450dbe970
* * shlib.conf (alpha*-dec-osf*): Use $(PTHREAD_CFLAGS) in LDCOMBINEKen Raeburn2004-07-092-1/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16575 dc483132-0cff-0310-8789-dd5450dbe970
* * shlib.conf (*-*-darwin*, *-*-rhapsody*): Don't set PICFLAGS or LDFLAGS.Ken Raeburn2004-06-192-9/+18
| | | | | | | | Force static libraries only always, instead of just as the default. (*-*-aix*): The initfini argument should be "-binitfini". Use -bernotok, not -berok. Do use the INIT_FINI_PREP command in constructing MAKE_SHLIB_COMMAND. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16492 dc483132-0cff-0310-8789-dd5450dbe970
* * pre.in (PTHREAD_CFLAGS): New variable.Ken Raeburn2004-06-192-1/+7
| | | | | | (ALL_CFLAGS): Include it. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16491 dc483132-0cff-0310-8789-dd5450dbe970
* * win-pre.in (SLIB): New variableKen Raeburn2004-06-182-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16489 dc483132-0cff-0310-8789-dd5450dbe970
* Purge make targets and variables (and a few files) relating to the old,Ken Raeburn2004-06-176-532/+5
| | | | | | unmaintained Mac OS 9 (and earlier) support. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16473 dc483132-0cff-0310-8789-dd5450dbe970
* * pre.in (AUTOCONF, AUTOHEADER): Always set to autoconf and autoheaderKen Raeburn2004-06-083-9/+14
| | | | | | | | | | respectively. (AUTOCONFFLAGS, AUTOHEADERFLAGS): Always set to empty. * post.in (Makefile): Always run autoconf with --include, don't bother with --localdir any more. Don't delete autom4te.cache here. (clean-unix): Delete autom4te.cache. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16419 dc483132-0cff-0310-8789-dd5450dbe970
* * shlib.conf (*-*-darwin*, *-*-rhapsody*): Add -Wl,-search_paths_first toKen Raeburn2004-06-082-0/+6
| | | | | | linker flags. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16418 dc483132-0cff-0310-8789-dd5450dbe970
* Change all uses of LIB in UNIX makefiles to LIBBASE, for better WindowsKen Raeburn2004-06-044-60/+67
| | | | | | | | | compatibility. (Windows nmake exports make variables into the environment, and LIB is treated by the Windows linker as a search path for libraries, thus breaking the linking on Windows of anything needing libraries from the search path in directories where we build libraries on UNIX.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16411 dc483132-0cff-0310-8789-dd5450dbe970
* * shlib.conf (*-*-aix*): Use linker options for library finalizationKen Raeburn2004-05-302-1/+10
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16377 dc483132-0cff-0310-8789-dd5450dbe970
* * win-pre.in (CP): Copy nul: plus the file, to avoid carrying over the originalKen Raeburn2004-05-272-1/+9
| | | | | | | | modification time, since some of our makefiles depend on $(CP) updating the timestamp. Use binary mode for the copy, because default/ASCII seems to cause a ^Z to be added to the file. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16369 dc483132-0cff-0310-8789-dd5450dbe970
* * shlib.conf (*-*-linux*): Use GNU linker's --retain-symbols-file option toKen Raeburn2004-05-132-2/+7
| | | | | | implement export list. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16328 dc483132-0cff-0310-8789-dd5450dbe970
* * libobj.in (OBJS.ST, OBJS.SH, OBJS.PF): Depend on MakefileKen Raeburn2004-05-052-3/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16315 dc483132-0cff-0310-8789-dd5450dbe970
* * pre.in (SUPPORT_LIBNAME, SUPPORT_DEPLIB, SUPPORT_LIB): New variables.Ken Raeburn2004-05-052-2/+11
| | | | | | (KRB5_BASE_LIBS): Add $(SUPPORT_LIB). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16312 dc483132-0cff-0310-8789-dd5450dbe970
* * shlib.conf (alpha*-dec-osf*): Do remember to set use_linker_init_option andKen Raeburn2004-05-042-2/+10
| | | | | | | use_linker_fini_option. (mips-sgi-irix*): Set LDCOMBINE_TAIL only if not using gcc. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16297 dc483132-0cff-0310-8789-dd5450dbe970
* * shlib.conf (alpha*-dec-osf*): Add support for export list, using a temporaryKen Raeburn2004-04-302-4/+14
| | | | | | | file, and init/fini functions. (mips-sgi-irix*): Previous support should not be used with gcc. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16287 dc483132-0cff-0310-8789-dd5450dbe970
* * pre.in (EXTRA_FILES): New variable.Ken Raeburn2004-04-303-1/+7
| | | | | | * post.in (clean-unix): Delete extra files. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16285 dc483132-0cff-0310-8789-dd5450dbe970
* * shlib.conf: Initialize use_linker_init_option and use_linker_fini_option toKen Raeburn2004-04-292-4/+23
| | | | | | | | | | no. (mips-sgi-irix*): Add link-time support for library initialization and finalization. (*-*-solaris*): Likewise, for native compiler. Change "pic" mode to "PIC", libkrb5 seems to need it now. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16281 dc483132-0cff-0310-8789-dd5450dbe970
* * libobj.in (.c.so): Add -DSHARED to compile optionsKen Raeburn2004-04-282-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16277 dc483132-0cff-0310-8789-dd5450dbe970
* * lib.in (PARSE_OBJLISTS): New variable.Ken Raeburn2004-04-262-13/+10
| | | | | | (lib$(LIB)$(STLIBEXT), lib$(LIB)$(SHLIBVEXT), lib$(LIB)$(PFLIBEXT)): Use it. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16275 dc483132-0cff-0310-8789-dd5450dbe970
* * shlib.conf (INIT_FINI_PREP): New variable. Default to a no-op, but let eachKen Raeburn2004-04-262-4/+17
| | | | | | | | platform set setup routines to process initialization and finalization options for the default MAKE_SHLIB_COMMAND value. (case mips-sgi-irix*): Define LDCOMBINE_TAIL to use the library's export list. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16274 dc483132-0cff-0310-8789-dd5450dbe970
* Start depending on perl for buildsKen Raeburn2004-04-243-6/+10
| | | | | | | | | * aclocal.m4 (KRB5_BUILD_LIBRARY_WITH_DEPS): Look for perl. * config/pre.in (PERL): New variable. * config/lib.in (lib$(LIB)$(SHLIBVEXT)): Use one perl invocation rather than n+1 sed invocations. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16266 dc483132-0cff-0310-8789-dd5450dbe970
* Use more flexible command substitution for shared library generation, so we canKen Raeburn2004-04-234-12/+45
| | | | | | | | | | | | | | | | | | | dump makeshlib.sh. Use the new saved export list files for AIX. * aclocal.m4 (KRB5_BUILD_LIBRARY_WITH_DEPS): Substitute MAKE_SHLIB_COMMAND, not LDCOMBINE and LDCOMBINE_TAIL. * pre.in (DO_MAKE_SHLIB, SHLIB_STATIC_TARGET, LDCOMBINE, LDCOMBINE_TAIL): Delete unused variables. (SHLIB_EXPORT_FILE, SHLIB_EXPORT_FILE_DEP, MAKE_SHLIB_COMMAND): New variables. * config/lib.in (lib$(LIB)$(SHLIBVEXT)): Set objlist to the list of object files before invoking MAKE_SHLIB_COMMAND, instead of wrapping the list with LDCOMBINE and LDCOMBINE_TAIL. Depend on SHLIB_EXPORT_FILE_DEP. * config/shlib.conf: Set MAKE_SHLIB_COMMAND, using LDCOMBINE and LDCOMBINE_TAIL in the common case. (case *-*-aix*): Specify new commands, taken from makeshlib.sh, but assume the export list is provided externally. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16263 dc483132-0cff-0310-8789-dd5450dbe970
* * shlib.conf (default_static, default_shared): New variables to setKen Raeburn2004-03-242-0/+11
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16212 dc483132-0cff-0310-8789-dd5450dbe970
* * ac-archive: New directory.Ken Raeburn2004-03-183-0/+297
| | | | | | | | * ac-archive/README: New file. * ac-archive/acx_pthread.m4: New file, data taken from autoconf macro archive at sourceforge. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16181 dc483132-0cff-0310-8789-dd5450dbe970
* * pre.in (top_srcdir): Define, set by configureKen Raeburn2004-03-082-0/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16161 dc483132-0cff-0310-8789-dd5450dbe970