Edit

thodg/cgminer/autogen.sh

Branch :

  • Show log

    Commit

  • Author : Con Kolivas
    Date : 2013-10-16 23:17:55
    Hash : 539f2c35
    Message : Work around older libtoolize that fails without top ltmain.sh not being present during autogen

  • autogen.sh
  • #!/bin/sh
    bs_dir="$(dirname $(readlink -f $0))"
    
    #Some versions of libtoolize don't like there being no ltmain.sh file already
    touch "${bs_dir}"/ltmain.sh
    autoreconf -fi "${bs_dir}"
    
    if test -z "$NOCONFIGURE" ; then
    	echo 'Configuring...'
    	"$bs_dir"/configure "$@"
    fi