~linaro-toolchain-dev/cortex-strings/trunk

83 by Michael Hope
Remove trailing whitespace.
1
# Copyright (c) 2011-2012, Linaro Limited
45 by Michael Hope
Removed obsolete build files. Updated the license on more files.
2
# All rights reserved.
83 by Michael Hope
Remove trailing whitespace.
3
#
45 by Michael Hope
Removed obsolete build files. Updated the license on more files.
4
# Redistribution and use in source and binary forms, with or without
5
# modification, are permitted provided that the following conditions are met:
6
#     * Redistributions of source code must retain the above copyright
7
#       notice, this list of conditions and the following disclaimer.
8
#     * Redistributions in binary form must reproduce the above copyright
9
#       notice, this list of conditions and the following disclaimer in the
10
#       documentation and/or other materials provided with the distribution.
11
#     * Neither the name of the Linaro nor the
12
#       names of its contributors may be used to endorse or promote products
13
#       derived from this software without specific prior written permission.
83 by Michael Hope
Remove trailing whitespace.
14
#
45 by Michael Hope
Removed obsolete build files. Updated the license on more files.
15
# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
16
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
17
# WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
53 by Michael Hope
Changed 'Linaro Inc.' for the correct 'Linaro Limited' everywhere.
18
# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
45 by Michael Hope
Removed obsolete build files. Updated the license on more files.
19
# DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
20
# (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
21
# LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
22
# ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23
# (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
83 by Michael Hope
Remove trailing whitespace.
24
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
45 by Michael Hope
Removed obsolete build files. Updated the license on more files.
25
68 by Michael Hope
Bump the version number.
26
AC_INIT(cortex-strings, 1.1-2012.06~dev)
60 by Michael Hope
Switch to using bz2 for make dist as that's the toolchain standard.
27
AM_INIT_AUTOMAKE(foreign subdir-objects color-tests dist-bzip2)
7 by Michael Hope
Pulled in the routines and packaged them up.
28
AC_CONFIG_HEADERS([config.h])
29
AC_CONFIG_FILES(Makefile)
84 by Michael Hope
Support for --host=TRIPLE to configure which is convenient for cross
30
AC_CANONICAL_HOST
31
AM_PROG_AS
32
AC_PROG_CC
7 by Michael Hope
Pulled in the routines and packaged them up.
33
AC_PROG_LIBTOOL
11 by Michael Hope
Added GLIBC add-on support
34
35
AC_ARG_WITH([cpu],
36
	    AS_HELP_STRING([--with-cpu=CPU],
23 by Michael Hope
Bump the version number to show that its from bzr. Change the default CPU to the A9. Tune for the given CPU.
37
                           [select code for CPU variant @<:@default=cortex-a9@:>@]]),
11 by Michael Hope
Added GLIBC add-on support
38
	    [dnl
39
  case "$withval" in
40
  yes|'') AC_MSG_ERROR([--with-cpu requires an argument]) ;;
41
  no) ;;
42
  *) submachine="$withval" ;;
43
  esac
44
],
23 by Michael Hope
Bump the version number to show that its from bzr. Change the default CPU to the A9. Tune for the given CPU.
45
[submachine=cortex-a9])
11 by Michael Hope
Added GLIBC add-on support
46
47
AC_SUBST(submachine)
48
49
AC_ARG_WITH([neon],
50
            AC_HELP_STRING([--with-neon],
51
                           [include NEON specific routines @<:@default=yes@:>@]),
52
	    [with_neon=$withval],
53
	    [with_neon=yes])
54
AC_SUBST(with_neon)
16 by Michael Hope
Added autogen.sh. Tidied up the NEON configure rules using AM_CONDITIONAL. Made make distcheck pass.
55
AM_CONDITIONAL(WITH_NEON, test x$with_neon = xyes)
11 by Michael Hope
Added GLIBC add-on support
56
7 by Michael Hope
Pulled in the routines and packaged them up.
57
AC_OUTPUT