/[autoconf]/autoconf/config/missing
ViewVC logotype

Diff of /autoconf/config/missing

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

revision 1.8 by akim, Tue Aug 19 08:12:18 2003 UTC revision 1.9 by akim, Fri Sep 12 08:40:36 2003 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  # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003 Free Software Foundation, Inc.  
4    scriptversion=2003-09-02.23
5    
6    # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003
7    #   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 38  else Line 42  else
42    configure_ac=configure.in    configure_ac=configure.in
43  fi  fi
44    
45    msg="missing on your system"
46    
47  case "$1" in  case "$1" in
48  --run)  --run)
49    # Try to run requested program, and just exit if it succeeds.    # Try to run requested program, and just exit if it succeeds.
50    run=    run=
51    shift    shift
52    "$@" && exit 0    "$@" && exit 0
53      # Exit code 63 means version mismatch.  This often happens
54      # when the user try to use an ancient version of a tool on
55      # a file that requires a minimum version.  In this case we
56      # we should proceed has if the program had been absent, or
57      # if --run hadn't been passed.
58      if test $? = 63; then
59        run=:
60        msg="probably too old"
61      fi
62    ;;    ;;
63  esac  esac
64    
# Line 74  Supported PROGRAM values: Line 89  Supported PROGRAM values:
89    lex          create \`lex.yy.c', if possible, from existing .c    lex          create \`lex.yy.c', if possible, from existing .c
90    makeinfo     touch the output file    makeinfo     touch the output file
91    tar          try tar, gnutar, gtar, then tar without non-portable flags    tar          try tar, gnutar, gtar, then tar without non-portable flags
92    yacc         create \`y.tab.[ch]', if possible, from existing .[ch]"    yacc         create \`y.tab.[ch]', if possible, from existing .[ch]
93    
94    Send bug reports to <bug-automake@gnu.org>."
95      ;;      ;;
96    
97    -v|--v|--ve|--ver|--vers|--versi|--versio|--version)    -v|--v|--ve|--ver|--vers|--versi|--versio|--version)
98      echo "missing 0.4 - GNU automake"      echo "missing $scriptversion (GNU Automake)"
99      ;;      ;;
100    
101    -*)    -*)
# Line 94  Supported PROGRAM values: Line 111  Supported PROGRAM values:
111      fi      fi
112    
113      echo 1>&2 "\      echo 1>&2 "\
114  WARNING: \`$1' is missing on your system.  You should only need it if  WARNING: \`$1' is $msg.  You should only need it if
115           you modified \`acinclude.m4' or \`${configure_ac}'.  You might want           you modified \`acinclude.m4' or \`${configure_ac}'.  You might want
116           to install the \`Automake' and \`Perl' packages.  Grab them from           to install the \`Automake' and \`Perl' packages.  Grab them from
117           any GNU archive site."           any GNU archive site."
# Line 108  WARNING: \`$1' is missing on your system Line 125  WARNING: \`$1' is missing on your system
125      fi      fi
126    
127      echo 1>&2 "\      echo 1>&2 "\
128  WARNING: \`$1' is missing on your system.  You should only need it if  WARNING: \`$1' is $msg.  You should only need it if
129           you modified \`${configure_ac}'.  You might want to install the           you modified \`${configure_ac}'.  You might want to install the
130           \`Autoconf' and \`GNU m4' packages.  Grab them from any GNU           \`Autoconf' and \`GNU m4' packages.  Grab them from any GNU
131           archive site."           archive site."
# Line 122  WARNING: \`$1' is missing on your system Line 139  WARNING: \`$1' is missing on your system
139      fi      fi
140    
141      echo 1>&2 "\      echo 1>&2 "\
142  WARNING: \`$1' is missing on your system.  You should only need it if  WARNING: \`$1' is $msg.  You should only need it if
143           you modified \`acconfig.h' or \`${configure_ac}'.  You might want           you modified \`acconfig.h' or \`${configure_ac}'.  You might want
144           to install the \`Autoconf' and \`GNU m4' packages.  Grab them           to install the \`Autoconf' and \`GNU m4' packages.  Grab them
145           from any GNU archive site."           from any GNU archive site."
# Line 146  WARNING: \`$1' is missing on your system Line 163  WARNING: \`$1' is missing on your system
163      fi      fi
164    
165      echo 1>&2 "\      echo 1>&2 "\
166  WARNING: \`$1' is missing on your system.  You should only need it if  WARNING: \`$1' is $msg.  You should only need it if
167           you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'.           you modified \`Makefile.am', \`acinclude.m4' or \`${configure_ac}'.
168           You might want to install the \`Automake' and \`Perl' packages.           You might want to install the \`Automake' and \`Perl' packages.
169           Grab them from any GNU archive site."           Grab them from any GNU archive site."
# Line 162  WARNING: \`$1' is missing on your system Line 179  WARNING: \`$1' is missing on your system
179      fi      fi
180    
181      echo 1>&2 "\      echo 1>&2 "\
182  WARNING: \`$1' is needed, and you do not seem to have it handy on your  WARNING: \`$1' is needed, but is $msg.
183           system.  You might have modified some files without having the           You might have modified some files without having the
184           proper tools for further handling them.           proper tools for further handling them.
185           You can get \`$1' as part of \`Autoconf' from any GNU           You can get \`$1' as part of \`Autoconf' from any GNU
186           archive site."           archive site."
# Line 185  WARNING: \`$1' is needed, and you do not Line 202  WARNING: \`$1' is needed, and you do not
202    
203    bison|yacc)    bison|yacc)
204      echo 1>&2 "\      echo 1>&2 "\
205  WARNING: \`$1' is missing on your system.  You should only need it if  WARNING: \`$1' $msg.  You should only need it if
206           you modified a \`.y' file.  You may need the \`Bison' package           you modified a \`.y' file.  You may need the \`Bison' package
207           in order for those modifications to take effect.  You can get           in order for those modifications to take effect.  You can get
208           \`Bison' from any GNU archive site."           \`Bison' from any GNU archive site."
# Line 215  WARNING: \`$1' is missing on your system Line 232  WARNING: \`$1' is missing on your system
232    
233    lex|flex)    lex|flex)
234      echo 1>&2 "\      echo 1>&2 "\
235  WARNING: \`$1' is missing on your system.  You should only need it if  WARNING: \`$1' is $msg.  You should only need it if
236           you modified a \`.l' file.  You may need the \`Flex' package           you modified a \`.l' file.  You may need the \`Flex' package
237           in order for those modifications to take effect.  You can get           in order for those modifications to take effect.  You can get
238           \`Flex' from any GNU archive site."           \`Flex' from any GNU archive site."
# Line 243  WARNING: \`$1' is missing on your system Line 260  WARNING: \`$1' is missing on your system
260      fi      fi
261    
262      echo 1>&2 "\      echo 1>&2 "\
263  WARNING: \`$1' is missing on your system.  You should only need it if  WARNING: \`$1' is $msg.  You should only need it if
264           you modified a dependency of a manual page.  You may need the           you modified a dependency of a manual page.  You may need the
265           \`Help2man' package in order for those modifications to take           \`Help2man' package in order for those modifications to take
266           effect.  You can get \`Help2man' from any GNU archive site."           effect.  You can get \`Help2man' from any GNU archive site."
# Line 268  WARNING: \`$1' is missing on your system Line 285  WARNING: \`$1' is missing on your system
285      fi      fi
286    
287      echo 1>&2 "\      echo 1>&2 "\
288  WARNING: \`$1' is missing on your system.  You should only need it if  WARNING: \`$1' is $msg.  You should only need it if
289           you modified a \`.texi' or \`.texinfo' file, or any other file           you modified a \`.texi' or \`.texinfo' file, or any other file
290           indirectly affecting the aspect of the manual.  The spurious           indirectly affecting the aspect of the manual.  The spurious
291           call might also be the consequence of using a buggy \`make' (AIX,           call might also be the consequence of using a buggy \`make' (AIX,
# Line 323  WARNING: I can't seem to be able to run Line 340  WARNING: I can't seem to be able to run
340    
341    *)    *)
342      echo 1>&2 "\      echo 1>&2 "\
343  WARNING: \`$1' is needed, and you do not seem to have it handy on your  WARNING: \`$1' is needed, and is $msg.
344           system.  You might have modified some files without having the           You might have modified some files without having the
345           proper tools for further handling them.  Check the \`README' file,           proper tools for further handling them.  Check the \`README' file,
346           it often tells you about the needed prerequirements for installing           it often tells you about the needed prerequisites for installing
347           this package.  You may also peek at any GNU archive site, in case           this package.  You may also peek at any GNU archive site, in case
348           some other package would contain this missing \`$1' program."           some other package would contain this missing \`$1' program."
349      exit 1      exit 1
# Line 334  WARNING: \`$1' is needed, and you do not Line 351  WARNING: \`$1' is needed, and you do not
351  esac  esac
352    
353  exit 0  exit 0
354    
355    # Local variables:
356    # eval: (add-hook 'write-file-hooks 'time-stamp)
357    # time-stamp-start: "scriptversion="
358    # time-stamp-format: "%:y-%02m-%02d.%02H"
359    # time-stamp-end: "$"
360    # End:

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26