]> git.draconx.ca Git - dxcommon.git/commitdiff
fix-gnulib: Add a call to AC_CONFIG_LIBOBJ_DIR
authorNick Bowler <nbowler@draconx.ca>
Wed, 13 Mar 2013 01:03:59 +0000 (21:03 -0400)
committerNick Bowler <nbowler@draconx.ca>
Wed, 13 Mar 2013 01:06:03 +0000 (21:06 -0400)
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.

scripts/fix-gnulib.pl

index 4b47ce2f4cdc293cf3553f28967ec0c2ac51e395..2ddf1f8ee0ea521ef700264cd52e14f2d40a4239 100755 (executable)
@@ -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])