+2003-04-05 Bruno Haible <bruno@clisp.org>
+
+ * relocatable.m4 (AC_RELOCATABLE_LIBRARY): Use the final value of
+ ${prefix}, not the current value.
+
2003-03-18 Bruno Haible <bruno@clisp.org>
* onceonly.m4: Update from gnulib.
], RELOCATABLE=no)
AC_SUBST(RELOCATABLE)
dnl Easier to put this here once, instead of into the DEFS of each Makefile.
- AC_DEFINE_UNQUOTED([INSTALLPREFIX], ["${prefix}"],
+ if test "X$prefix" = "XNONE"; then
+ reloc_final_prefix="$ac_default_prefix"
+ else
+ reloc_final_prefix="$prefix"
+ fi
+ AC_DEFINE_UNQUOTED([INSTALLPREFIX], ["${reloc_final_prefix}"],
[Define to the value of ${prefix}, as a string.])
])