Edit

kc3-lang/libqrencode/autogen.sh

Branch :

  • Browse

    Commit

  • Author : fukuchi
    Date : 2008-10-10 18:37:37
    Hash : a3ee2d4a
    Message : Darwin workaround.

  • autogen.sh
  • #!/bin/sh
    
    set -e
    
    if [ `uname -s` = Darwin ]; then
        LIBTOOLIZE=glibtoolize
    else
        LIBTOOLIZE=libtoolize
    fi
    
    if [ -d /usr/local/share/aclocal ]; then
        ACLOCAL_DIR=/usr/local/share/aclocal
    else if [ -d /usr/share/aclocal ]; then
        ACLOCAL_DIR=/usr/share/aclocal
        fi
    fi
    
    if [ ! -d use ]; then
        mkdir use
    fi
    
    autoheader
    
    aclocal -I $ACLOCAL_DIR
    
    $LIBTOOLIZE --automake --copy
    automake --add-missing --copy
    
    autoconf