GNOME Bugzilla – Bug 443705
libical's AC_CONFIG_AUX_DIR is incorrect
Last modified: 2007-06-09 20:02:35 UTC
Please describe the problem: Cut from calendar/libical/configure.in: dnl Set the aux dir to .. (the toplevel evolution directory) so ylwrap dnl is found in the correct directory for automake >= 1.5 AC_CONFIG_AUX_DIR(..) It should be: AC_CONFIG_AUX_DIR(../..) Steps to reproduce: 1. ./configure Actual results: config.guess ends up in calendar/ Expected results: config.guess ends up in the top level build directory and calendar/libical Does this happen every time? Yes Other information: This bug gives a build error when building, distcleaning and building again. See http://people.debian.org/~lucas/logs/2007/05/15/00_Failed_2/evolution-data-server_1.10.1-2_sid32.buildlog and http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=424199
Created attachment 89296 [details] [review] Couple of fixes including AUX_DIR; fixes double builds butchering config.guess/.sub I confirm the problem. I don't see any reason for the AC_CONFIG_AUX_DIR, especially set to .., and it seems to be fine without; things like ylwrap end up in libical's dir which seems sane. I also fixed AC_INIT which looked for "src" which is obviously not a discriminatory way of locating the source. :-/
Makes sense. Please commit to head.
Committed in trunk as r608: 2007-06-09 Loïc Minier <lool@dooz.org> * configure.in: Use more specific "src/libical/ical.h" in AC_INIT() instead of the generic "src"; remove AC_CONFIG_AUX_DIR() override which was incorrect and was causing rebuilds to fail (#443705)