Mercurial > dillo_port1.3
view autogen.sh @ 895:816f3c5f9286
remove unused order_count parameter
It seems that in dillo-0.8.0-css-3 it was used to make sure that later
definitions of the same CSS property have more weight than previous
ones. If for example a first stylesheet sets background-color to
black, and a second stylesheet sets it to green, green should win.
But as we currently parese everything in order (throughing away all
parsed CSS data when a new CSS stylesheet has arrived), we don't
need to remember the original ordering of stylesheets.
author | Johannes Hofmann <Johannes.Hofmann@gmx.de> |
---|---|
date | Mon, 02 Feb 2009 07:40:23 +0100 |
parents | 3297aa761bc2 |
children |
line wrap: on
line source
#!/bin/sh # # Script to generate configure&make stuff # #----------------------------------------------------- # If defined, get these programs from the environment # : ${ACLOCAL:=aclocal} : ${AUTOHEADER:=autoheader} : ${AUTOCONF:=autoconf} : ${AUTOMAKE:=automake} #------------------------- # Required binaries check # check_bin_file(){ which $1 > /dev/null 2>&1 if [ $? = 0 ]; then return 0 else return 1 fi } #------ # Main # #clear ERR="no" for cmd in "$ACLOCAL" "$AUTOHEADER" "$AUTOCONF" "$AUTOMAKE" do if check_bin_file "$cmd" then echo -e "$cmd \tfound" else echo -e "$cmd \tNOT found" ERR="yes" fi done if test $ERR = "yes" then echo echo "ERROR: to run this program you need the following installed" echo " $ACLOCAL $AUTOHEADER $AUTOCONF $AUTOMAKE" echo exit 1 fi echo "[Checks passed]" echo "Generating..." "$ACLOCAL" "$AUTOHEADER" "$AUTOCONF" "$AUTOMAKE" -a