Bug#418526: Can't open file `${prefix}/share/discover/pci.lst' for reading!
tags 418526 + patch pending
thanks
I investigated, and can reproduce this problem. The values originates
from ./lib/paths.h generated from ./lib/paths.h.in by config.status,
and you are right that the setting should not include the ${prefix}
part.
I believe this patch solve the problem. It is commited to subversion,
and will be part of the next release.
Index: configure.ac
===================================================================
--- configure.ac (revision 1336)
+++ configure.ac (working copy)
@@ -69,6 +69,11 @@
AC_SUBST(LT_REVISION)
AC_SUBST(LT_AGE)
+# unroll $datedir, to make sure the final value is stored in
+# lib/paths.h, and not the one with ${prefix} in it, see #418526
+while echo $datadir |grep -q '\$' ; do
+ datadir="$(eval echo $datadir)"
+done
AC_SUBST_DIR(datadir)
AC_CONFIG_FILES([
Friendly,
--
Petter Reinholdtsen
Reply to: