~ubuntu-branches/debian/squeeze/openttd/squeeze

« back to all changes in this revision

Viewing changes to config.lib

  • Committer: Bazaar Package Importer
  • Author(s): Matthijs Kooijman
  • Date: 2010-07-01 08:14:02 UTC
  • mfrom: (1.1.12 upstream)
  • Revision ID: james.westby@ubuntu.com-20100701081402-98jmva0t3sqywxmi
Tags: 1.0.2-1
* [00c4efe] New upstream release 1.0.2.
* [c7b38fd] Break older openttd versions instead of Conflicting with
  them.
* [36bd61f] Bump standards version to 3.9.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# $Id: config.lib 19742 2010-04-30 21:24:33Z rubidium $
 
1
# $Id: config.lib 20000 2010-06-19 16:44:18Z rubidium $
2
2
 
3
3
# This file is part of OpenTTD.
4
4
# OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
11
11
}
12
12
 
13
13
set_default() {
14
 
        released_version="1.0.1"
 
14
        released_version="1.0.2"
15
15
 
16
16
        ignore_extra_parameters="0"
17
17
        # We set all kinds of defaults for params. Later on the user can override
2304
2304
                if [ -z "$res" ]; then
2305
2305
                        log 2 "  trying /usr/local/include/$4$5... no"
2306
2306
                fi
 
2307
                if [ -z "$res" ] && [ "$os" = "NETBSD" ]; then
 
2308
                        eval "$2=`ls -1 /usr/pkg/include/$4*.h 2>/dev/null | egrep \"\/$5\$\"`"
 
2309
                        eval "res=\$$2"
 
2310
                        if [ -z "$res" ]; then
 
2311
                                log 2 "  trying /usr/pkg/include/$4$5... no"
 
2312
                        fi
 
2313
                fi
2307
2314
 
2308
2315
                eval "res=\$$2"
2309
2316
                if [ -n "$res" ] && ( [ -n "$force_static" ] || ( [ "$enable_static" != "0" ] && [ "$os" != "OSX" ] ) ); then