From 4e90a7d5fbda827e04a5361d05bc7222c1f7e574 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sat, 12 Aug 1995 23:27:18 +0000 Subject: [PATCH] (CFLAGS): When computing CFLAGS and REAL_CFLAGS from config.h, use SPECIFIED_CFLAGS to get what the user specified. (alpha-*-linux*): New configuration. --- configure.in | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/configure.in b/configure.in index efb3940d3b0..6073ad8101f 100644 --- a/configure.in +++ b/configure.in @@ -164,10 +164,15 @@ case "${canonical}" in machine=alliant-2800 opsys=bsd4-3 ;; + ;; Alpha (DEC) machines. alpha-dec-osf* ) machine=alpha opsys=osf1 ;; + alpha-*-linux* ) + machine=alpha opsys=linux + ;; + ## Altos 3068 m68*-altos-sysv* ) machine=altos opsys=usg5-2 @@ -1095,18 +1100,18 @@ configure___ system_malloc=no /* Get the CFLAGS for tests in configure. */ #ifdef __GNUC__ -configure___ CFLAGS=C_DEBUG_SWITCH C_OPTIMIZE_SWITCH '${CFLAGS}' +configure___ CFLAGS=C_DEBUG_SWITCH C_OPTIMIZE_SWITCH '${SPECIFIED_CFLAGS}' #else -configure___ CFLAGS=C_DEBUG_SWITCH '${CFLAGS}' +configure___ CFLAGS=C_DEBUG_SWITCH '${SPECIFIED_CFLAGS}' #endif #else /* not THIS_IS_CONFIGURE */ /* Get the CFLAGS for real compilation. */ #ifdef __GNUC__ -configure___ REAL_CFLAGS=C_DEBUG_SWITCH C_OPTIMIZE_SWITCH '${CFLAGS}' +configure___ REAL_CFLAGS=C_DEBUG_SWITCH C_OPTIMIZE_SWITCH '${SPECIFIED_CFLAGS}' #else -configure___ REAL_CFLAGS=C_DEBUG_SWITCH '${CFLAGS}' +configure___ REAL_CFLAGS=C_DEBUG_SWITCH '${SPECIFIED_CFLAGS}' #endif #endif /* not THIS_IS_CONFIGURE */ -- 2.39.2