1 dnl Process this file with autoconf to produce a configure script.
5 if test "$srcdir" = "." ; then
6 if test "${with_target_subdir}" != "." ; then
7 libgloss_topdir="${srcdir}/${with_multisrctop}../../.."
9 libgloss_topdir="${srcdir}/${with_multisrctop}../.."
12 libgloss_topdir="${srcdir}/../.."
14 AC_CONFIG_AUX_DIR($libgloss_topdir)
39 host_makefile_frag=${srcdir}/../config/default.mh
41 dnl We have to assign the same value to other variables because autoconf
42 dnl doesn't provide a mechanism to substitute a replacement keyword with
43 dnl arbitrary data or pathnames.
45 host_makefile_frag_path=$host_makefile_frag
46 AC_SUBST(host_makefile_frag_path)
47 AC_SUBST_FILE(host_makefile_frag)
49 # Configure cpu init plug-ins
50 if test -d "${srcdir}/cpu-init"; then
51 subdirs="${subdirs} cpu-init"
52 AC_CONFIG_SUBDIRS(cpu-init)
56 AC_CONFIG_FILES(Makefile,
57 . ${libgloss_topdir}/config-ml.in,
60 with_multisubdir=${with_multisubdir}
61 ac_configure_args="${ac_configure_args} --enable-multilib"
62 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
63 libgloss_topdir=${libgloss_topdir}