anastasis-gtk

Demonstrator GUI for Anastasis
Log | Files | Refs | README | LICENSE

bootstrap (631B)


      1 #!/bin/sh
      2 # This file is in the public domain.
      3 echo "Removing folder 'libltdl'..."
      4 rm -rf libltdl
      5 
      6 # Install clang format symlink (if possible)
      7 ln -s contrib/clang-format .clang-format 2> /dev/null
      8 
      9 echo "checking for libtoolize / libtool... "
     10 
     11 # This is more portable than `which' but comes with
     12 # the caveat of not(?) properly working on busybox's ash:
     13 existence()
     14 {
     15     command -v "$1" >/dev/null 2>&1
     16 }
     17 
     18 if existence libtool || existence libtoolize || existence glibtoolize; then
     19     autoreconf -if
     20     . "contrib/pogen.sh"
     21 else
     22     echo "*** No libtoolize (libtool) or libtool found, please install it ***" >&2;
     23     exit 1
     24 fi