2000-02-18 03:39:52 +08:00
|
|
|
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(../../..)
|
|
|
|
|
2002-04-20 03:16:22 +08:00
|
|
|
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)
|
|
|
|
|
2000-02-18 03:39:52 +08:00
|
|
|
AC_OUTPUT(Makefile)
|