/[svn]/ircd-hybrid-8/missing
ViewVC logotype

Diff of /ircd-hybrid-8/missing

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 912 by michael, Wed Nov 7 22:47:44 2007 UTC revision 945 by michael, Mon Jul 20 15:48:27 2009 UTC
# Line 1  Line 1 
1  #! /bin/sh  #! /bin/sh
2  # Common stub for a few missing GNU programs while installing.  # Common stub for a few missing GNU programs while installing.
3    
4  scriptversion=2006-05-10.23  scriptversion=2009-04-28.21; # UTC
5    
6  # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006  # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006,
7  #   Free Software Foundation, Inc.  # 2008, 2009 Free Software Foundation, Inc.
8  # Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.  # Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
9    
10  # This program is free software; you can redistribute it and/or modify  # This program is free software; you can redistribute it and/or modify
# Line 18  scriptversion=2006-05-10.23 Line 18  scriptversion=2006-05-10.23
18  # GNU General Public License for more details.  # GNU General Public License for more details.
19    
20  # You should have received a copy of the GNU General Public License  # You should have received a copy of the GNU General Public License
21  # along with this program; if not, write to the Free Software  # along with this program.  If not, see <http://www.gnu.org/licenses/>.
 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  
 # 02110-1301, USA.  
22    
23  # As a special exception to the GNU General Public License, if you  # As a special exception to the GNU General Public License, if you
24  # distribute this file as part of a program that contains a  # distribute this file as part of a program that contains a
# Line 89  Supported PROGRAM values: Line 87  Supported PROGRAM values:
87    tar          try tar, gnutar, gtar, then tar without non-portable flags    tar          try tar, gnutar, gtar, then tar without non-portable flags
88    yacc         create \`y.tab.[ch]', if possible, from existing .[ch]    yacc         create \`y.tab.[ch]', if possible, from existing .[ch]
89    
90    Version suffixes to PROGRAM as well as the prefixes \`gnu-', \`gnu', and
91    \`g' are ignored when checking the name.
92    
93  Send bug reports to <bug-automake@gnu.org>."  Send bug reports to <bug-automake@gnu.org>."
94      exit $?      exit $?
95      ;;      ;;
# Line 106  Send bug reports to <bug-automake@gnu.or Line 107  Send bug reports to <bug-automake@gnu.or
107    
108  esac  esac
109    
110    # normalize program name to check for.
111    program=`echo "$1" | sed '
112      s/^gnu-//; t
113      s/^gnu//; t
114      s/^g//; t'`
115    
116  # Now exit if we have it, but it failed.  Also exit now if we  # Now exit if we have it, but it failed.  Also exit now if we
117  # don't have it and --version was passed (most likely to detect  # don't have it and --version was passed (most likely to detect
118  # the program).  # the program).  This is about non-GNU programs, so use $1 not
119    # $program.
120  case $1 in  case $1 in
121    lex|yacc)    lex*|yacc*)
122      # Not GNU programs, they don't have --version.      # Not GNU programs, they don't have --version.
123      ;;      ;;
124    
125    tar)    tar*)
126      if test -n "$run"; then      if test -n "$run"; then
127         echo 1>&2 "ERROR: \`tar' requires --run"         echo 1>&2 "ERROR: \`tar' requires --run"
128         exit 1         exit 1
# Line 138  esac Line 146  esac
146    
147  # If it does not exist, or fails to run (possibly an outdated version),  # If it does not exist, or fails to run (possibly an outdated version),
148  # try to emulate it.  # try to emulate it.
149  case $1 in  case $program in
150    aclocal*)    aclocal*)
151      echo 1>&2 "\      echo 1>&2 "\
152  WARNING: \`$1' is $msg.  You should only need it if  WARNING: \`$1' is $msg.  You should only need it if
# Line 148  WARNING: \`$1' is $msg.  You should only Line 156  WARNING: \`$1' is $msg.  You should only
156      touch aclocal.m4      touch aclocal.m4
157      ;;      ;;
158    
159    autoconf)    autoconf*)
160      echo 1>&2 "\      echo 1>&2 "\
161  WARNING: \`$1' is $msg.  You should only need it if  WARNING: \`$1' is $msg.  You should only need it if
162           you modified \`${configure_ac}'.  You might want to install the           you modified \`${configure_ac}'.  You might want to install the
# Line 157  WARNING: \`$1' is $msg.  You should only Line 165  WARNING: \`$1' is $msg.  You should only
165      touch configure      touch configure
166      ;;      ;;
167    
168    autoheader)    autoheader*)
169      echo 1>&2 "\      echo 1>&2 "\
170  WARNING: \`$1' is $msg.  You should only need it if  WARNING: \`$1' is $msg.  You should only need it if
171           you modified \`acconfig.h' or \`${configure_ac}'.  You might want           you modified \`acconfig.h' or \`${configure_ac}'.  You might want
# Line 187  WARNING: \`$1' is $msg.  You should only Line 195  WARNING: \`$1' is $msg.  You should only
195             while read f; do touch "$f"; done             while read f; do touch "$f"; done
196      ;;      ;;
197    
198    autom4te)    autom4te*)
199      echo 1>&2 "\      echo 1>&2 "\
200  WARNING: \`$1' is needed, but is $msg.  WARNING: \`$1' is needed, but is $msg.
201           You might have modified some files without having the           You might have modified some files without having the
# Line 210  WARNING: \`$1' is needed, but is $msg. Line 218  WARNING: \`$1' is needed, but is $msg.
218      fi      fi
219      ;;      ;;
220    
221    bison|yacc)    bison*|yacc*)
222      echo 1>&2 "\      echo 1>&2 "\
223  WARNING: \`$1' $msg.  You should only need it if  WARNING: \`$1' $msg.  You should only need it if
224           you modified a \`.y' file.  You may need the \`Bison' package           you modified a \`.y' file.  You may need the \`Bison' package
# Line 240  WARNING: \`$1' $msg.  You should only ne Line 248  WARNING: \`$1' $msg.  You should only ne
248      fi      fi
249      ;;      ;;
250    
251    lex|flex)    lex*|flex*)
252      echo 1>&2 "\      echo 1>&2 "\
253  WARNING: \`$1' is $msg.  You should only need it if  WARNING: \`$1' is $msg.  You should only need it if
254           you modified a \`.l' file.  You may need the \`Flex' package           you modified a \`.l' file.  You may need the \`Flex' package
# Line 263  WARNING: \`$1' is $msg.  You should only Line 271  WARNING: \`$1' is $msg.  You should only
271      fi      fi
272      ;;      ;;
273    
274    help2man)    help2man*)
275      echo 1>&2 "\      echo 1>&2 "\
276  WARNING: \`$1' is $msg.  You should only need it if  WARNING: \`$1' is $msg.  You should only need it if
277           you modified a dependency of a manual page.  You may need the           you modified a dependency of a manual page.  You may need the
# Line 277  WARNING: \`$1' is $msg.  You should only Line 285  WARNING: \`$1' is $msg.  You should only
285      else      else
286          test -z "$file" || exec >$file          test -z "$file" || exec >$file
287          echo ".ab help2man is required to generate this page"          echo ".ab help2man is required to generate this page"
288          exit 1          exit $?
289      fi      fi
290      ;;      ;;
291    
292    makeinfo)    makeinfo*)
293      echo 1>&2 "\      echo 1>&2 "\
294  WARNING: \`$1' is $msg.  You should only need it if  WARNING: \`$1' is $msg.  You should only need it if
295           you modified a \`.texi' or \`.texinfo' file, or any other file           you modified a \`.texi' or \`.texinfo' file, or any other file
# Line 310  WARNING: \`$1' is $msg.  You should only Line 318  WARNING: \`$1' is $msg.  You should only
318      touch $file      touch $file
319      ;;      ;;
320    
321    tar)    tar*)
322      shift      shift
323    
324      # We have already tried tar in the generic part.      # We have already tried tar in the generic part.
# Line 363  exit 0 Line 371  exit 0
371  # eval: (add-hook 'write-file-hooks 'time-stamp)  # eval: (add-hook 'write-file-hooks 'time-stamp)
372  # time-stamp-start: "scriptversion="  # time-stamp-start: "scriptversion="
373  # time-stamp-format: "%:y-%02m-%02d.%02H"  # time-stamp-format: "%:y-%02m-%02d.%02H"
374  # time-stamp-end: "$"  # time-stamp-time-zone: "UTC"
375    # time-stamp-end: "; # UTC"
376  # End:  # End:

Legend:
Removed from v.912  
changed lines
  Added in v.945

svnadmin@ircd-hybrid.org
ViewVC Help
Powered by ViewVC 1.1.26