mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Fix relocation support detection that was broken with autoconf-2.60.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15457 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
c7b436dc34
commit
5ad71286b7
@ -20,8 +20,10 @@ AC_DEFUN([AM_BINRELOC],
|
|||||||
AC_CHECK_FILE([/proc/self/maps])
|
AC_CHECK_FILE([/proc/self/maps])
|
||||||
AC_CACHE_CHECK([whether everything is installed to the same prefix],
|
AC_CACHE_CHECK([whether everything is installed to the same prefix],
|
||||||
[br_cv_valid_prefixes], [
|
[br_cv_valid_prefixes], [
|
||||||
|
# datarootdir variables was introduced with autoconf-2.60
|
||||||
if test "$bindir" = '${exec_prefix}/bin' -a "$sbindir" = '${exec_prefix}/sbin' -a \
|
if test "$bindir" = '${exec_prefix}/bin' -a "$sbindir" = '${exec_prefix}/sbin' -a \
|
||||||
"$datadir" = '${prefix}/share' -a "$libdir" = '${exec_prefix}/lib' -a \
|
\( "$datadir" = '${prefix}/share' -o \( "$datadir" = '${datarootdir}' -a "$datarootdir" = '${prefix}/share' \) \) -a \
|
||||||
|
"$libdir" = '${exec_prefix}/lib' -a \
|
||||||
"$libexecdir" = '${exec_prefix}/libexec' -a "$sysconfdir" = '${prefix}/etc'
|
"$libexecdir" = '${exec_prefix}/libexec' -a "$sysconfdir" = '${prefix}/etc'
|
||||||
then
|
then
|
||||||
br_cv_valid_prefixes=yes
|
br_cv_valid_prefixes=yes
|
||||||
|
Loading…
Reference in New Issue
Block a user