diff options
Diffstat (limited to 'libgloss/configure')
-rwxr-xr-x | libgloss/configure | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/libgloss/configure b/libgloss/configure index e70c57d..f39de1c 100755 --- a/libgloss/configure +++ b/libgloss/configure @@ -1846,17 +1846,8 @@ if test "${enable_shared}" = "yes" ; then echo "Shared libraries not supported for cross compiling, ignored" fi -if test "${srcdir}" = "." ; then - if test "${with_target_subdir}" != "." ; then - libgloss_topdir="${srcdir}/${with_multisrctop}../.." - else - libgloss_topdir="${srcdir}/${with_multisrctop}.." - fi -else - libgloss_topdir="${srcdir}/.." -fi ac_aux_dir= -for ac_dir in $libgloss_topdir "$srcdir"/$libgloss_topdir; do +for ac_dir in .. "$srcdir"/..; do if test -f "$ac_dir/install-sh"; then ac_aux_dir=$ac_dir ac_install_sh="$ac_aux_dir/install-sh -c" @@ -1872,7 +1863,7 @@ for ac_dir in $libgloss_topdir "$srcdir"/$libgloss_topdir; do fi done if test -z "$ac_aux_dir"; then - as_fn_error $? "cannot find install-sh, install.sh, or shtool in $libgloss_topdir \"$srcdir\"/$libgloss_topdir" "$LINENO" 5 + as_fn_error $? "cannot find install-sh, install.sh, or shtool in .. \"$srcdir\"/.." "$LINENO" 5 fi # These three variables are undocumented and unsupported, @@ -4085,7 +4076,6 @@ host=${host} 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} @@ -4663,7 +4653,7 @@ $as_echo X"$file" | ;; "Makefile":F) if test -n "$CONFIG_FILES"; then unset ac_file - . ${libgloss_topdir}/config-ml.in + . ${srcdir}/../config-ml.in fi ;; esac |