From: Nick Bowler Date: Wed, 13 Mar 2013 01:03:59 +0000 (-0400) Subject: fix-gnulib: Add a call to AC_CONFIG_LIBOBJ_DIR X-Git-Url: https://git.draconx.ca/gitweb/dxcommon.git/commitdiff_plain/3bc1572c6a889842c58ab9d1a7958708b2ba8a42 fix-gnulib: Add a call to AC_CONFIG_LIBOBJ_DIR For some reason, the alloca module uses Autoconf's stock LIBOBJ machinery and things explode if AC_CONFIG_LIBOBJ_DIR is not set correctly, because the Gnulib macros sure don't. Add such a call to the included m4 fragment to fix things up. The amount of magic and poor documentation around this feature is astounding. --- diff --git a/scripts/fix-gnulib.pl b/scripts/fix-gnulib.pl index 4b47ce2..2ddf1f8 100755 --- a/scripts/fix-gnulib.pl +++ b/scripts/fix-gnulib.pl @@ -240,6 +240,7 @@ if FALSE ], [dnl M4 code follows AC_SUBST([GLSRC], [lib]) +AC_CONFIG_LIBOBJ_DIR([lib]) AC_DEFUN_ONCE([DX_GLSYM_PREFIX], [dnl AC_REQUIRE([DX_EXPORTED_SH])