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

« back to all changes in this revision

Viewing changes to configure.ac

  • Committer: Michael Hope
  • Date: 2012-12-12 01:45:59 UTC
  • Revision ID: michael.hope@linaro.org-20121212014559-iyh2bujvhiyngnh9
Add definitions for LDADD and CFLAGS when building strchr and memchr
tests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
AC_PROG_CC
33
33
AC_PROG_LIBTOOL
34
34
 
35
 
default_submachine=
 
35
default_submachine=native
36
36
 
37
37
case $host in
38
 
aarch64*-*-*)
39
 
  arch=aarch64
40
 
  ;;
41
38
arm*-*-*)
42
39
  arch=aarch32
43
40
  default_submachine=cortex-a9
51
48
esac
52
49
 
53
50
AM_CONDITIONAL([HOST_AARCH32], [test x$arch = xaarch32])
54
 
AM_CONDITIONAL([HOST_AARCH64], [test x$arch = xaarch64])
55
51
AM_CONDITIONAL([HOST_GENERIC], [test x$arch = xgeneric])
56
52
 
57
53
AC_ARG_WITH([cpu],
67
63
[submachine=$default_submachine])
68
64
 
69
65
AC_SUBST(submachine)
70
 
AM_CONDITIONAL([WITH_SUBMACHINE], [test x$submachine != x])
71
66
 
72
67
AC_ARG_WITH([neon],
73
68
            AC_HELP_STRING([--with-neon],