1dnl Process this file file with autoconf to produce a configure script. 2dnl This file is a shell script fragment that supplies the information 3dnl necessary to tailor a template configure script into the configure 4dnl script appropriate for this directory. For more information, check 5dnl any existing configure script. 6 7AC_PREREQ(2.59) 8AC_INIT(common/bits-tst.c) 9 10CC=${CC-cc} 11AC_SUBST(CC) 12AC_CONFIG_AUX_DIR(`cd $srcdir;pwd`/../..) 13AC_CANONICAL_SYSTEM 14 15# Configure sub-directory for appropriate targets 16case ${target} in 17 frv-*-elf ) 18 AC_CONFIG_SUBDIRS(frv-elf) 19 ;; 20 m32r-*-elf ) 21 AC_CONFIG_SUBDIRS(m32r-elf) 22 ;; 23 mips64el-*-elf ) 24 AC_CONFIG_SUBDIRS(mips64el-elf) 25 ;; 26esac 27 28# Compute the target architecture. 29# FIXME: Will need to canonicalize some values. 30# FIXME: Should be in generally accessable place. 31case $target in 32 *) arch=${target_cpu} ;; 33esac 34AC_SUBST(arch) 35 36AC_OUTPUT(Makefile) 37