aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/machine/sh/configure.in
blob: 7fb5afd0efa28218e570cbca6278e4e7ada4b630 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
dnl This is the newlib/libc/machine/sh configure.in file.
dnl Process this file with autoconf to produce a configure script.

AC_PREREQ(2.5)
AC_INIT(asm.h)

dnl Can't be done in NEWLIB_CONFIGURE because that confuses automake. 
AC_CONFIG_AUX_DIR(../../../..)

NEWLIB_CONFIGURE(../../..)

AC_EGREP_CPP([sh5], [
#if __SH5__
  sh5
#endif
], [have_sh64=yes], [have_sh64=no])
AM_CONDITIONAL(SH64, [test $have_sh64 = yes])

AC_OUTPUT(Makefile)