cvs: gd /libgd bootstrap.sh

[email protected] ("Lars Hecking")
Newsgroups php.gd.cvs
Message-ID <cvslhecking1160653003@cvsserver>
lhecking		Thu Oct 12 11:36:43 2006 UTC

  Added files:                 
    /gd/libgd	bootstrap.sh 
  Log:
  Bootstrap script to generate auto* files.
  

http://cvs.php.net/viewvc.cgi/gd/libgd/bootstrap.sh?view=markup&rev=1.1
Index: gd/libgd/bootstrap.sh
+++ gd/libgd/bootstrap.sh
#!/bin/sh --
# $Id: bootstrap.sh,v 1.1 2006/10/12 11:36:43 lhecking Exp $
# Small shell script to build gd from CVS

# allow importing from the environment, e.g.
# "AUTOCONF=autoconf259 ... ./bootstrap.sh"
ACLOCAL=${ACLOCAL:-aclocal}
AUTOCONF=${AUTOCONF:-autoconf}
AUTOHEADER=${AUTOHEADER:-autoheader}
AUTOMAKE=${AUTOMAKE:-automake}

# might handle this differently
AUTOMAKE_FLAGS="--add-missing --copy"

#
CLEANFILES="Makefile Makefile.in aclocal.m4 autom4te.cache config.h config.log \
config.status configure libtool config/Makefile config/Makefile.in \
config/gdlib-config tests/Makefile tests/Makefile.in"

#
rm -rf ${CLEANFILES}

#
if ${ACLOCAL} \
   && ${AUTOHEADER} \
   && ${AUTOMAKE} ${AUTOMAKE_FLAGS} \
   && ${AUTOCONF} && [ -f configure ]
then
  echo Now run configure and make
else
  echo Failed
  exit 1
fi

exit 0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.