GNOME Bugzilla – Bug 682580
gupnp autogen.sh fails non-sourcedir build
Last modified: 2012-11-30 14:44:04 UTC
When building gssdp using JHBuild with buildroot set to different one from checkoutroot, it fails at configure stage with the following message: ---8<--- /home/thep/vcs/gnome_git/gupnp/autogen.sh --prefix /home/gnome3 --libdir '/home/gnome3/lib64' --with-context-manager=network-manager --disable-static --disable-gtk-doc --disable-silent-rules /home/gnome3/bin/gnome-autogen.sh checking for autoconf >= 2.64... testing autoconf2.50... found 2.69 checking for automake >= 1.11... testing automake-1.12... not found. testing automake-1.11... found 1.11.6 Checking for forbidden M4 macros... Running ./configure --prefix /home/gnome3 --libdir /home/gnome3/lib64 --with-context-manager=network-manager --disable-static --disable-gtk-doc --disable-silent-rules ... /home/gnome3/bin/gnome-autogen.sh: line 530: ./configure: No such file or directory ---8<---
Created attachment 222275 [details] [review] autogen.sh fix * Detect $srcdir from command line * Create m4 subdir under $srcdir, not $builddir * Source gnome-autogen.sh in the same shell so that $srcdir is applied
Committed slightly modified version of the patch