Mercurial > dillo_port1.3
view autogen.sh @ 2104:3e7e5395f0bc
non-ASCII keybindings
Alexander Voigt has kindly done some testing, and it seems that this
makes bindings to most keys on a German keyboard possible -- except
those that need AltGr don't work yet.
author | corvid <corvid@lavabit.com> |
---|---|
date | Thu, 23 Jun 2011 19:24:11 +0000 |
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