File: missing

package info (click to toggle)
autogen 5.3.5-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 5,216 kB
  • ctags: 2,706
  • sloc: ansic: 17,527; sh: 11,794; awk: 629; makefile: 556; lisp: 164; yacc: 50
file content (95 lines) | stat: -rwxr-xr-x 1,928 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
#! /bin/sh

run=false
case "$1" in
--run )
  # Try to run requested program, and just exit if it succeeds.
  run=true
  shift
  set -x
  "$@" && exit 0
  set +x
  ;;
esac

exec >&2

exit_code=0

if [ "X$1" = "Xold" ]
then
  shift
  message='**ERROR**:  ``'$1"'' is too out-of-date to bootstrap AutoGen"
else
  message='**ERROR**:  You must have ``'$1"'' installed to bootstrap AutoGen."
fi
message="$message
You must either download the AutoGen distribution package or
get the up-to-date "'``'$1"'' package from:"

case "$1" in
autogen )
  echo "$message"
  echo "    ${2-ftp://ftp.gnu.org/gnu/autogen/}"
  exit_code=1
  ;;

autoconf )
  echo "$message"
  echo "    ${2-ftp://ftp.gnu.org/gnu/autoconf/}"
  touch configure
  ;;

autoheader )
  echo "$message"
  echo "    ${2-ftp://ftp.gnu.org/gnu/autoconf/}"
  files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^)]*\)).*/\1/p' ${configure_ac}`
  test -z "$files" && files="config.h"
  touch_files=
  for f in $files; do
    case "$f" in
    *:*) touch_files="$touch_files "`echo "$f" |
				       sed -e 's/^[^:]*://' -e 's/:.*//'`;;
    *) touch_files="$touch_files $f.in";;
    esac
  done
  touch $touch_files
  ;;

libtoolize )
  echo "$message"
  echo "    ${2-ftp://ftp.gnu.org/gnu/libtool/}"
  ;;

automake )
  echo "$message"
  echo "    ${2-ftp://ftp.gnu.org/gnu/automake/}"
  find . -type f -name Makefile.am -print |
    sed 's/\.am$/.in/' |
    while read f; do touch "$f"; done
  ;;

aclocal )
  echo "$message"
  echo "    ${2-ftp://ftp.gnu.org/gnu/automake/}"
  touch aclocal.m4
  ;;

makeinfo)
  if ${run} && (makeinfo --version) > /dev/null 2>&1
  exit_code=1 ; fi
  ;;

help | "")
  echo '``missing'"''" is used to issue a message and workaround information
  echo for missing development tools.  The tools missing knows about are:
  echo "   " `egrep '^[a-z0-9_-]* *\)' $0 | sed -e 's/ .*//' -e /^help/d `
  ;;

* )
  echo "$message"
  ;;

esac

exit ${exit_code}