Changeset 9736 for bootstrap


Ignore:
Timestamp:
Apr 7, 2011, 4:18:33 PM (14 years ago)
Author:
bless
Message:
  • some checks for installed tools
File:
1 edited

Legend:

Unmodified
Added
Removed
  • bootstrap

    r4104 r9736  
    1 #! /bin/sh
     1#! /bin/bash
     2
     3fail=0
     4if [ ! -x `which aclocal` ]; then
     5    echo "aclocal is missing, please install automake (e.g., sudo apt-get install automake)"
     6    fail=1
     7fi
     8
     9if [ ! -x `which libtoolize` ]; then
     10    echo "libtoolize is missing, please install libtool (e.g., sudo apt-get install libtool)"
     11    fail=1
     12fi
     13
     14if [ $fail -eq 1 ]; then
     15    echo "Stopped."
     16    exit 1;
     17fi
     18
     19echo "Running autotools..."
    220
    321aclocal \
     
    624&& automake -a --foreign --add-missing \
    725&& autoreconf
     26
     27echo "Done."
     28echo "Now type:"
     29echo "> ./configure"
     30echo "> make"
     31echo "> make install"
     32
Note: See TracChangeset for help on using the changeset viewer.