mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 12:23:04 +00:00
build: use gnulib's non-recursive-gnulib-prefix-hack
Suggested by Jim Meyering. * etc/prefix-gnulib-mk: Remove, as it is now provided by... * bootstrap.conf (modules): the non-recursive-gnulib-prefix-hack module. * build-aux/.gitignore, configure.ac, m4/.gitignore: Adjust.
This commit is contained in:
13
configure.ac
13
configure.ac
@@ -187,19 +187,6 @@ AC_SUBST([GCC])
|
||||
gt_JAVACOMP([1.3], [1.4])
|
||||
gt_JAVAEXEC
|
||||
|
||||
# We use gnulib, but from lib/local.mk instead of lib/Makefile.am.
|
||||
# So prefix paths with lib/. See also etc/prefix-gnulib-mk.
|
||||
gl_LIBOBJS=`echo "$gl_LIBOBJS" | sed -e 's, , lib/,g'`
|
||||
# Listing the names of the variables to prefix is error-prone.
|
||||
# Rather, adjust all the AC_SUBST variables whose name ends in '_H',
|
||||
# and whose content ends in '.h'.
|
||||
for ac_var in $ac_subst_vars
|
||||
do
|
||||
eval "ac_val=\$$ac_var"
|
||||
case $ac_var=$ac_val in
|
||||
(*_H=*.h) eval "$ac_var=lib/\$$ac_var";;
|
||||
esac
|
||||
done
|
||||
AC_CONFIG_FILES([Makefile
|
||||
po/Makefile.in
|
||||
doc/yacc.1])
|
||||
|
||||
Reference in New Issue
Block a user