ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/SIDPlayer/missing
(Generate patch)

Comparing SIDPlayer/missing (file contents):
Revision 1.1 by cebix, 2000-09-19T15:34:10Z vs.
Revision 1.2 by cebix, 2001-09-18T17:19:55Z

# Line 1 | Line 1
1   #! /bin/sh
2   # Common stub for a few missing GNU programs while installing.
3 < # Copyright (C) 1996, 1997 Free Software Foundation, Inc.
3 > # Copyright (C) 1996, 1997, 2001 Free Software Foundation, Inc.
4   # Franc,ois Pinard <pinard@iro.umontreal.ca>, 1996.
5  
6   # This program is free software; you can redistribute it and/or modify
# Line 23 | Line 23 | if test $# -eq 0; then
23    exit 1
24   fi
25  
26 + # In the cases where this matters, `missing' is being run in the
27 + # srcdir already.
28 + if test -f configure.in; then
29 +  configure_ac=configure.ac
30 + else
31 +  configure_ac=configure.in
32 + fi
33 +
34   case "$1" in
35  
36    -h|--h|--he|--hel|--help)
# Line 61 | Line 69 | Supported PROGRAM values:
69    aclocal)
70      echo 1>&2 "\
71   WARNING: \`$1' is missing on your system.  You should only need it if
72 <         you modified \`acinclude.m4' or \`configure.in'.  You might want
72 >         you modified \`acinclude.m4' or \`$configure_ac'.  You might want
73           to install the \`Automake' and \`Perl' packages.  Grab them from
74           any GNU archive site."
75      touch aclocal.m4
# Line 70 | Line 78 | WARNING: \`$1' is missing on your system
78    autoconf)
79      echo 1>&2 "\
80   WARNING: \`$1' is missing on your system.  You should only need it if
81 <         you modified \`configure.in'.  You might want to install the
81 >         you modified \`$configure_ac'.  You might want to install the
82           \`Autoconf' and \`GNU m4' packages.  Grab them from any GNU
83           archive site."
84      touch configure
# Line 79 | Line 87 | WARNING: \`$1' is missing on your system
87    autoheader)
88      echo 1>&2 "\
89   WARNING: \`$1' is missing on your system.  You should only need it if
90 <         you modified \`acconfig.h' or \`configure.in'.  You might want
90 >         you modified \`acconfig.h' or \`$configure_ac'.  You might want
91           to install the \`Autoconf' and \`GNU m4' packages.  Grab them
92           from any GNU archive site."
93 <    files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' configure.in`
93 >    files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' $configure_ac`
94      test -z "$files" && files="config.h"
95      touch_files=
96      for f in $files; do
# Line 98 | Line 106 | WARNING: \`$1' is missing on your system
106    automake)
107      echo 1>&2 "\
108   WARNING: \`$1' is missing on your system.  You should only need it if
109 <         you modified \`Makefile.am', \`acinclude.m4' or \`configure.in'.
109 >         you modified \`Makefile.am', \`acinclude.m4' or \`$configure_ac'.
110           You might want to install the \`Automake' and \`Perl' packages.
111           Grab them from any GNU archive site."
112      find . -type f -name Makefile.am -print |

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines