Changes configure.ac so that the single recurisve invocation runs with a relative...
authorTim King <taking@google.com>
Fri, 23 Oct 2015 21:16:39 +0000 (14:16 -0700)
committerTim King <taking@google.com>
Sat, 24 Oct 2015 02:11:21 +0000 (19:11 -0700)
configure.ac

index ac68a8edd3baead42d95d3be58031197de9bb643..0b1700cca5c2be3ecf058caf1d7bb365d72753b0 100644 (file)
@@ -394,8 +394,10 @@ elif test "$CVC4_CONFIGURE_AT_TOP_LEVEL" = yes; then
   $as_echo "cd builds/$target/$build_type"
   cd "builds/$target/$build_type"
   CVC4_CONFIGURE_IN_BUILDS=yes; export CVC4_CONFIGURE_IN_BUILDS
+  # Runs the single recursive configure invocation using a relative path.
+  # See https://lists.gnu.org/archive/html/autoconf/2011-04/msg00060.html
   echo "$SHELL ../../../configure ${config_cmdline[[@]]}"
-  "$SHELL" "`pwd`/../../../configure" "${config_cmdline[[@]]}"
+  "$SHELL" "../../../configure" "${config_cmdline[[@]]}"
   exitval=$?
   cd ../../..
   if test $exitval -eq 0; then