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

« back to all changes in this revision

Viewing changes to configure.ac

  • Committer: Michael Hope
  • Date: 2010-08-26 22:19:29 UTC
  • Revision ID: michael.hope@linaro.org-20100826221929-ppeg01mnpx34aqrp
Pulled in the initial versions

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
AC_INIT(cortexcpu, 0.1)
2
 
AM_INIT_AUTOMAKE(foreign subdir-objects color-tests)
3
 
AC_CONFIG_HEADERS([config.h])
4
 
AC_CONFIG_FILES(Makefile)
5
 
AC_PROG_LIBTOOL
6
 
AM_PROG_AS
7
 
 
8
 
AC_ARG_WITH([cpu],
9
 
            AS_HELP_STRING([--with-cpu=CPU],
10
 
                           [select code for CPU variant @<:@default=cortex-a8@:>@]]),
11
 
            [dnl
12
 
  case "$withval" in
13
 
  yes|'') AC_MSG_ERROR([--with-cpu requires an argument]) ;;
14
 
  no) ;;
15
 
  *) submachine="$withval" ;;
16
 
  esac
17
 
],
18
 
[submachine=cortex-a8])
19
 
 
20
 
AC_SUBST(submachine)
21
 
 
22
 
AC_ARG_WITH([neon],
23
 
            AC_HELP_STRING([--with-neon],
24
 
                           [include NEON specific routines @<:@default=yes@:>@]),
25
 
            [with_neon=$withval],
26
 
            [with_neon=yes])
27
 
AC_SUBST(with_neon)
28
 
 
29
 
AC_OUTPUT