common/autoconf/basics.m4
changeset 28809 6481e27e00ee
parent 28602 51c0dcf51b67
child 28908 fc8fe39b34cf
--- a/common/autoconf/basics.m4	Wed Jul 05 20:18:43 2017 +0200
+++ b/common/autoconf/basics.m4	Fri Feb 06 09:56:30 2015 +0100
@@ -242,6 +242,9 @@
 [
   # Save the original command line. This is passed to us by the wrapper configure script.
   AC_SUBST(CONFIGURE_COMMAND_LINE)
+  # Save the path variable before it gets changed
+  ORIGINAL_PATH="$PATH"
+  AC_SUBST(ORIGINAL_PATH)
   DATE_WHEN_CONFIGURED=`LANG=C date`
   AC_SUBST(DATE_WHEN_CONFIGURED)
   AC_MSG_NOTICE([Configuration created at $DATE_WHEN_CONFIGURED.])