Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2022-01-07 08:53:26 +0300
committerMike Frysinger <vapier@gentoo.org>2022-01-11 03:50:35 +0300
commit7f8fa1de4fd35c96b61d2f80155bc1aa09367e3d (patch)
treed8c8561110289afe1b5cc5b43de5d893874613f4 /libgloss/configure.ac
parentcf8aa432844d912d0a0d2d6bebe2c3de22be0914 (diff)
libgloss: hardcode AC_CONFIG_AUX_DIR path
In order to transition to automake, we have to use hardcoded paths in the AC_CONFIG_AUX_DIR macro call (since automake evaluates the path itself, and doesn't expand vars), so simplify all the calls here.
Diffstat (limited to 'libgloss/configure.ac')
-rw-r--r--libgloss/configure.ac14
1 files changed, 2 insertions, 12 deletions
diff --git a/libgloss/configure.ac b/libgloss/configure.ac
index 0fbe99526..ae8a26d3c 100644
--- a/libgloss/configure.ac
+++ b/libgloss/configure.ac
@@ -7,16 +7,7 @@ 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_CONFIG_AUX_DIR($libgloss_topdir)
+AC_CONFIG_AUX_DIR(..)
AC_PROG_INSTALL
@@ -228,7 +219,7 @@ fi
AC_CONFIG_FILES([Makefile],
[if test -n "$CONFIG_FILES"; then
unset ac_file
- . ${libgloss_topdir}/config-ml.in
+ . ${srcdir}/../config-ml.in
fi],
srcdir=${srcdir}
target=${target}
@@ -236,7 +227,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}
)