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}
88 -*) option=-$option ;;
93 optarg=`echo $option | sed -e 's/^[^=]*=//'`
99 enableopt=`echo ${option} | sed 's:^--disable-:enable_:;s:-:_:g'`
107 enableopt=`echo ${option} | sed 's:^--::;s:=.*$::;s:-:_:g'`
108 eval $enableopt="$optarg"
110 --norecursion | --no*)
113 --silent | --sil* | --quiet | --q*)
116 --verbose | --v | --verb*)
124 withopt=`echo ${option} | sed 's:^--::;s:=.*$::;s:-:_:g'`
125 eval $withopt="$optarg"
128 withopt=`echo ${option} | sed 's:^--::;s:out::;s:-:_:g'`
134 # Only do this if --enable-multilib.
135 if [ "${enable_multilib}" = yes ]; then
137 # Compute whether this is the library's top level directory
138 # (ie: not a multilib subdirectory, and not a subdirectory like newlib/src).
139 # ${with_multisubdir} tells us we're in the right branch, but we could be
140 # in a subdir of that.
141 # ??? The previous version could void this test by separating the process into
142 # two files: one that only the library's toplevel configure.in ran (to
143 # configure the multilib subdirs), and another that all configure.in's ran to
144 # update the Makefile. It seemed reasonable to collapse all multilib support
145 # into one file, but it does leave us with having to perform this test.
147 if [ -z "${with_multisubdir}" ]; then
148 if [ "${srcdir}" = "." ]; then
149 # Use ${ml_realsrcdir} instead of ${srcdir} here to account for ${subdir}.
150 # ${with_target_subdir} = "." for native, otherwise target alias.
151 if [ "${with_target_subdir}" = "." ]; then
152 if [ -f ${ml_realsrcdir}/../config-ml.in ]; then
156 if [ -f ${ml_realsrcdir}/../../config-ml.in ]; then
161 # Use ${ml_realsrcdir} instead of ${srcdir} here to account for ${subdir}.
162 if [ -f ${ml_realsrcdir}/../config-ml.in ]; then
168 # If this is the library's top level directory, set multidirs to the
169 # multilib subdirs to support. This lives at the top because we need
170 # `multidirs' set right away.
172 if [ "${ml_toplevel_p}" = yes ]; then
175 for i in `${CC-gcc} --print-multi-lib 2>/dev/null`; do
176 dir=`echo $i | sed -e 's/;.*$//'`
177 if [ "${dir}" = "." ]; then
180 if [ -z "${multidirs}" ]; then
183 multidirs="${multidirs} ${dir}"
188 # Target libraries are configured for the host they run on, so we check
189 # $host here, not $target.
193 if [ x$enable_biendian != xyes ]
195 old_multidirs=${multidirs}
197 for x in ${old_multidirs}; do
200 *) multidirs="${multidirs} ${x}" ;;
206 if [ x"$enable_fpu" = xno ]
208 old_multidirs=${multidirs}
210 for x in ${old_multidirs}; do
213 *) multidirs="${multidirs} ${x}" ;;
217 if [ x"$enable_26bit" = xno ]
219 old_multidirs=${multidirs}
221 for x in ${old_multidirs}; do
224 *) multidirs="${multidirs} ${x}" ;;
228 if [ x"$enable_underscore" = xno ]
230 old_multidirs=${multidirs}
232 for x in ${old_multidirs}; do
235 *) multidirs="${multidirs} ${x}" ;;
239 if [ x"$enable_interwork" = xno ]
241 old_multidirs=${multidirs}
243 for x in ${old_multidirs}; do
246 *) multidirs="${multidirs} ${x}" ;;
250 if [ x$enable_biendian = xno ]
252 old_multidirs="${multidirs}"
254 for x in ${old_multidirs}; do
258 *) multidirs="${multidirs} ${x}" ;;
262 if [ x"$enable_nofmult" = xno ]
264 old_multidirs="${multidirs}"
266 for x in ${old_multidirs}; do
269 *) multidirs="${multidirs} ${x}" ;;
275 if [ x$enable_softfloat = xno ]
277 old_multidirs="${multidirs}"
279 for x in ${old_multidirs}; do
282 *) multidirs="${multidirs} ${x}" ;;
286 if [ x$enable_m68881 = xno ]
288 old_multidirs="${multidirs}"
290 for x in ${old_multidirs}; do
293 *) multidirs="${multidirs} ${x}" ;;
297 if [ x$enable_m68000 = xno ]
299 old_multidirs="${multidirs}"
301 for x in ${old_multidirs}; do
304 *) multidirs="${multidirs} ${x}" ;;
308 if [ x$enable_m68020 = xno ]
310 old_multidirs="${multidirs}"
312 for x in ${old_multidirs}; do
315 *) multidirs="${multidirs} ${x}" ;;
321 if [ x$enable_single_float = xno ]
323 old_multidirs="${multidirs}"
325 for x in ${old_multidirs}; do
328 *) multidirs="${multidirs} ${x}" ;;
332 if [ x$enable_biendian = xno ]
334 old_multidirs="${multidirs}"
336 for x in ${old_multidirs}; do
340 *) multidirs="${multidirs} ${x}" ;;
344 if [ x$enable_softfloat = xno ]
346 old_multidirs="${multidirs}"
348 for x in ${old_multidirs}; do
351 *) multidirs="${multidirs} ${x}" ;;
355 case " $multidirs " in
357 # We will not be able to create libraries with -mabi=64 if
358 # we cannot even link a trivial program. It usually
359 # indicates the 64bit libraries are missing.
360 if echo 'main() {}' > conftest.c &&
361 ${CC-gcc} -mabi=64 conftest.c -o conftest; then
364 echo Could not link program with -mabi=64, disabling it.
365 old_multidirs="${multidirs}"
367 for x in ${old_multidirs}; do
370 *) multidirs="${multidirs} ${x}" ;;
374 rm -f conftest.c conftest
378 powerpc*-*-* | rs6000*-*-*)
379 if [ x$enable_aix64 = xno ]
381 old_multidirs="${multidirs}"
383 for x in ${old_multidirs}; do
386 *) multidirs="${multidirs} ${x}" ;;
390 if [ x$enable_pthread = xno ]
392 old_multidirs="${multidirs}"
394 for x in ${old_multidirs}; do
397 *) multidirs="${multidirs} ${x}" ;;
401 if [ x$enable_softfloat = xno ]
403 old_multidirs="${multidirs}"
405 for x in ${old_multidirs}; do
408 *) multidirs="${multidirs} ${x}" ;;
412 if [ x$enable_powercpu = xno ]
414 old_multidirs="${multidirs}"
416 for x in ${old_multidirs}; do
418 power | */power | */power/* ) : ;;
419 *) multidirs="${multidirs} ${x}" ;;
423 if [ x$enable_powerpccpu = xno ]
425 old_multidirs="${multidirs}"
427 for x in ${old_multidirs}; do
430 *) multidirs="${multidirs} ${x}" ;;
434 if [ x$enable_powerpcos = xno ]
436 old_multidirs="${multidirs}"
438 for x in ${old_multidirs}; do
440 *mcall-linux* | *mcall-solaris* ) : ;;
441 *) multidirs="${multidirs} ${x}" ;;
445 if [ x$enable_biendian = xno ]
447 old_multidirs="${multidirs}"
449 for x in ${old_multidirs}; do
451 *mlittle* | *mbig* ) : ;;
452 *) multidirs="${multidirs} ${x}" ;;
456 if [ x$enable_sysv = xno ]
458 old_multidirs="${multidirs}"
460 for x in ${old_multidirs}; do
463 *) multidirs="${multidirs} ${x}" ;;
467 if [ x$enable_aix = xno ]
469 old_multidirs="${multidirs}"
471 for x in ${old_multidirs}; do
474 *) multidirs="${multidirs} ${x}" ;;
480 case " $multidirs " in
482 # We will not be able to create libraries with -m64 if
483 # we cannot even link a trivial program. It usually
484 # indicates the 64bit libraries are missing.
485 if echo 'main() {}' > conftest.c &&
486 ${CC-gcc} -m64 conftest.c -o conftest; then
489 echo Could not link program with -m64, disabling it.
490 old_multidirs="${multidirs}"
492 for x in ${old_multidirs}; do
495 *) multidirs="${multidirs} ${x}" ;;
499 rm -f conftest.c conftest
505 # Remove extraneous blanks from multidirs.
506 # Tests like `if [ -n "$multidirs" ]' require it.
507 multidirs=`echo "$multidirs" | sed -e 's/^[ ][ ]*//' -e 's/[ ][ ]*$//' -e 's/[ ][ ]*/ /g'`
509 # Add code to library's top level makefile to handle building the multilib
512 cat > Multi.tem <<\EOF
516 # FIXME: There should be an @-sign in front of the `if'.
517 # Leave out until this is tested a bit more.
519 if [ -z "$(MULTIDIRS)" ]; then \
522 rootpre=`${PWD}`/; export rootpre; \
523 srcrootpre=`cd $(srcdir); ${PWD}`/; export srcrootpre; \
524 lib=`echo $${rootpre} | sed -e 's,^.*/\([^/][^/]*\)/$$,\1,'`; \
526 for i in `$${compiler} --print-multi-lib 2>/dev/null`; do \
527 dir=`echo $$i | sed -e 's/;.*$$//'`; \
528 if [ "$${dir}" = "." ]; then \
531 if [ -d ../$${dir}/$${lib} ]; then \
532 flags=`echo $$i | sed -e 's/^[^;]*;//' -e 's/@/ -/g'`; \
533 if (cd ../$${dir}/$${lib}; $(MAKE) $(FLAGS_TO_PASS) \
534 CFLAGS="$(CFLAGS) $${flags}" \
536 exec_prefix="$(exec_prefix)" \
537 GCJFLAGS="$(GCJFLAGS) $${flags}" \
538 CXXFLAGS="$(CXXFLAGS) $${flags}" \
539 LIBCFLAGS="$(LIBCFLAGS) $${flags}" \
540 LIBCXXFLAGS="$(LIBCXXFLAGS) $${flags}" \
541 LDFLAGS="$(LDFLAGS) $${flags}" \
542 DESTDIR="$(DESTDIR)" \
554 # FIXME: There should be an @-sign in front of the `if'.
555 # Leave out until this is tested a bit more.
557 if [ -z "$(MULTIDIRS)" ]; then \
560 lib=`${PWD} | sed -e 's,^.*/\([^/][^/]*\)$$,\1,'`; \
561 for dir in Makefile $(MULTIDIRS); do \
562 if [ -f ../$${dir}/$${lib}/Makefile ]; then \
563 if (cd ../$${dir}/$${lib}; $(MAKE) $(FLAGS_TO_PASS) $(DO)); \
573 cat ${Makefile} Multi.tem > Makefile.tem
574 rm -f ${Makefile} Multi.tem
575 mv Makefile.tem ${Makefile}
577 fi # ${ml_toplevel_p} = yes
579 if [ "${ml_verbose}" = --verbose ]; then
580 echo "Adding multilib support to Makefile in ${ml_realsrcdir}"
581 if [ "${ml_toplevel_p}" = yes ]; then
582 echo "multidirs=${multidirs}"
584 echo "with_multisubdir=${with_multisubdir}"
587 if [ "${srcdir}" = "." ]; then
588 if [ "${with_target_subdir}" != "." ]; then
597 if [ -z "${with_multisubdir}" ]; then
600 : # ml_srcdotdot= # already set
602 ml_subdir="/${with_multisubdir}"
603 # The '[^/][^/]*' appears that way to work around a SunOS sed bug.
604 ml_builddotdot=`echo ${with_multisubdir} | sed -e 's:[^/][^/]*:..:g'`/
605 if [ "$srcdir" = "." ]; then
606 ml_srcdotdot=${ml_srcdotdot}${ml_builddotdot}
608 : # ml_srcdotdot= # already set
612 if [ "${ml_toplevel_p}" = yes ]; then
620 # TOP is used by newlib and should not be used elsewhere for this purpose.
621 # MULTI{SRC,BUILD}TOP are the proper ones to use. MULTISRCTOP is empty
622 # when srcdir != builddir. MULTIBUILDTOP is always some number of ../'s.
623 # FIXME: newlib needs to be updated to use MULTI{SRC,BUILD}TOP so we can
624 # delete TOP. Newlib may wish to continue to use TOP for its own purposes
626 # MULTIDIRS is non-empty for the cpu top level Makefile (eg: newlib/Makefile)
627 # and lists the subdirectories to recurse into.
628 # MULTISUBDIR is non-empty in each cpu subdirectory's Makefile
629 # (eg: newlib/h8300h/Makefile) and is the installed subdirectory name with
631 # MULTIDO is used for targets like all, install, and check where
632 # $(FLAGS_TO_PASS) augmented with the subdir's compiler option is needed.
633 # MULTICLEAN is used for the *clean targets.
635 # ??? It is possible to merge MULTIDO and MULTICLEAN into one. They are
636 # currently kept separate because we don't want the *clean targets to require
637 # the existence of the compiler (which MULTIDO currently requires) and
638 # therefore we'd have to record the directory options as well as names
639 # (currently we just record the names and use --print-multi-lib to get the
642 sed -e "s:^TOP[ ]*=[ ]*\([./]*\)[ ]*$:TOP = ${ml_builddotdot}\1:" \
643 -e "s:^MULTISRCTOP[ ]*=.*$:MULTISRCTOP = ${ml_srcdotdot}:" \
644 -e "s:^MULTIBUILDTOP[ ]*=.*$:MULTIBUILDTOP = ${ml_builddotdot}:" \
645 -e "s:^MULTIDIRS[ ]*=.*$:MULTIDIRS = ${multidirs}:" \
646 -e "s:^MULTISUBDIR[ ]*=.*$:MULTISUBDIR = ${ml_subdir}:" \
647 -e "s:^MULTIDO[ ]*=.*$:MULTIDO = $ml_do:" \
648 -e "s:^MULTICLEAN[ ]*=.*$:MULTICLEAN = $ml_clean:" \
649 ${Makefile} > Makefile.tem
651 mv Makefile.tem ${Makefile}
653 # If this is the library's top level, configure each multilib subdir.
654 # This is done at the end because this is the loop that runs configure
655 # in each multilib subdir and it seemed reasonable to finish updating the
656 # Makefile before going on to configure the subdirs.
658 if [ "${ml_toplevel_p}" = yes ]; then
660 # We must freshly configure each subdirectory. This bit of code is
661 # actually partially stolen from the main configure script. FIXME.
663 if [ -n "${multidirs}" ] && [ -z "${ml_norecursion}" ]; then
665 if [ "${ml_verbose}" = --verbose ]; then
666 echo "Running configure in multilib subdirs ${multidirs}"
667 echo "pwd: `${PWDCMD-pwd}`"
670 ml_origdir=`${PWDCMD-pwd}`
671 ml_libdir=`echo $ml_origdir | sed -e 's,^.*/,,'`
672 # cd to top-level-build-dir/${with_target_subdir}
675 for ml_dir in ${multidirs}; do
677 if [ "${ml_verbose}" = --verbose ]; then
678 echo "Running configure in multilib subdir ${ml_dir}"
679 echo "pwd: `${PWDCMD-pwd}`"
682 if [ -d ${ml_dir} ]; then true; else
683 # ``mkdir -p ${ml_dir}'' See also mkinstalldirs.
685 for d in `echo ":${ml_dir}" | sed -ne 's/^:\//#/;s/^://;s/\// /g;s/^#/\//;p'`; do
686 pathcomp="$pathcomp$d"
688 -* ) pathcomp=./$pathcomp ;;
690 if test ! -d "$pathcomp"; then
691 echo "mkdir $pathcomp" 1>&2
692 mkdir "$pathcomp" > /dev/null 2>&1 || lasterr=$?
694 if test ! -d "$pathcomp"; then
697 pathcomp="$pathcomp/"
700 if [ -d ${ml_dir}/${ml_libdir} ]; then true; else mkdir ${ml_dir}/${ml_libdir}; fi
702 # Eg: if ${ml_dir} = m68000/m68881, dotdot = ../../
703 dotdot=../`echo ${ml_dir} | sed -e 's|[^/]||g' -e 's|/|../|g'`
707 echo Building symlink tree in `${PWDCMD-pwd}`/${ml_dir}/${ml_libdir}
708 if [ "${with_target_subdir}" != "." ]; then
713 (cd ${ml_dir}/${ml_libdir};
714 ../${dotdot}${ml_unsubdir}symlink-tree ../${dotdot}${ml_unsubdir}${ml_libdir} "")
715 if [ -f ${ml_dir}/${ml_libdir}/Makefile ]; then
716 if [ x"${MAKE}" = x ]; then
717 (cd ${ml_dir}/${ml_libdir}; make distclean)
719 (cd ${ml_dir}/${ml_libdir}; ${MAKE} distclean)
724 multisrctop=${dotdot}
728 /* | [A-Za-z]:[\\/]* ) # absolute path
729 ml_newsrcdir=${srcdir}
731 *) # otherwise relative
732 ml_newsrcdir=${dotdot}${srcdir}
735 ml_srcdiroption="-srcdir=${ml_newsrcdir}"
740 case "${progname}" in
741 /* | [A-Za-z]:[\\/]* ) ml_recprog=${progname} ;;
742 *) ml_recprog=${dotdot}${progname} ;;
745 # FIXME: POPDIR=${PWD=`pwd`} doesn't work here.
746 ML_POPDIR=`${PWDCMD-pwd}`
747 cd ${ml_dir}/${ml_libdir}
749 if [ -f ${ml_newsrcdir}/configure ]; then
750 ml_recprog="${ml_newsrcdir}/configure --cache-file=../config.cache"
753 # find compiler flag corresponding to ${ml_dir}
754 for i in `${CC-gcc} --print-multi-lib 2>/dev/null`; do
755 dir=`echo $i | sed -e 's/;.*$//'`
756 if [ "${dir}" = "${ml_dir}" ]; then
757 flags=`echo $i | sed -e 's/^[^;]*;//' -e 's/@/ -/g'`
761 ml_config_env='CC="${CC_}$flags" CXX="${CXX_}$flags" GCJ="${GCJ_}$flags"'
763 if [ "${with_target_subdir}" = "." ]; then
768 # Create a regular expression that matches any string as long
770 popdir_rx=`echo ${ML_POPDIR} | sed 's,.,.,g'`
774 -[BIL]"${ML_POPDIR}"/*)
775 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"`' ' ;;
777 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"`' ' ;;
779 CC_="${CC_}${arg} " ;;
784 for arg in ${CXX}; do
786 -[BIL]"${ML_POPDIR}"/*)
787 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"`' ' ;;
789 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"`' ' ;;
791 CXX_="${CXX_}${arg} " ;;
796 for arg in ${GCJ}; do
798 -[BIL]"${ML_POPDIR}"/*)
799 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"`' ' ;;
801 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"`' ' ;;
803 GCJ_="${GCJ_}${arg} " ;;
807 if test "x${LD_LIBRARY_PATH+set}" = xset; then
809 for arg in `echo "$LD_LIBRARY_PATH" | tr ':' ' '`; do
812 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"`
815 if test "x$LD_LIBRARY_PATH_" != x; then
816 LD_LIBRARY_PATH_=$LD_LIBRARY_PATH_:$arg
818 LD_LIBRARY_PATH_=$arg
821 ml_config_env="$ml_config_env LD_LIBRARY_PATH=$LD_LIBRARY_PATH_"
824 if test "x${SHLIB_PATH+set}" = xset; then
826 for arg in `echo "$SHLIB_PATH" | tr ':' ' '`; do
829 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"`
832 if test "x$SHLIB_PATH_" != x; then
833 SHLIB_PATH_=$SHLIB_PATH_:$arg
838 ml_config_env="$ml_config_env SHLIB_PATH=$SHLIB_PATH_"
842 if eval ${ml_config_env} ${ml_config_shell} ${ml_recprog} \
843 --with-multisubdir=${ml_dir} --with-multisrctop=${multisrctop} \
844 ${ml_arguments} ${ml_srcdiroption} ; then
857 fi # ${ml_toplevel_p} = yes
858 fi # ${enable_multilib} = yes