diff mbox

libcc1: rerun configure when gcc/BASE-VER changes

Message ID mvm60wxuk8g.fsf@hawking.suse.de
State New
Headers show

Commit Message

Andreas Schwab March 8, 2016, 2:17 p.m. UTC
This is needed to get gcc_version updated.

Andreas.

	* configure.ac (CONFIG_STATUS_DEPENDENCIES): Substitute.
	* configure: Regenerate.
	* Makefile.in: Regenerate.

Comments

Jeff Law March 11, 2016, 9:56 p.m. UTC | #1
On 03/08/2016 07:17 AM, Andreas Schwab wrote:
> This is needed to get gcc_version updated.
>
> Andreas.
>
> 	* configure.ac (CONFIG_STATUS_DEPENDENCIES): Substitute.
> 	* configure: Regenerate.
> 	* Makefile.in: Regenerate.
OK.

jeff
diff mbox

Patch

diff --git a/libcc1/configure.ac b/libcc1/configure.ac
index 6c97afd..e2e3fda 100644
--- a/libcc1/configure.ac
+++ b/libcc1/configure.ac
@@ -50,6 +50,7 @@  AC_CHECK_DECLS([basename])
 
 gcc_version=`cat $srcdir/../gcc/BASE-VER`
 AC_SUBST(gcc_version)
+AC_SUBST([CONFIG_STATUS_DEPENDENCIES], ['$(top_srcdir)/../gcc/BASE-VER'])
 
 ACX_PROG_CC_WARNING_OPTS([-W -Wall], [WARN_FLAGS])
 AC_SUBST(WARN_FLAGS)