~ubuntu-branches/ubuntu/warty/avr-libc/warty

« back to all changes in this revision

Viewing changes to missing

  • Committer: Bazaar Package Importer
  • Author(s): Hakan Ardo
  • Date: 2004-03-29 15:08:19 UTC
  • Revision ID: james.westby@ubuntu.com-20040329150819-ditjnl78x2q1k2s7
Tags: 1:1.0.3-1
Upstream update

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
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, 2002 Free Software Foundation, Inc.
4
4
# Franc,ois Pinard <pinard@iro.umontreal.ca>, 1996.
5
5
 
6
6
# This program is free software; you can redistribute it and/or modify
23
23
  exit 1
24
24
fi
25
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
 
26
34
case "$1" in
27
35
 
28
36
  -h|--h|--he|--hel|--help)
58
66
    exit 1
59
67
    ;;
60
68
 
61
 
  aclocal)
 
69
  aclocal*)
62
70
    echo 1>&2 "\
63
71
WARNING: \`$1' is missing on your system.  You should only need it if
64
 
         you modified \`acinclude.m4' or \`configure.in'.  You might want
 
72
         you modified \`acinclude.m4' or \`$configure_ac'.  You might want
65
73
         to install the \`Automake' and \`Perl' packages.  Grab them from
66
74
         any GNU archive site."
67
75
    touch aclocal.m4
70
78
  autoconf)
71
79
    echo 1>&2 "\
72
80
WARNING: \`$1' is missing on your system.  You should only need it if
73
 
         you modified \`configure.in'.  You might want to install the
 
81
         you modified \`$configure_ac'.  You might want to install the
74
82
         \`Autoconf' and \`GNU m4' packages.  Grab them from any GNU
75
83
         archive site."
76
84
    touch configure
79
87
  autoheader)
80
88
    echo 1>&2 "\
81
89
WARNING: \`$1' is missing on your system.  You should only need it if
82
 
         you modified \`acconfig.h' or \`configure.in'.  You might want
 
90
         you modified \`acconfig.h' or \`$configure_ac'.  You might want
83
91
         to install the \`Autoconf' and \`GNU m4' packages.  Grab them
84
92
         from any GNU archive site."
85
 
    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`
86
94
    test -z "$files" && files="config.h"
87
95
    touch_files=
88
96
    for f in $files; do
95
103
    touch $touch_files
96
104
    ;;
97
105
 
98
 
  automake)
 
106
  automake*)
99
107
    echo 1>&2 "\
100
108
WARNING: \`$1' is missing on your system.  You should only need it if
101
 
         you modified \`Makefile.am', \`acinclude.m4' or \`configure.in'.
 
109
         you modified \`Makefile.am', \`acinclude.m4' or \`$configure_ac'.
102
110
         You might want to install the \`Automake' and \`Perl' packages.
103
111
         Grab them from any GNU archive site."
104
112
    find . -type f -name Makefile.am -print |