"Fossies" - the Fresh Open Source Software Archive

Member "Tk-804.036/PNG/libpng/autogen.sh" (16 Nov 2013, 615 Bytes) of package /linux/misc/Tk-804.036.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 #! /bin/sh
    2 # a quick hack script to generate necessary files from 
    3 # auto* tools.
    4 #
    5 # WARNING: if you run this you will change the versions
    6 # of the tools which are used and, maybe, required!
    7         touch Makefile.am configure.ac
    8 {
    9     echo "running libtoolize" >&2
   10     libtoolize --copy --automake
   11 } && {
   12     echo "running aclocal" >&2
   13     aclocal
   14 } && {
   15     echo "running autoheader [ignore the warnings]" >&2
   16     autoheader
   17 } && {
   18     echo "running automake" >&2
   19     automake --foreign -a -c
   20 } && {
   21     echo "running autoconf" >&2
   22     autoconf
   23 } &&
   24     echo "autogen complete" >&2 ||
   25     echo "ERROR: autogen.sh failed, autogen is incomplete" >&2