pidgin/purple-plugin-pack

Backport Pidgin revision 7c0b396dd7d10b1652d6ae3bfc861dbfde761301:
org.guifications.plugins
2008-11-25, rlaager
f621c9ed0a0a
Parents 2801e5d3fca3
Children 024928dc4d64
Backport Pidgin revision 7c0b396dd7d10b1652d6ae3bfc861dbfde761301:
- Make autogen.sh find autogen.args when /bin/sh is not bash.
- Export CFLAGS and LDFLAGS so that doesn't have to be done in autogen.args.
- Fix a typo and some whitespace inconsistency.
  • +5 -3
    autogen.sh
  • --- a/autogen.sh Tue Nov 25 17:07:17 2008 -0500
    +++ b/autogen.sh Tue Nov 25 17:21:38 2008 -0500
    @@ -36,7 +36,7 @@
    # INTLTOOLIZE_FLAGS - command line arguments to pass to intltoolize
    # LIBTOOLIZE_FLAGS - command line arguments to pass to libtoolize
    #
    -# Other helpfull notes:
    +# Other helpful notes:
    # If you're using a different c compiler, you can override the environment
    # variable in 'autogen.args'. For example, say you're using distcc, just add
    # the following to 'autogen.args':
    @@ -47,6 +47,8 @@
    ###############################################################################
    PACKAGE="Purple Plugin Pack"
    ARGS_FILE="autogen.args"
    +export CFLAGS
    +export LDFLAGS
    libtoolize="libtoolize"
    case $(uname -s) in
    @@ -114,7 +116,7 @@
    if [ -f ${ARGS_FILE} ] ; then
    echo "found."
    printf "%s" "sourcing ${ARGS_FILE}: "
    - . ${ARGS_FILE}
    + . "`dirname "$0"`"/${ARGS_FILE}
    echo "done."
    else
    echo "not found."
    @@ -124,7 +126,7 @@
    # Check for our required helpers
    ###############################################################################
    check "$libtoolize"; LIBTOOLIZE=${BIN};
    -check "intltoolize"; INTLTOOLIZE=${BIN};
    +check "intltoolize"; INTLTOOLIZE=${BIN};
    check "aclocal"; ACLOCAL=${BIN};
    check "autoheader"; AUTOHEADER=${BIN};
    check "automake"; AUTOMAKE=${BIN};