Dont use "function" since it breaks on some bourne shells.

This commit is contained in:
ramiro%netscape.com 1998-07-18 06:28:19 +00:00
parent 67b496768e
commit 0e1d81de41
3 changed files with 7 additions and 8 deletions

View File

@ -62,7 +62,7 @@ GLIBC_CC=cc
GLIBC_CLEANUP=False
function glibc_usage()
glibc_usage()
{
echo
echo "Usage: `basename $0` [options]"
@ -138,7 +138,7 @@ GLIBC_SRC="$GLIBC_PROG_PREFIX"_"$GLIBC_OBJECT_NAME.c"
##
## Cleanup the dummy test source/program
##
function glibc_cleanup()
glibc_cleanup()
{
rm -f $GLIBC_PROG $GLIBC_SRC
}

View File

@ -177,7 +177,7 @@ MOTIF_STATIC_FLAGS=unknown
MOTIF_DYNAMIC_FLAGS=unknown
MOTIF_DYNAMIC_PATHS=unknown
function motif_usage()
motif_usage()
{
echo
echo "Usage: `basename $0` [options]"
@ -363,7 +363,7 @@ MOTIF_STATIC_LIB_NAME=libXm.$MOTIF_STATIC_EXT
##
## Cleanup the dummy test source/program
##
function motif_cleanup()
motif_cleanup()
{
rm -f $MOTIF_PROG $MOTIF_SRC
}
@ -371,7 +371,7 @@ function motif_cleanup()
##
## Check whether the motif libs need Xpm
##
function motif_check_xpm()
motif_check_xpm()
{
_lib=
_count=0

View File

@ -97,7 +97,6 @@ DEFAULT_X11_SEARCH_PATH="\
/usr/local \
/usr/openwin \
/usr/X11R6 \
/usr/include/X11 \
/usr \
"
@ -167,7 +166,7 @@ X11_STATIC_FLAGS=unknown
X11_DYNAMIC_FLAGS=unknown
X11_DYNAMIC_PATHS=unknown
function x11_usage()
x11_usage()
{
echo
echo "Usage: `basename $0` [options]"
@ -339,7 +338,7 @@ X11_STATIC_LIB_NAME=libX11.$X11_STATIC_EXT
##
## Cleanup the dummy test source/program
##
function x11_cleanup()
x11_cleanup()
{
rm -f $X11_PROG $X11_SRC
}