summaryrefslogtreecommitdiff
path: root/mig.in
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1998-07-19 04:50:39 +0000
committerRoland McGrath <roland@gnu.org>1998-07-19 04:50:39 +0000
commit437ffbc127e85b2daefd96e655f3aef0b26846a2 (patch)
tree1ff0a73ea9b382a314c3c32123bd486f79f7f62b /mig.in
parentf71f362f7891bcc981dd6e48d7137c51119238bf (diff)
1998-07-19 Roland McGrath <roland@baalperazim.frob.com>
Moved mig out of gnumach into standalone distribution with vanilla autoconf/automake build arrangement. * configure.in, Makefile.am: New files. * mig.in (prefix, exec_prefix, libexecdir): New vars set by configure. (migcom): Find migcom in ${libexecdir}, and use @MIGCOM@ for its name. (cpp): Use @TARGET_CC@ -E instead of @CPP@.
Diffstat (limited to 'mig.in')
-rw-r--r--mig.in21
1 files changed, 12 insertions, 9 deletions
diff --git a/mig.in b/mig.in
index 31afb7e..4ea651e 100644
--- a/mig.in
+++ b/mig.in
@@ -1,32 +1,35 @@
-#!/bin/sh
+#!/bin/sh
#
# Mach Operating System
# Copyright (c) 1991,1990 Carnegie Mellon University
# All Rights Reserved.
-#
+#
# Permission to use, copy, modify and distribute this software and its
# documentation is hereby granted, provided that both the copyright
# notice and this permission notice appear in all copies of the
# software, derivative works or modified versions, and any portions
# thereof, and that both notices appear in supporting documentation.
-#
+#
# CARNEGIE MELLON ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS"
# CONDITION. CARNEGIE MELLON DISCLAIMS ANY LIABILITY OF ANY KIND FOR
# ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
-#
+#
# Carnegie Mellon requests users of this software to return to
-#
+#
# Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU
# School of Computer Science
# Carnegie Mellon University
# Pittsburgh PA 15213-3890
-#
+#
# any improvements or extensions that they make and grant Carnegie Mellon
# the rights to redistribute these changes.
#
-migcom=${MIGDIR-@MIGDIR@}/migcom
-cpp="${CPP-@CPP@}"
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libexecdir=@libexecdir@
+migcom=${MIGDIR-@libexecdir@}/${MIGCOM-@MIGCOM@}
+cpp="${CPP-@TARGET_CC@ -E}"
cppflags=
migflags=
@@ -73,7 +76,7 @@ do
ruser="${user-${base}User.c}"
if [ "$ruser" != /dev/null ]; then
if [ $sawI ]; then
- for un in $ruser
+ for un in $ruser
do
deps="$deps $un"
done