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

« back to all changes in this revision

Viewing changes to configure.ac

  • Committer: Dr. David Alan Gilbert
  • Date: 2011-02-10 18:39:03 UTC
  • Revision ID: david.gilbert@linaro.org-20110210183903-35d3te7ercbhv1d4
Import of fast memchr, strlen and simple strchr from Dave Gilbert's repo

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)
 
1
AC_INIT(cortex-strings, 0.1.1)
 
2
AM_INIT_AUTOMAKE(foreign subdir-objects color-tests)
3
3
AC_CONFIG_HEADERS([config.h])
4
4
AC_CONFIG_FILES(Makefile)
5
5
AC_PROG_LIBTOOL
6
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
AM_CONDITIONAL(WITH_NEON, test x$with_neon = xyes)
 
29
 
7
30
AC_OUTPUT