From: Theodore Tso Date: Wed, 22 Feb 1995 01:08:41 +0000 (+0000) Subject: Add a new configure production which allows a special linker to be X-Git-Tag: krb5-1.0-beta5~696 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=5f3a6bd2eebd8f40e5407ea57bbdd42b67e4d379;p=krb5.git Add a new configure production which allows a special linker to be specified. Useful for running programs like Purify, etc. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4966 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/ChangeLog b/src/ChangeLog index 1f8138ae6..f09d2c2cd 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,9 @@ +Mon Feb 13 23:39:21 1995 Theodore Y. Ts'o (tytso@dcl) + + * aclocal.m4 (WITH_LINKER): Add a new configure production which + allows a special linker to be specified. Useful for + running programs like Purify, etc. + Thu Feb 9 15:42:00 1995 Keith Vetter (keithv@fusion.com) * acconfig.h: added HAS_SYS_FILE_H & HAS_SYS_PARAM_H for Windows diff --git a/src/aclocal.m4 b/src/aclocal.m4 index 91576ea3d..e96965859 100644 --- a/src/aclocal.m4 +++ b/src/aclocal.m4 @@ -139,6 +139,7 @@ dnl drop in standard configure rebuild rules -- CONFIG_RULES dnl define(CONFIG_RULES,[ WITH_CC dnl +WITH_LINKER dnl WITH_CPPOPTS dnl AC_DIVERT_PUSH(AC_DIVERSION_MAKEFILE)dnl [ @@ -343,6 +344,17 @@ if test -z "$CC" ; then CC=cc; fi [AC_MSG_RESULT(CC defaults to $CC)])dnl AC_SUBST([CC])])dnl dnl +dnl set $(LD) from --with-linker=value +dnl +define(WITH_LINKER,[ +AC_ARG_WITH([linker], +[ --with-linker=LINKER select linker to use], +AC_MSG_RESULT(LD=$withval) +LD=$withval, +if test -z "$LD" ; then LD=$CC; fi +[AC_MSG_RESULT(LD defaults to $LD)])dnl +AC_SUBST([LD])])dnl +dnl dnl set $(CCOPTS) from --with-ccopts=value dnl define(WITH_CCOPTS,[