summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog6
-rw-r--r--src/aclocal.m412
2 files changed, 18 insertions, 0 deletions
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,[