summaryrefslogtreecommitdiffstats
path: root/libgloss/configure
diff options
context:
space:
mode:
Diffstat (limited to 'libgloss/configure')
-rwxr-xr-xlibgloss/configure13
1 files changed, 12 insertions, 1 deletions
diff --git a/libgloss/configure b/libgloss/configure
index 3b37041ac..5ed759ccd 100755
--- a/libgloss/configure
+++ b/libgloss/configure
@@ -2506,6 +2506,12 @@ host_makefile_frag_path=$host_makefile_frag
+if test "${multilib}" = "yes"; then
+ multilib_arg="--enable-multilib"
+else
+ multilib_arg=
+fi
+
# for now, only add multilibs for specific targets
ac_config_files="$ac_config_files Makefile"
@@ -3080,6 +3086,8 @@ with_multisubdir=${with_multisubdir}
ac_configure_args="--enable-multilib ${ac_configure_args}"
CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
libgloss_topdir=${libgloss_topdir}
+CC="${CC}"
+LDFLAGS=${LDFLAGS}
_ACEOF
@@ -3472,7 +3480,10 @@ s,@INSTALL@,$ac_INSTALL,;t t
# Run the commands associated with the file.
case $ac_file in
- Makefile ) . ${libgloss_topdir}/config-ml.in ;;
+ Makefile ) if test -n "$CONFIG_FILES"; then
+ unset ac_file
+ . ${libgloss_topdir}/config-ml.in
+fi ;;
esac
done
_ACEOF