~ubuntu-branches/ubuntu/quantal/gcc-defaults/quantal-proposed

« back to all changes in this revision

Viewing changes to .svn/text-base/c99.svn-base

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2005-12-11 10:58:11 UTC
  • Revision ID: james.westby@ubuntu.com-20051211105811-bjzjotv0gujiqgy6
Tags: 1.30
* Fix gfortran prerm script (closes: #334081).
* Clarify gfortran package description (closes: #333348).
* Remove version number of release, picky RM ... (closes: #321092).
* Build java packages for mips again.
* Update c99(1) man page (closes: #324687).
* Depend on the 3.4.5 final release, depend on the g++ versions
  after changing the libstdc++ allocator.
* Handle /lib/cpp as an alternative.
* gcj: Depend on libgcj-dev and gij.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /bin/sh
 
2
 
 
3
# Call the appropriate C compiler with options to accept ANSI/ISO C
 
4
# The following options are the same (as of gcc-3.3):
 
5
#       -std=c99
 
6
#       -std=c9x
 
7
#       -std=iso9899:1999
 
8
#       -std=iso9899:199x
 
9
 
 
10
extra_flag=-std=c99
 
11
 
 
12
for i; do
 
13
    case "$i" in
 
14
        -std=c9[9x]|-std=iso9899:199[9x])
 
15
            extra_flag=
 
16
            ;;
 
17
        -std=*)
 
18
            echo >&2 "`basename $0` called with non ANSI/ISO C option $i"
 
19
            exit 1
 
20
            ;;
 
21
    esac
 
22
done
 
23
 
 
24
exec cc $extra_flag ${1+"$@"}