summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManish Singh <yosh@src.gnome.org>1998-09-18 02:07:42 +0000
committerManish Singh <yosh@src.gnome.org>1998-09-18 02:07:42 +0000
commit483bec40cc53149cf7712fed823d2bb625ffabda (patch)
tree73e49ef67e5b8b1e901d6f262909b6d31fac151d
parenteb0fec7865bdb3583470ad31448614d14f1ac02e (diff)
downloadgdk-pixbuf-483bec40cc53149cf7712fed823d2bb625ffabda.tar.gz
updated to latest automake version
-Yosh
-rw-r--r--ChangeLog6
-rw-r--r--ChangeLog.pre-2-06
-rw-r--r--ChangeLog.pre-2-106
-rw-r--r--ChangeLog.pre-2-26
-rw-r--r--ChangeLog.pre-2-46
-rw-r--r--ChangeLog.pre-2-66
-rw-r--r--ChangeLog.pre-2-86
-rwxr-xr-xinstall-sh22
-rwxr-xr-xmissing80
-rwxr-xr-xmkinstalldirs18
10 files changed, 137 insertions, 25 deletions
diff --git a/ChangeLog b/ChangeLog
index 40f84da78..0ccc16770 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Thu Sep 17 19:06:47 PDT 1998 Manish Singh <yosh@gimp.org>
+
+ * install-sh
+ * missing
+ * mkinstalldirs: updated to latest automake version
+
1998-09-17 Raja R Harinath <harinath@cs.umn.edu>
* gtk/Makefile.am (source_headers): Move `gtkfeature.h' ...
diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0
index 40f84da78..0ccc16770 100644
--- a/ChangeLog.pre-2-0
+++ b/ChangeLog.pre-2-0
@@ -1,3 +1,9 @@
+Thu Sep 17 19:06:47 PDT 1998 Manish Singh <yosh@gimp.org>
+
+ * install-sh
+ * missing
+ * mkinstalldirs: updated to latest automake version
+
1998-09-17 Raja R Harinath <harinath@cs.umn.edu>
* gtk/Makefile.am (source_headers): Move `gtkfeature.h' ...
diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10
index 40f84da78..0ccc16770 100644
--- a/ChangeLog.pre-2-10
+++ b/ChangeLog.pre-2-10
@@ -1,3 +1,9 @@
+Thu Sep 17 19:06:47 PDT 1998 Manish Singh <yosh@gimp.org>
+
+ * install-sh
+ * missing
+ * mkinstalldirs: updated to latest automake version
+
1998-09-17 Raja R Harinath <harinath@cs.umn.edu>
* gtk/Makefile.am (source_headers): Move `gtkfeature.h' ...
diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2
index 40f84da78..0ccc16770 100644
--- a/ChangeLog.pre-2-2
+++ b/ChangeLog.pre-2-2
@@ -1,3 +1,9 @@
+Thu Sep 17 19:06:47 PDT 1998 Manish Singh <yosh@gimp.org>
+
+ * install-sh
+ * missing
+ * mkinstalldirs: updated to latest automake version
+
1998-09-17 Raja R Harinath <harinath@cs.umn.edu>
* gtk/Makefile.am (source_headers): Move `gtkfeature.h' ...
diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4
index 40f84da78..0ccc16770 100644
--- a/ChangeLog.pre-2-4
+++ b/ChangeLog.pre-2-4
@@ -1,3 +1,9 @@
+Thu Sep 17 19:06:47 PDT 1998 Manish Singh <yosh@gimp.org>
+
+ * install-sh
+ * missing
+ * mkinstalldirs: updated to latest automake version
+
1998-09-17 Raja R Harinath <harinath@cs.umn.edu>
* gtk/Makefile.am (source_headers): Move `gtkfeature.h' ...
diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6
index 40f84da78..0ccc16770 100644
--- a/ChangeLog.pre-2-6
+++ b/ChangeLog.pre-2-6
@@ -1,3 +1,9 @@
+Thu Sep 17 19:06:47 PDT 1998 Manish Singh <yosh@gimp.org>
+
+ * install-sh
+ * missing
+ * mkinstalldirs: updated to latest automake version
+
1998-09-17 Raja R Harinath <harinath@cs.umn.edu>
* gtk/Makefile.am (source_headers): Move `gtkfeature.h' ...
diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8
index 40f84da78..0ccc16770 100644
--- a/ChangeLog.pre-2-8
+++ b/ChangeLog.pre-2-8
@@ -1,3 +1,9 @@
+Thu Sep 17 19:06:47 PDT 1998 Manish Singh <yosh@gimp.org>
+
+ * install-sh
+ * missing
+ * mkinstalldirs: updated to latest automake version
+
1998-09-17 Raja R Harinath <harinath@cs.umn.edu>
* gtk/Makefile.am (source_headers): Move `gtkfeature.h' ...
diff --git a/install-sh b/install-sh
index 89fc9b098..e8436696c 100755
--- a/install-sh
+++ b/install-sh
@@ -1,15 +1,27 @@
-#! /bin/sh
+#!/bin/sh
#
# install - install a program, script, or datafile
-# This comes from X11R5.
+# This comes from X11R5 (mit/util/scripts/install.sh).
+#
+# Copyright 1991 by the Massachusetts Institute of Technology
+#
+# Permission to use, copy, modify, distribute, and sell this software and its
+# documentation for any purpose is hereby granted without fee, provided that
+# the above copyright notice appear in all copies and that both that
+# copyright notice and this permission notice appear in supporting
+# documentation, and that the name of M.I.T. not be used in advertising or
+# publicity pertaining to distribution of the software without specific,
+# written prior permission. M.I.T. makes no representations about the
+# suitability of this software for any purpose. It is provided "as is"
+# without express or implied warranty.
#
# Calling this script install-sh is preferred over install.sh, to prevent
# `make' implicit rules from creating a file called install from it
# when there is no Makefile.
#
# This script is compatible with the BSD install script, but was written
-# from scratch.
-#
+# from scratch. It can only install one file at a time, a restriction
+# shared with many OS's install programs.
# set DOITPROG to echo to test this script
@@ -29,7 +41,7 @@ stripprog="${STRIPPROG-strip}"
rmprog="${RMPROG-rm}"
mkdirprog="${MKDIRPROG-mkdir}"
-tranformbasename=""
+transformbasename=""
transform_arg=""
instcmd="$mvprog"
chmodcmd="$chmodprog 0755"
diff --git a/missing b/missing
index e4b838ca9..cbe2b0ef0 100755
--- a/missing
+++ b/missing
@@ -41,9 +41,11 @@ Supported PROGRAM values:
autoconf touch file \`configure'
autoheader touch file \`config.h.in'
automake touch all \`Makefile.in' files
- bison touch file \`y.tab.c'
+ bison create \`y.tab.[ch]', if possible, from existing .[ch]
+ flex create \`lex.yy.c', if possible, from existing .c
+ lex create \`lex.yy.c', if possible, from existing .c
makeinfo touch the output file
- yacc touch file \`y.tab.c'"
+ yacc create \`y.tab.[ch]', if possible, from existing .[ch]"
;;
-v|--v|--ve|--ver|--vers|--versi|--versio|--version)
@@ -58,7 +60,7 @@ Supported PROGRAM values:
aclocal)
echo 1>&2 "\
-WARNING: \`$1' is missing on your system. It should be needed only if
+WARNING: \`$1' is missing on your system. You should only need it if
you modified \`acinclude.m4' or \`configure.in'. You might want
to install the \`Automake' and \`Perl' packages. Grab them from
any GNU archive site."
@@ -67,7 +69,7 @@ WARNING: \`$1' is missing on your system. It should be needed only if
autoconf)
echo 1>&2 "\
-WARNING: \`$1' is missing on your system. It should be needed only if
+WARNING: \`$1' is missing on your system. You should only need it if
you modified \`configure.in'. You might want to install the
\`Autoconf' and \`GNU m4' packages. Grab them from any GNU
archive site."
@@ -76,16 +78,24 @@ WARNING: \`$1' is missing on your system. It should be needed only if
autoheader)
echo 1>&2 "\
-WARNING: \`$1' is missing on your system. It should be needed only if
+WARNING: \`$1' is missing on your system. You should only need it if
you modified \`acconfig.h' or \`configure.in'. You might want
to install the \`Autoconf' and \`GNU m4' packages. Grab them
from any GNU archive site."
- touch config.h.in
+ files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER([^):]*:\([^)]*\)).*/\1/p' configure.in`
+ if test -z "$files"; then
+ files=`sed -n 's/^[ ]*A[CM]_CONFIG_HEADER(\([^):]*\)).*/\1/p' configure.in`
+ test -z "$files" || files="$files.in"
+ else
+ files=`echo "$files" | sed -e 's/:/ /g'`
+ fi
+ test -z "$files" && files="config.h.in"
+ touch $files
;;
automake)
echo 1>&2 "\
-WARNING: \`$1' is missing on your system. It should be needed only if
+WARNING: \`$1' is missing on your system. You should only need it if
you modified \`Makefile.am', \`acinclude.m4' or \`configure.in'.
You might want to install the \`Automake' and \`Perl' packages.
Grab them from any GNU archive site."
@@ -96,16 +106,60 @@ WARNING: \`$1' is missing on your system. It should be needed only if
bison|yacc)
echo 1>&2 "\
-WARNING: \`$1' is missing on your system. It should be needed only if
- your modified any \`.y' file. For being effective, your
- modifications might require the \`Bison' package. Grab it from
- any GNU archive site."
- touch y.tab.c
+WARNING: \`$1' is missing on your system. You should only need it if
+ you modified a \`.y' file. You may need the \`Bison' package
+ in order for those modifications to take effect. You can get
+ \`Bison' from any GNU archive site."
+ rm -f y.tab.c y.tab.h
+ if [ $# -ne 1 ]; then
+ eval LASTARG="\${$#}"
+ case "$LASTARG" in
+ *.y)
+ SRCFILE=`echo "$LASTARG" | sed 's/y$/c/'`
+ if [ -f "$SRCFILE" ]; then
+ cp "$SRCFILE" y.tab.c
+ fi
+ SRCFILE=`echo "$LASTARG" | sed 's/y$/h/'`
+ if [ -f "$SRCFILE" ]; then
+ cp "$SRCFILE" y.tab.h
+ fi
+ ;;
+ esac
+ fi
+ if [ ! -f y.tab.h ]; then
+ echo >y.tab.h
+ fi
+ if [ ! -f y.tab.c ]; then
+ echo 'main() { return 0; }' >y.tab.c
+ fi
+ ;;
+
+ lex|flex)
+ echo 1>&2 "\
+WARNING: \`$1' is missing on your system. You should only need it if
+ you modified a \`.l' file. You may need the \`Flex' package
+ in order for those modifications to take effect. You can get
+ \`Flex' from any GNU archive site."
+ rm -f lex.yy.c
+ if [ $# -ne 1 ]; then
+ eval LASTARG="\${$#}"
+ case "$LASTARG" in
+ *.l)
+ SRCFILE=`echo "$LASTARG" | sed 's/l$/c/'`
+ if [ -f "$SRCFILE" ]; then
+ cp "$SRCFILE" lex.yy.c
+ fi
+ ;;
+ esac
+ fi
+ if [ ! -f lex.yy.c ]; then
+ echo 'main() { return 0; }' >lex.yy.c
+ fi
;;
makeinfo)
echo 1>&2 "\
-WARNING: \`$1' is missing on your system. It should be needed only if
+WARNING: \`$1' is missing on your system. You should only need it if
you modified a \`.texi' or \`.texinfo' file, or any other file
indirectly affecting the aspect of the manual. The spurious
call might also be the consequence of using a buggy \`make' (AIX,
diff --git a/mkinstalldirs b/mkinstalldirs
index fef1eb941..d0fd194fd 100755
--- a/mkinstalldirs
+++ b/mkinstalldirs
@@ -2,17 +2,20 @@
# mkinstalldirs --- make directory hierarchy
# Author: Noah Friedman <friedman@prep.ai.mit.edu>
# Created: 1993-05-16
-# Last modified: 1994-03-25
# Public domain
+# $Id$
+
errstatus=0
-for file in ${1+"$@"} ; do
+for file
+do
set fnord `echo ":$file" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`
shift
pathcomp=
- for d in ${1+"$@"} ; do
+ for d
+ do
pathcomp="$pathcomp$d"
case "$pathcomp" in
-* ) pathcomp=./$pathcomp ;;
@@ -20,11 +23,12 @@ for file in ${1+"$@"} ; do
if test ! -d "$pathcomp"; then
echo "mkdir $pathcomp" 1>&2
- mkdir "$pathcomp" > /dev/null 2>&1 || lasterr=$?
- fi
- if test ! -d "$pathcomp"; then
- errstatus=$lasterr
+ mkdir "$pathcomp" || lasterr=$?
+
+ if test ! -d "$pathcomp"; then
+ errstatus=$lasterr
+ fi
fi
pathcomp="$pathcomp/"