1 # Configure fragment invoked in the post-target section for subdirs
2 # wanting multilib support.
4 # It is advisable to support a few --enable/--disable options to let the
5 # user select which libraries s/he really wants.
7 # Subdirectories wishing to use multilib should put the following lines
8 # in the "post-target" section of configure.in.
10 # if [ "${srcdir}" = "." ] ; then
11 # if [ "${with_target_subdir}" != "." ] ; then
12 # . ${with_multisrctop}../../config-ml.in
14 # . ${with_multisrctop}../config-ml.in
17 # . ${srcdir}/../config-ml.in
21 # Things are complicated because 6 separate cases must be handled:
22 # 2 (native, cross) x 3 (absolute-path, relative-not-dot, dot) = 6.
24 # srcdir=. is special. It must handle make programs that don't handle VPATH.
25 # To implement this, a symlink tree is built for each library and for each
28 # The build tree is layed out as
37 # The nice feature about this arrangement is that inter-library references
38 # in the build tree work without having to care where you are. Note that
39 # inter-library references also work in the source tree because symlink trees
40 # are built when srcdir=.
42 # Unfortunately, trying to access the libraries in the build tree requires
43 # the user to manually choose which library to use as GCC won't be able to
44 # find the right one. This is viewed as the lesser of two evils.
46 # Configure variables:
47 # ${with_target_subdir} = "." for native, or ${target_alias} for cross.
48 # Set by top level Makefile.
49 # ${with_multisrctop} = how many levels of multilibs there are in the source
50 # tree. It exists to handle the case of configuring in the source tree:
51 # ${srcdir} is not constant.
52 # ${with_multisubdir} = name of multilib subdirectory (eg: m68020/m68881).
55 # MULTISRCTOP = number of multilib levels in source tree (+1 if cross)
56 # (FIXME: note that this is different than ${with_multisrctop}. Check out.).
57 # MULTIBUILDTOP = number of multilib levels in build tree
58 # MULTIDIRS = list of multilib subdirs (eg: m68000 m68020 ...)
59 # (only defined in each library's main Makefile).
60 # MULTISUBDIR = installed subdirectory name with leading '/' (eg: /m68000)
61 # (only defined in each multilib subdir).
63 # FIXME: Multilib is currently disabled by default for everything other than
64 # newlib. It is up to each target to turn on multilib support for the other
65 # libraries as desired.
67 # Autoconf incoming variables:
68 # srcdir, host, ac_configure_args
70 # We *could* figure srcdir and host out, but we'd have to do work that
71 # our caller has already done to figure them out and requiring these two
73 # Note that `host' in this case is GCC's `target'. Target libraries are
74 # configured for a particular host.
76 Makefile=${ac_file-Makefile}
77 ml_config_shell=${CONFIG_SHELL-/bin/sh}
78 ml_arguments="${ac_configure_args}"
79 ml_realsrcdir=${srcdir}
81 # Scan all the arguments and set all the ones we need.
84 for option in ${ml_arguments}
87 \'--*\' ) eval option="$option" ;;
89 -*) option=-$option ;;
94 optarg=`echo $option | sed -e 's/^[^=]*=//'`
100 enableopt=`echo ${option} | sed 's:^--disable-:enable_:;s:-:_:g'`
108 enableopt=`echo ${option} | sed 's:^--::;s:=.*$::;s:-:_:g'`
109 eval $enableopt="$optarg"
111 --norecursion | --no*)
114 --silent | --sil* | --quiet | --q*)
117 --verbose | --v | --verb*)
125 withopt=`echo ${option} | sed 's:^--::;s:=.*$::;s:-:_:g'`
126 eval $withopt="$optarg"
129 withopt=`echo ${option} | sed 's:^--::;s:out::;s:-:_:g'`
135 # Only do this if --enable-multilib.
136 if [ "${enable_multilib}" = yes ]; then
138 # Compute whether this is the library's top level directory
139 # (ie: not a multilib subdirectory, and not a subdirectory like newlib/src).
140 # ${with_multisubdir} tells us we're in the right branch, but we could be
141 # in a subdir of that.
142 # ??? The previous version could void this test by separating the process into
143 # two files: one that only the library's toplevel configure.in ran (to
144 # configure the multilib subdirs), and another that all configure.in's ran to
145 # update the Makefile. It seemed reasonable to collapse all multilib support
146 # into one file, but it does leave us with having to perform this test.
148 if [ -z "${with_multisubdir}" ]; then
149 if [ "${srcdir}" = "." ]; then
150 # Use ${ml_realsrcdir} instead of ${srcdir} here to account for ${subdir}.
151 # ${with_target_subdir} = "." for native, otherwise target alias.
152 if [ "${with_target_subdir}" = "." ]; then
153 if [ -f ${ml_realsrcdir}/../config-ml.in ]; then
157 if [ -f ${ml_realsrcdir}/../../config-ml.in ]; then
162 # Use ${ml_realsrcdir} instead of ${srcdir} here to account for ${subdir}.
163 if [ -f ${ml_realsrcdir}/../config-ml.in ]; then
169 # If this is the library's top level directory, set multidirs to the
170 # multilib subdirs to support. This lives at the top because we need
171 # `multidirs' set right away.
173 if [ "${ml_toplevel_p}" = yes ]; then
176 for i in `${CC-gcc} --print-multi-lib 2>/dev/null`; do
177 dir=`echo $i | sed -e 's/;.*$//'`
178 if [ "${dir}" = "." ]; then
181 if [ -z "${multidirs}" ]; then
184 multidirs="${multidirs} ${dir}"
189 # Target libraries are configured for the host they run on, so we check
190 # $host here, not $target.
194 if [ x$enable_biendian != xyes ]
196 old_multidirs=${multidirs}
198 for x in ${old_multidirs}; do
201 *) multidirs="${multidirs} ${x}" ;;
207 if [ x"$enable_fpu" = xno ]
209 old_multidirs=${multidirs}
211 for x in ${old_multidirs}; do
214 *) multidirs="${multidirs} ${x}" ;;
218 if [ x"$enable_26bit" = xno ]
220 old_multidirs=${multidirs}
222 for x in ${old_multidirs}; do
225 *) multidirs="${multidirs} ${x}" ;;
229 if [ x"$enable_underscore" = xno ]
231 old_multidirs=${multidirs}
233 for x in ${old_multidirs}; do
236 *) multidirs="${multidirs} ${x}" ;;
240 if [ x"$enable_interwork" = xno ]
242 old_multidirs=${multidirs}
244 for x in ${old_multidirs}; do
247 *) multidirs="${multidirs} ${x}" ;;
251 if [ x$enable_biendian = xno ]
253 old_multidirs="${multidirs}"
255 for x in ${old_multidirs}; do
259 *) multidirs="${multidirs} ${x}" ;;
263 if [ x"$enable_nofmult" = xno ]
265 old_multidirs="${multidirs}"
267 for x in ${old_multidirs}; do
270 *) multidirs="${multidirs} ${x}" ;;
276 if [ x$enable_softfloat = xno ]
278 old_multidirs="${multidirs}"
280 for x in ${old_multidirs}; do
283 *) multidirs="${multidirs} ${x}" ;;
287 if [ x$enable_m68881 = xno ]
289 old_multidirs="${multidirs}"
291 for x in ${old_multidirs}; do
294 *) multidirs="${multidirs} ${x}" ;;
298 if [ x$enable_m68000 = xno ]
300 old_multidirs="${multidirs}"
302 for x in ${old_multidirs}; do
305 *) multidirs="${multidirs} ${x}" ;;
309 if [ x$enable_m68020 = xno ]
311 old_multidirs="${multidirs}"
313 for x in ${old_multidirs}; do
316 *) multidirs="${multidirs} ${x}" ;;
322 if [ x$enable_single_float = xno ]
324 old_multidirs="${multidirs}"
326 for x in ${old_multidirs}; do
329 *) multidirs="${multidirs} ${x}" ;;
333 if [ x$enable_biendian = xno ]
335 old_multidirs="${multidirs}"
337 for x in ${old_multidirs}; do
341 *) multidirs="${multidirs} ${x}" ;;
345 if [ x$enable_softfloat = xno ]
347 old_multidirs="${multidirs}"
349 for x in ${old_multidirs}; do
352 *) multidirs="${multidirs} ${x}" ;;
356 case " $multidirs " in
358 # We will not be able to create libraries with -mabi=64 if
359 # we cannot even link a trivial program. It usually
360 # indicates the 64bit libraries are missing.
361 if echo 'main() {}' > conftest.c &&
362 ${CC-gcc} -mabi=64 conftest.c -o conftest; then
365 echo Could not link program with -mabi=64, disabling it.
366 old_multidirs="${multidirs}"
368 for x in ${old_multidirs}; do
371 *) multidirs="${multidirs} ${x}" ;;
375 rm -f conftest.c conftest
379 powerpc*-*-* | rs6000*-*-*)
380 if [ x$enable_aix64 = xno ]
382 old_multidirs="${multidirs}"
384 for x in ${old_multidirs}; do
387 *) multidirs="${multidirs} ${x}" ;;
391 if [ x$enable_pthread = xno ]
393 old_multidirs="${multidirs}"
395 for x in ${old_multidirs}; do
398 *) multidirs="${multidirs} ${x}" ;;
402 if [ x$enable_softfloat = xno ]
404 old_multidirs="${multidirs}"
406 for x in ${old_multidirs}; do
409 *) multidirs="${multidirs} ${x}" ;;
413 if [ x$enable_powercpu = xno ]
415 old_multidirs="${multidirs}"
417 for x in ${old_multidirs}; do
419 power | */power | */power/* ) : ;;
420 *) multidirs="${multidirs} ${x}" ;;
424 if [ x$enable_powerpccpu = xno ]
426 old_multidirs="${multidirs}"
428 for x in ${old_multidirs}; do
431 *) multidirs="${multidirs} ${x}" ;;
435 if [ x$enable_powerpcos = xno ]
437 old_multidirs="${multidirs}"
439 for x in ${old_multidirs}; do
441 *mcall-linux* | *mcall-solaris* ) : ;;
442 *) multidirs="${multidirs} ${x}" ;;
446 if [ x$enable_biendian = xno ]
448 old_multidirs="${multidirs}"
450 for x in ${old_multidirs}; do
452 *mlittle* | *mbig* ) : ;;
453 *) multidirs="${multidirs} ${x}" ;;
457 if [ x$enable_sysv = xno ]
459 old_multidirs="${multidirs}"
461 for x in ${old_multidirs}; do
464 *) multidirs="${multidirs} ${x}" ;;
470 case " $multidirs " in
472 # We will not be able to create libraries with -m64 if
473 # we cannot even link a trivial program. It usually
474 # indicates the 64bit libraries are missing.
475 if echo 'main() {}' > conftest.c &&
476 ${CC-gcc} -m64 conftest.c -o conftest; then
479 echo Could not link program with -m64, disabling it.
480 old_multidirs="${multidirs}"
482 for x in ${old_multidirs}; do
485 *) multidirs="${multidirs} ${x}" ;;
489 rm -f conftest.c conftest
495 # Remove extraneous blanks from multidirs.
496 # Tests like `if [ -n "$multidirs" ]' require it.
497 multidirs=`echo "$multidirs" | sed -e 's/^[ ][ ]*//' -e 's/[ ][ ]*$//' -e 's/[ ][ ]*/ /g'`
499 # Add code to library's top level makefile to handle building the multilib
502 cat > Multi.tem <<\EOF
506 # FIXME: There should be an @-sign in front of the `if'.
507 # Leave out until this is tested a bit more.
509 if [ -z "$(MULTIDIRS)" ]; then \
512 rootpre=`${PWD}`/; export rootpre; \
513 srcrootpre=`cd $(srcdir); ${PWD}`/; export srcrootpre; \
514 lib=`echo $${rootpre} | sed -e 's,^.*/\([^/][^/]*\)/$$,\1,'`; \
516 for i in `$${compiler} --print-multi-lib 2>/dev/null`; do \
517 dir=`echo $$i | sed -e 's/;.*$$//'`; \
518 if [ "$${dir}" = "." ]; then \
521 if [ -d ../$${dir}/$${lib} ]; then \
522 flags=`echo $$i | sed -e 's/^[^;]*;//' -e 's/@/ -/g'`; \
523 if (cd ../$${dir}/$${lib}; $(MAKE) $(FLAGS_TO_PASS) \
524 CFLAGS="$(CFLAGS) $${flags}" \
526 exec_prefix="$(exec_prefix)" \
527 GCJFLAGS="$(GCJFLAGS) $${flags}" \
528 CXXFLAGS="$(CXXFLAGS) $${flags}" \
529 LIBCFLAGS="$(LIBCFLAGS) $${flags}" \
530 LIBCXXFLAGS="$(LIBCXXFLAGS) $${flags}" \
531 LDFLAGS="$(LDFLAGS) $${flags}" \
532 DESTDIR="$(DESTDIR)" \
533 INSTALL="$(INSTALL)" \
534 INSTALL_DATA="$(INSTALL_DATA)" \
535 INSTALL_PROGRAM="$(INSTALL_PROGRAM)" \
536 INSTALL_SCRIPT="$(INSTALL_SCRIPT)" \
548 # FIXME: There should be an @-sign in front of the `if'.
549 # Leave out until this is tested a bit more.
551 if [ -z "$(MULTIDIRS)" ]; then \
554 lib=`${PWD} | sed -e 's,^.*/\([^/][^/]*\)$$,\1,'`; \
555 for dir in Makefile $(MULTIDIRS); do \
556 if [ -f ../$${dir}/$${lib}/Makefile ]; then \
557 if (cd ../$${dir}/$${lib}; $(MAKE) $(FLAGS_TO_PASS) $(DO)); \
567 cat ${Makefile} Multi.tem > Makefile.tem
568 rm -f ${Makefile} Multi.tem
569 mv Makefile.tem ${Makefile}
571 fi # ${ml_toplevel_p} = yes
573 if [ "${ml_verbose}" = --verbose ]; then
574 echo "Adding multilib support to Makefile in ${ml_realsrcdir}"
575 if [ "${ml_toplevel_p}" = yes ]; then
576 echo "multidirs=${multidirs}"
578 echo "with_multisubdir=${with_multisubdir}"
581 if [ "${srcdir}" = "." ]; then
582 if [ "${with_target_subdir}" != "." ]; then
591 if [ -z "${with_multisubdir}" ]; then
594 : # ml_srcdotdot= # already set
596 ml_subdir="/${with_multisubdir}"
597 # The '[^/][^/]*' appears that way to work around a SunOS sed bug.
598 ml_builddotdot=`echo ${with_multisubdir} | sed -e 's:[^/][^/]*:..:g'`/
599 if [ "$srcdir" = "." ]; then
600 ml_srcdotdot=${ml_srcdotdot}${ml_builddotdot}
602 : # ml_srcdotdot= # already set
606 if [ "${ml_toplevel_p}" = yes ]; then
614 # TOP is used by newlib and should not be used elsewhere for this purpose.
615 # MULTI{SRC,BUILD}TOP are the proper ones to use. MULTISRCTOP is empty
616 # when srcdir != builddir. MULTIBUILDTOP is always some number of ../'s.
617 # FIXME: newlib needs to be updated to use MULTI{SRC,BUILD}TOP so we can
618 # delete TOP. Newlib may wish to continue to use TOP for its own purposes
620 # MULTIDIRS is non-empty for the cpu top level Makefile (eg: newlib/Makefile)
621 # and lists the subdirectories to recurse into.
622 # MULTISUBDIR is non-empty in each cpu subdirectory's Makefile
623 # (eg: newlib/h8300h/Makefile) and is the installed subdirectory name with
625 # MULTIDO is used for targets like all, install, and check where
626 # $(FLAGS_TO_PASS) augmented with the subdir's compiler option is needed.
627 # MULTICLEAN is used for the *clean targets.
629 # ??? It is possible to merge MULTIDO and MULTICLEAN into one. They are
630 # currently kept separate because we don't want the *clean targets to require
631 # the existence of the compiler (which MULTIDO currently requires) and
632 # therefore we'd have to record the directory options as well as names
633 # (currently we just record the names and use --print-multi-lib to get the
636 sed -e "s:^TOP[ ]*=[ ]*\([./]*\)[ ]*$:TOP = ${ml_builddotdot}\1:" \
637 -e "s:^MULTISRCTOP[ ]*=.*$:MULTISRCTOP = ${ml_srcdotdot}:" \
638 -e "s:^MULTIBUILDTOP[ ]*=.*$:MULTIBUILDTOP = ${ml_builddotdot}:" \
639 -e "s:^MULTIDIRS[ ]*=.*$:MULTIDIRS = ${multidirs}:" \
640 -e "s:^MULTISUBDIR[ ]*=.*$:MULTISUBDIR = ${ml_subdir}:" \
641 -e "s:^MULTIDO[ ]*=.*$:MULTIDO = $ml_do:" \
642 -e "s:^MULTICLEAN[ ]*=.*$:MULTICLEAN = $ml_clean:" \
643 ${Makefile} > Makefile.tem
645 mv Makefile.tem ${Makefile}
647 # If this is the library's top level, configure each multilib subdir.
648 # This is done at the end because this is the loop that runs configure
649 # in each multilib subdir and it seemed reasonable to finish updating the
650 # Makefile before going on to configure the subdirs.
652 if [ "${ml_toplevel_p}" = yes ]; then
654 # We must freshly configure each subdirectory. This bit of code is
655 # actually partially stolen from the main configure script. FIXME.
657 if [ -n "${multidirs}" ] && [ -z "${ml_norecursion}" ]; then
659 if [ "${ml_verbose}" = --verbose ]; then
660 echo "Running configure in multilib subdirs ${multidirs}"
661 echo "pwd: `${PWDCMD-pwd}`"
664 ml_origdir=`${PWDCMD-pwd}`
665 ml_libdir=`echo $ml_origdir | sed -e 's,^.*/,,'`
666 # cd to top-level-build-dir/${with_target_subdir}
669 for ml_dir in ${multidirs}; do
671 if [ "${ml_verbose}" = --verbose ]; then
672 echo "Running configure in multilib subdir ${ml_dir}"
673 echo "pwd: `${PWDCMD-pwd}`"
676 if [ -d ${ml_dir} ]; then true; else
677 # ``mkdir -p ${ml_dir}'' See also mkinstalldirs.
679 for d in `echo ":${ml_dir}" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`; do
680 pathcomp="$pathcomp$d"
682 -* ) pathcomp=./$pathcomp ;;
684 if test ! -d "$pathcomp"; then
685 echo "mkdir $pathcomp" 1>&2
686 mkdir "$pathcomp" > /dev/null 2>&1 || lasterr=$?
688 if test ! -d "$pathcomp"; then
691 pathcomp="$pathcomp/"
694 if [ -d ${ml_dir}/${ml_libdir} ]; then true; else mkdir ${ml_dir}/${ml_libdir}; fi
696 # Eg: if ${ml_dir} = m68000/m68881, dotdot = ../../
697 dotdot=../`echo ${ml_dir} | sed -e 's|[^/]||g' -e 's|/|../|g'`
701 echo Building symlink tree in `${PWDCMD-pwd}`/${ml_dir}/${ml_libdir}
702 if [ "${with_target_subdir}" != "." ]; then
707 (cd ${ml_dir}/${ml_libdir};
708 ../${dotdot}${ml_unsubdir}symlink-tree ../${dotdot}${ml_unsubdir}${ml_libdir} "")
709 if [ -f ${ml_dir}/${ml_libdir}/Makefile ]; then
710 if [ x"${MAKE}" = x ]; then
711 (cd ${ml_dir}/${ml_libdir}; make distclean)
713 (cd ${ml_dir}/${ml_libdir}; ${MAKE} distclean)
718 multisrctop=${dotdot}
722 /* | [A-Za-z]:[\\/]* ) # absolute path
723 ml_newsrcdir=${srcdir}
725 *) # otherwise relative
726 ml_newsrcdir=${dotdot}${srcdir}
729 ml_srcdiroption="-srcdir=${ml_newsrcdir}"
734 case "${progname}" in
735 /* | [A-Za-z]:[\\/]* ) ml_recprog=${progname} ;;
736 *) ml_recprog=${dotdot}${progname} ;;
739 # FIXME: POPDIR=${PWD=`pwd`} doesn't work here.
740 ML_POPDIR=`${PWDCMD-pwd}`
741 cd ${ml_dir}/${ml_libdir}
743 if [ -f ${ml_newsrcdir}/configure ]; then
744 ml_recprog="${ml_newsrcdir}/configure --cache-file=../config.cache"
747 # find compiler flag corresponding to ${ml_dir}
748 for i in `${CC-gcc} --print-multi-lib 2>/dev/null`; do
749 dir=`echo $i | sed -e 's/;.*$//'`
750 if [ "${dir}" = "${ml_dir}" ]; then
751 flags=`echo $i | sed -e 's/^[^;]*;//' -e 's/@/ -/g'`
755 ml_config_env='CC="${CC_}$flags" CXX="${CXX_}$flags" GCJ="${GCJ_}$flags"'
757 if [ "${with_target_subdir}" = "." ]; then
762 # Create a regular expression that matches any string as long
764 popdir_rx=`echo ${ML_POPDIR} | sed 's,.,.,g'`
768 -[BIL]"${ML_POPDIR}"/*)
769 CC_="${CC_}"`echo "X${arg}" | sed -n "s/X\\(-[BIL]${popdir_rx}\\).*/\\1/p"`/${ml_dir}`echo "X${arg}" | sed -n "s/X-[BIL]${popdir_rx}\\(.*\\)/\1/p"`' ' ;;
771 CC_="${CC_}"`echo "X${arg}" | sed -n "s/X\\(${popdir_rx}\\).*/\\1/p"`/${ml_dir}`echo "X${arg}" | sed -n "s/X${popdir_rx}\\(.*\\)/\\1/p"`' ' ;;
773 CC_="${CC_}${arg} " ;;
778 for arg in ${CXX}; do
780 -[BIL]"${ML_POPDIR}"/*)
781 CXX_="${CXX_}"`echo "X${arg}" | sed -n "s/X\\(-[BIL]${popdir_rx}\\).*/\\1/p"`/${ml_dir}`echo "X${arg}" | sed -n "s/X-[BIL]${popdir_rx}\\(.*\\)/\\1/p"`' ' ;;
783 CXX_="${CXX_}"`echo "X${arg}" | sed -n "s/X\\(${popdir_rx}\\).*/\\1/p"`/${ml_dir}`echo "X${arg}" | sed -n "s/X${popdir_rx}\\(.*\\)/\\1/p"`' ' ;;
785 CXX_="${CXX_}${arg} " ;;
790 for arg in ${GCJ}; do
792 -[BIL]"${ML_POPDIR}"/*)
793 GCJ_="${GCJ_}"`echo "X${arg}" | sed -n "s/X\\(-[BIL]${popdir_rx}\\).*/\\1/p"`/${ml_dir}`echo "X${arg}" | sed -n "s/X-[BIL]${popdir_rx}\\(.*\\)/\\1/p"`' ' ;;
795 GCJ_="${GCJ_}"`echo "X${arg}" | sed -n "s/X\\(${popdir_rx}\\).*/\\1/p"`/${ml_dir}`echo "X${arg}" | sed -n "s/X${popdir_rx}\\(.*\\)/\\1/p"`' ' ;;
797 GCJ_="${GCJ_}${arg} " ;;
801 if test "x${LD_LIBRARY_PATH+set}" = xset; then
803 for arg in `echo "$LD_LIBRARY_PATH" | tr ':' ' '`; do
806 arg=`echo "X${arg}" | sed -n "s/X\\(${popdir_rx}\\).*/\\1/p"`/${ml_dir}`echo "X${arg}" | sed -n "s/X${popdir_rx}\\(.*\\)/\\1/p"`
809 if test "x$LD_LIBRARY_PATH_" != x; then
810 LD_LIBRARY_PATH_=$LD_LIBRARY_PATH_:$arg
812 LD_LIBRARY_PATH_=$arg
815 ml_config_env="$ml_config_env LD_LIBRARY_PATH=$LD_LIBRARY_PATH_"
818 if test "x${SHLIB_PATH+set}" = xset; then
820 for arg in `echo "$SHLIB_PATH" | tr ':' ' '`; do
823 arg=`echo "X${arg}" | sed -n "s/X\\(${popdir_rx}\\).*/\\1/p"`/${ml_dir}`echo "X${arg}" | sed -n "s/X${popdir_rx}\\(.*\\)/\\1/p"`
826 if test "x$SHLIB_PATH_" != x; then
827 SHLIB_PATH_=$SHLIB_PATH_:$arg
832 ml_config_env="$ml_config_env SHLIB_PATH=$SHLIB_PATH_"
836 if eval ${ml_config_env} ${ml_config_shell} ${ml_recprog} \
837 --with-multisubdir=${ml_dir} --with-multisrctop=${multisrctop} \
838 ${ml_arguments} ${ml_srcdiroption} ; then
851 fi # ${ml_toplevel_p} = yes
852 fi # ${enable_multilib} = yes