~ubuntu-branches/ubuntu/oneiric/lightning-extension/oneiric-updates

« back to all changes in this revision

Viewing changes to build/autoconf/mozconfig2client-mk

  • Committer: Package Import Robot
  • Author(s): Chris Coulson
  • Date: 2012-11-08 10:00:06 UTC
  • mfrom: (1.3.8)
  • Revision ID: package-import@ubuntu.com-20121108100006-xpf89hktfitzuqc3
Tags: 1.9+build1-0ubuntu0.11.10.1
* New upstream stable release to support Thunderbird 17 (CALENDAR_1_9_BUILD1)
  - see LP: #1080212 for USN information

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
# See mozconfig2configure for more details
11
11
 
12
12
print_header() {
13
 
  _mozconfig=${MOZCONFIG:-$HOME/.mozconfig}
14
13
  cat <<EOF
15
14
# gmake
16
15
# This file is automatically generated for client.mk.
17
 
# Do not edit. Edit $_mozconfig instead.
 
16
# Do not edit. Edit $FOUND_MOZCONFIG instead.
18
17
 
19
18
EOF
20
19
}
32
31
  do
33
32
    # Escape shell characters, space, tab, dollar, quote, backslash,
34
33
    # and substitute '@<word>@' with '$(<word>)'.
35
 
    _opt=`echo "$_opt" | sed -e 's/\([\"\\]\)/\\\1/g; s/@\([^@]*\)@/\$(\1)/g;'`
 
34
    _opt=`echo "$_opt" | sed -e 's/\([\"\\]\)/\\\\\1/g; s/@\([^@]*\)@/\$(\1)/g;'`
36
35
    echo $_opt;
37
36
    opts="${opts:+$opts^}$_opt";
38
37
  done
53
52
topsrcdir=$1
54
53
opts=""
55
54
 
56
 
print_header
57
 
 
58
55
# If the path changes, configure should be rerun
59
56
echo "# PATH=$PATH"
60
57
 
72
69
if [ -n $isfoundset ]; then
73
70
  if [ "$FOUND_MOZCONFIG" ]
74
71
  then
 
72
    print_header
75
73
    . "$FOUND_MOZCONFIG"
76
74
  fi
77
75
  echo "export FOUND_MOZCONFIG := $FOUND_MOZCONFIG"