summaryrefslogtreecommitdiff
path: root/mig.in
diff options
context:
space:
mode:
authorThomas Schwinge <tschwinge@gnu.org>2006-11-29 17:43:05 +0000
committerThomas Schwinge <tschwinge@gnu.org>2006-11-29 17:43:05 +0000
commit7af2877c144a19202ba6af605d6bd572ec150243 (patch)
tree1c07c0d2b530c3b8b8e2c434b231ce252ffec627 /mig.in
parent2b76839dd088eb65ab040828fd1e40f950840b6e (diff)
2006-11-29 Thomas Schwinge <tschwinge@gnu.org>
* mig.in: Adopt to the Autoconf update.
Diffstat (limited to 'mig.in')
-rw-r--r--mig.in22
1 files changed, 9 insertions, 13 deletions
diff --git a/mig.in b/mig.in
index 106a4ef..1802a52 100644
--- a/mig.in
+++ b/mig.in
@@ -25,12 +25,8 @@
# the rights to redistribute these changes.
#
-PACKAGE=@PACKAGE@
-VERSION=@VERSION@
-
prefix=@prefix@
exec_prefix=@exec_prefix@
-libexecdir=@libexecdir@
migcom=${MIGDIR-@libexecdir@}/${MIGCOM-@MIGCOM@}
# The expansion of TARGET_CC might refer to ${CC}, so make sure it is defined.
@@ -78,13 +74,13 @@ EOT
until [ $# -eq 0 ]
do
- case "$1" in
- --version ) echo "GNU ${PACKAGE} version ${VERSION}"; exit 0 ;;
- --help ) progname=`echo mig | sed @program_transform_name@`
- echo "\
-Usage: $progname [OPTION]... [FILE]...
-This is the GNU implementation of the Mach interface generator \`MiG',
-which Mach RPC stubs from \`.defs' files.
+ case $1 in
+ --version ) echo '@MIG@ (@PACKAGE_NAME@) @PACKAGE_VERSION@'; exit 0;;
+ --help ) cat <<EOT; exit 0;;
+Usage: @MIG@ [OPTION]... [FILE]...
+
+This is the GNU implementation of the Mach interface generator \`MIG', which
+generates Mach RPC stubs from definition files.
-r use msg_rpc [default]
-R use msg_send
@@ -105,8 +101,8 @@ which Mach RPC stubs from \`.defs' files.
Any switches not listed are passed on to the preprocessor, invoked by:
${cpp}
-Report bugs to <bug-hurd@gnu.org>. Request assistance at <help-hurd@gnu.org>.\
-"; exit 0 ;;
+Report bugs and request assistance writing email to <@PACKAGE_BUGREPORT@>.
+EOT
-[qQvVtTrRsSn] ) migflags="$migflags $1"; shift;;
-i ) sawI=1; migflags="$migflags $1 $2"; shift; shift;;