Changeset 4866 for toilet


Ignore:
Timestamp:
Jun 17, 2013, 3:09:07 PM (6 years ago)
Author:
Sam Hocevar
Message:

build: update bootstrap script.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • toilet/trunk/bootstrap

    r4350 r4866  
    33# bootstrap: generic bootstrap/autogen.sh script for autotools projects
    44#
    5 # Copyright (c) 2002-2009 Sam Hocevar <sam@hocevar.net>
     5# Copyright (c) 2002-2010 Sam Hocevar <sam@hocevar.net>
    66#
    77#    This program is free software. It comes without any warranty, to
     
    99#    and/or modify it under the terms of the Do What The Fuck You Want
    1010#    To Public License, Version 2, as published by Sam Hocevar. See
    11 #    http://sam.zoy.org/wtfpl/COPYING for more details.
     11#    http://www.wtfpl.net/ for more details.
    1212#
    1313# The latest version of this script can be found at the following place:
    14 #   http://caca.zoy.org/wiki/build
     14#    http://caca.zoy.org/wiki/build
    1515
    1616# Die if an error occurs
     
    3737# Check for automake
    3838amvers="no"
    39 for v in 11 10 9 8 7 6 5; do
     39for v in 13 12 11 10 9 8 7 6 5; do
    4040  if automake-1.${v} --version >/dev/null 2>&1; then
    4141    amvers="-1.${v}"
     
    110110    mkdir "$auxdir"
    111111  fi
    112   aclocalflags="${aclocalflags} -I $auxdir -I ."
     112  aclocalflags="-I $auxdir -I . ${aclocalflags}"
    113113fi
     114
     115# Honour M4PATH because sometimes M4 doesn't
     116save_IFS=$IFS
     117IFS=:
     118tmp="$M4PATH"
     119for x in $tmp; do
     120  if test -n "$x"; then
     121    aclocalflags="-I $x ${aclocalflags}"
     122  fi
     123done
     124IFS=$save_IFS
    114125
    115126# Explain what we are doing from now
Note: See TracChangeset for help on using the changeset viewer.