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.
6
6
# This program is free software; you can redistribute it and/or modify
26
# In the cases where this matters, `missing' is being run in the
28
if test -f configure.in; then
29
configure_ac=configure.ac
31
configure_ac=configure.in
28
36
-h|--h|--he|--hel|--help)
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."
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
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`
86
if test -z "$files"; then
87
files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^):]*\)).*/\1/p' configure.in`
88
test -z "$files" || files="$files.in"
90
files=`echo "$files" | sed -e 's/:/ /g'`
92
test -z "$files" && files="config.h.in"
93
files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' $configure_ac`
94
test -z "$files" && files="config.h"
98
*:*) touch_files="$touch_files "`echo "$f" |
99
sed -e 's/^[^:]*://' -e 's/:.*//'`;;
100
*) touch_files="$touch_files $f.in";;
98
108
WARNING: \`$1' is missing on your system. You should only need it if
99
you modified \`Makefile.am', \`acinclude.m4' or \`configure.in'.
109
you modified \`Makefile.am', \`acinclude.m4' or \`$configure_ac'.
100
110
You might want to install the \`Automake' and \`Perl' packages.
101
111
Grab them from any GNU archive site."
102
find . -type f -name Makefile.am -print \
103
| sed 's/^\(.*\).am$/touch \1.in/' \
112
find . -type f -name Makefile.am -print |
114
while read f; do touch "$f"; done