coin-or-tools / BuildTools

Macros and patches for GNU autotools
https://coin-or-tools.github.io/BuildTools/
Other
3 stars 7 forks source link

abs_*_dir variables do assumptions on configure options #102

Closed svigerske closed 4 years ago

svigerske commented 5 years ago

Issue created by migration from Trac.

Original creator: @svigerske

Original creation time: 2013-04-22 18:19:10

Assignee: @svigerske

Version: 0.7

The code

# Stuff for example Makefiles
if test x$prefix = xNONE; then
  full_prefix=$ac_default_prefix
else
  full_prefix=$prefix
fi
full_prefix=`cd $full_prefix ; pwd`
AC_SUBST(abs_lib_dir)
abs_lib_dir=$full_prefix/lib
AC_SUBST(abs_include_dir)
abs_include_dir=$full_prefix/include
AC_SUBST(abs_bin_dir)
abs_bin_dir=$full_prefix/bin

in the AC_COIN_INIT_AUTOMAKE macro in coin.m4 assume that the user did not specify own values for --exec-prefix, --libdir, and so on.

However, already some newer 64bit systems reset $libdir to $exec_prefix/lib64, see also #90.

svigerske commented 4 years ago

This has been removed in current master. There is no plan to fix this in stable/0.8.