Add a new configure production which allows a special linker to be
authorTheodore Tso <tytso@mit.edu>
Wed, 22 Feb 1995 01:08:41 +0000 (01:08 +0000)
committerTheodore Tso <tytso@mit.edu>
Wed, 22 Feb 1995 01:08:41 +0000 (01:08 +0000)
specified.  Useful for running programs like Purify, etc.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4966 dc483132-0cff-0310-8789-dd5450dbe970

src/ChangeLog
src/aclocal.m4

index 1f8138ae6a17fc7df780fd4ce153549350c05f32..f09d2c2cd13ae98e522518141e30b7686f7917b4 100644 (file)
@@ -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
index 91576ea3d7d528439ad1b7611a08c0c06c66b725..e96965859c571868c1736c433e4b719ba8308ca3 100644 (file)
@@ -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,[