Edit

kc3-lang/libevent/autogen.sh

Branch :

  • Show log

    Commit

  • Author : fanquake
    Date : 2021-11-24 14:41:33
    Hash : 082941ed
    Message : build: remove inconsistently used x-prefix comparisons Given that these are already used inconsistently with `test` checks, it makes sense to consolidate to not use the x-prefix comparisons at all. In any case, it would be nice to think we no longer have to work around a problem that existed in shells many, many years ago. More info: https://github.com/koalaman/shellcheck/wiki/SC2268 https://www.vidarholen.net/contents/blog/?p=1035

  • autogen.sh
  • #!/bin/sh
    
    MAKE=make
    if command -v gmake >/dev/null 2>/dev/null; then
      MAKE=gmake
    fi
    $MAKE maintainer-clean >/dev/null 2>/dev/null
    
    if [ -x "`which autoreconf 2>/dev/null`" ] ; then
       exec autoreconf -ivf
    fi
    
    LIBTOOLIZE=libtoolize
    SYSNAME=`uname`
    if [ "$SYSNAME" = "Darwin" ] ; then
      LIBTOOLIZE=glibtoolize
    fi
    aclocal -I m4 && \
    	autoheader && \
    	$LIBTOOLIZE && \
    	autoconf && \
    	automake --add-missing --force-missing --copy