1 dnl Process this file file with autoconf to produce a configure script.
2 dnl This file is a shell script fragment that supplies the information
3 dnl necessary to tailor a template configure script into the configure
4 dnl script appropriate for this directory. For more information, check
5 dnl any existing configure script.
8 AC_INIT(common/bits-tst.c)
12 AC_CONFIG_AUX_DIR(`cd $srcdir;pwd`/../..)
15 # Directories to use in all configurations.
18 # add test sub-directory for appropriate targets
19 testdir=`echo ${target} | sed -e 's/-.*-/-/'`
20 if test -r ${srcdir}/${testdir}/configure ; then
21 configdirs="${configdirs} $testdir"
24 # add any extra subdirectories
27 mips64r5900-sky-elf) configdirs="${configdirs} sky" ;;
33 m32r-*-*) use_cgen=yes ;;
36 if test $use_cgen = yes ; then
37 AC_CHECK_PROG(SCHEME, guile, guile, guile)
40 # Compute the target architecture.
41 # FIXME: Will need to canonicalize some values.
42 # FIXME: Should be in generally accessable place.
44 *) arch=${target_cpu} ;;
48 # configure the subdirectories too
49 AC_CONFIG_SUBDIRS($configdirs)