Skip to content

Commit

Permalink
Fix issue with builddir when calling configure with absolute path
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeremie Knuesel committed Jun 25, 2014
1 parent 1cee07b commit 6172a99
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion m4/ax_enable_builddir.m4
Expand Up @@ -121,7 +121,8 @@ if test ".$srcdir" = ".." ; then
test -f $srcdir/$cache_file && mv $srcdir/$cache_file .
AC_MSG_RESULT(....exec $SHELL $srcdir/[$]0 "--srcdir=$srcdir" "--enable-builddir=$SUB" ${1+"[$]@"})
case "[$]0" in # restart
[/\\]*) eval $SHELL "'[$]0'" "'--srcdir=$srcdir'" "'--enable-builddir=$SUB'" $ac_configure_args ;;
[[\\/]]* | ?:[[\\/]]*) # Asbolute name
eval $SHELL "'[$]0'" "'--srcdir=$srcdir'" "'--enable-builddir=$SUB'" $ac_configure_args ;;
*) eval $SHELL "'$srcdir/[$]0'" "'--srcdir=$srcdir'" "'--enable-builddir=$SUB'" $ac_configure_args ;;
esac ; exit $?
fi
Expand Down

0 comments on commit 6172a99

Please sign in to comment.