dnl This is the newlib/libc/machine/powerpc configure.in file.
dnl Process this file with autoconf to produce a configure script.

AC_PREREQ(2.5)
AC_INIT(setjmp.S)

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

NEWLIB_CONFIGURE(../../..)

extra_objs=
extra_sources=
case $host in
  powerpc*-*altivec*)
	extra_objs="vfprintf.o vfscanf.o vec_malloc.o vec_calloc.o vec_free.o vec_realloc.o vec_reallocr.o vec_callocr.o"
	extra_sources="vfprintf.c vfscanf.c vec_malloc.c vec_calloc.c vec_free.c vec_realloc.c vec_mallocr.c"
	;;
esac
AC_SUBST(extra_objs)
AC_SUBST(extra_sources)

AC_OUTPUT(Makefile)
