sim: set up build-time compiler settings

Some sim dirs were already setting up CFLAGS_FOR_BUILD in inconsistent
ways.  Move it to a common place for reuse.
This commit is contained in:
Mike Frysinger 2021-02-21 22:15:03 -05:00
parent a3e2cc64a6
commit c25ea03dd6
32 changed files with 313 additions and 277 deletions

View File

@ -1,3 +1,8 @@
2021-02-28 Mike Frysinger <vapier@gentoo.org>
* m4/sim_ac_common.m4 (SIM_AC_COMMON): Delete CC_FOR_BUILD test.
Change CC_FOR_BUILD assignment. Define CFLAGS_FOR_BUILD.
2021-02-28 Mike Frysinger <vapier@gentoo.org>
* m4/sim_ac_common.m4 (SIM_AC_COMMON): Replace AR assignment and

19
sim/aarch64/configure vendored
View File

@ -689,6 +689,7 @@ PACKAGE
C_DIALECT
RANLIB
AR
CFLAGS_FOR_BUILD
CC_FOR_BUILD
INSTALL_DATA
INSTALL_SCRIPT
@ -6763,17 +6764,17 @@ $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
# Put a plausible default for CC_FOR_BUILD in Makefile.
if test -z "$CC_FOR_BUILD"; then
if test "x$cross_compiling" = "xno"; then
CC_FOR_BUILD='$(CC)'
else
CC_FOR_BUILD=gcc
fi
if test "x$cross_compiling" = "xno"; then
: "${CC_FOR_BUILD:=\$(CC)}"
: "${CFLAGS_FOR_BUILD:=\$(CFLAGS)}"
else
: "${CC_FOR_BUILD:=gcc}"
: "${CFLAGS_FOR_BUILD:=-g -O}"
fi
if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
set dummy ${ac_tool_prefix}ar; ac_word=$2
@ -11227,7 +11228,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11230 "configure"
#line 11231 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -11333,7 +11334,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11336 "configure"
#line 11337 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H

19
sim/arm/configure vendored
View File

@ -689,6 +689,7 @@ PACKAGE
C_DIALECT
RANLIB
AR
CFLAGS_FOR_BUILD
CC_FOR_BUILD
INSTALL_DATA
INSTALL_SCRIPT
@ -6763,17 +6764,17 @@ $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
# Put a plausible default for CC_FOR_BUILD in Makefile.
if test -z "$CC_FOR_BUILD"; then
if test "x$cross_compiling" = "xno"; then
CC_FOR_BUILD='$(CC)'
else
CC_FOR_BUILD=gcc
fi
if test "x$cross_compiling" = "xno"; then
: "${CC_FOR_BUILD:=\$(CC)}"
: "${CFLAGS_FOR_BUILD:=\$(CFLAGS)}"
else
: "${CC_FOR_BUILD:=gcc}"
: "${CFLAGS_FOR_BUILD:=-g -O}"
fi
if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
set dummy ${ac_tool_prefix}ar; ac_word=$2
@ -11227,7 +11228,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11230 "configure"
#line 11231 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -11333,7 +11334,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11336 "configure"
#line 11337 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H

19
sim/avr/configure vendored
View File

@ -689,6 +689,7 @@ PACKAGE
C_DIALECT
RANLIB
AR
CFLAGS_FOR_BUILD
CC_FOR_BUILD
INSTALL_DATA
INSTALL_SCRIPT
@ -6763,17 +6764,17 @@ $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
# Put a plausible default for CC_FOR_BUILD in Makefile.
if test -z "$CC_FOR_BUILD"; then
if test "x$cross_compiling" = "xno"; then
CC_FOR_BUILD='$(CC)'
else
CC_FOR_BUILD=gcc
fi
if test "x$cross_compiling" = "xno"; then
: "${CC_FOR_BUILD:=\$(CC)}"
: "${CFLAGS_FOR_BUILD:=\$(CFLAGS)}"
else
: "${CC_FOR_BUILD:=gcc}"
: "${CFLAGS_FOR_BUILD:=-g -O}"
fi
if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
set dummy ${ac_tool_prefix}ar; ac_word=$2
@ -11227,7 +11228,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11230 "configure"
#line 11231 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -11333,7 +11334,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11336 "configure"
#line 11337 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H

19
sim/bfin/configure vendored
View File

@ -690,6 +690,7 @@ PACKAGE
C_DIALECT
RANLIB
AR
CFLAGS_FOR_BUILD
CC_FOR_BUILD
INSTALL_DATA
INSTALL_SCRIPT
@ -6786,17 +6787,17 @@ $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
# Put a plausible default for CC_FOR_BUILD in Makefile.
if test -z "$CC_FOR_BUILD"; then
if test "x$cross_compiling" = "xno"; then
CC_FOR_BUILD='$(CC)'
else
CC_FOR_BUILD=gcc
fi
if test "x$cross_compiling" = "xno"; then
: "${CC_FOR_BUILD:=\$(CC)}"
: "${CFLAGS_FOR_BUILD:=\$(CFLAGS)}"
else
: "${CC_FOR_BUILD:=gcc}"
: "${CFLAGS_FOR_BUILD:=-g -O}"
fi
if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
set dummy ${ac_tool_prefix}ar; ac_word=$2
@ -11250,7 +11251,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11253 "configure"
#line 11254 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -11356,7 +11357,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11359 "configure"
#line 11360 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H

19
sim/bpf/configure vendored
View File

@ -689,6 +689,7 @@ PACKAGE
C_DIALECT
RANLIB
AR
CFLAGS_FOR_BUILD
CC_FOR_BUILD
INSTALL_DATA
INSTALL_SCRIPT
@ -6776,17 +6777,17 @@ $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
# Put a plausible default for CC_FOR_BUILD in Makefile.
if test -z "$CC_FOR_BUILD"; then
if test "x$cross_compiling" = "xno"; then
CC_FOR_BUILD='$(CC)'
else
CC_FOR_BUILD=gcc
fi
if test "x$cross_compiling" = "xno"; then
: "${CC_FOR_BUILD:=\$(CC)}"
: "${CFLAGS_FOR_BUILD:=\$(CFLAGS)}"
else
: "${CC_FOR_BUILD:=gcc}"
: "${CFLAGS_FOR_BUILD:=-g -O}"
fi
if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
set dummy ${ac_tool_prefix}ar; ac_word=$2
@ -11240,7 +11241,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11243 "configure"
#line 11244 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -11346,7 +11347,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11349 "configure"
#line 11350 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H

19
sim/cr16/configure vendored
View File

@ -689,6 +689,7 @@ PACKAGE
C_DIALECT
RANLIB
AR
CFLAGS_FOR_BUILD
CC_FOR_BUILD
INSTALL_DATA
INSTALL_SCRIPT
@ -6763,17 +6764,17 @@ $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
# Put a plausible default for CC_FOR_BUILD in Makefile.
if test -z "$CC_FOR_BUILD"; then
if test "x$cross_compiling" = "xno"; then
CC_FOR_BUILD='$(CC)'
else
CC_FOR_BUILD=gcc
fi
if test "x$cross_compiling" = "xno"; then
: "${CC_FOR_BUILD:=\$(CC)}"
: "${CFLAGS_FOR_BUILD:=\$(CFLAGS)}"
else
: "${CC_FOR_BUILD:=gcc}"
: "${CFLAGS_FOR_BUILD:=-g -O}"
fi
if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
set dummy ${ac_tool_prefix}ar; ac_word=$2
@ -11227,7 +11228,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11230 "configure"
#line 11231 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -11333,7 +11334,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11336 "configure"
#line 11337 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H

19
sim/cris/configure vendored
View File

@ -687,6 +687,7 @@ PACKAGE
C_DIALECT
RANLIB
AR
CFLAGS_FOR_BUILD
CC_FOR_BUILD
INSTALL_DATA
INSTALL_SCRIPT
@ -6777,17 +6778,17 @@ $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
# Put a plausible default for CC_FOR_BUILD in Makefile.
if test -z "$CC_FOR_BUILD"; then
if test "x$cross_compiling" = "xno"; then
CC_FOR_BUILD='$(CC)'
else
CC_FOR_BUILD=gcc
fi
if test "x$cross_compiling" = "xno"; then
: "${CC_FOR_BUILD:=\$(CC)}"
: "${CFLAGS_FOR_BUILD:=\$(CFLAGS)}"
else
: "${CC_FOR_BUILD:=gcc}"
: "${CFLAGS_FOR_BUILD:=-g -O}"
fi
if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
set dummy ${ac_tool_prefix}ar; ac_word=$2
@ -11241,7 +11242,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11244 "configure"
#line 11245 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -11347,7 +11348,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11350 "configure"
#line 11351 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H

19
sim/d10v/configure vendored
View File

@ -689,6 +689,7 @@ PACKAGE
C_DIALECT
RANLIB
AR
CFLAGS_FOR_BUILD
CC_FOR_BUILD
INSTALL_DATA
INSTALL_SCRIPT
@ -6763,17 +6764,17 @@ $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
# Put a plausible default for CC_FOR_BUILD in Makefile.
if test -z "$CC_FOR_BUILD"; then
if test "x$cross_compiling" = "xno"; then
CC_FOR_BUILD='$(CC)'
else
CC_FOR_BUILD=gcc
fi
if test "x$cross_compiling" = "xno"; then
: "${CC_FOR_BUILD:=\$(CC)}"
: "${CFLAGS_FOR_BUILD:=\$(CFLAGS)}"
else
: "${CC_FOR_BUILD:=gcc}"
: "${CFLAGS_FOR_BUILD:=-g -O}"
fi
if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
set dummy ${ac_tool_prefix}ar; ac_word=$2
@ -11227,7 +11228,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11230 "configure"
#line 11231 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -11333,7 +11334,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11336 "configure"
#line 11337 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H

19
sim/erc32/configure vendored
View File

@ -693,6 +693,7 @@ PACKAGE
C_DIALECT
RANLIB
AR
CFLAGS_FOR_BUILD
CC_FOR_BUILD
INSTALL_DATA
INSTALL_SCRIPT
@ -6758,17 +6759,17 @@ $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
# Put a plausible default for CC_FOR_BUILD in Makefile.
if test -z "$CC_FOR_BUILD"; then
if test "x$cross_compiling" = "xno"; then
CC_FOR_BUILD='$(CC)'
else
CC_FOR_BUILD=gcc
fi
if test "x$cross_compiling" = "xno"; then
: "${CC_FOR_BUILD:=\$(CC)}"
: "${CFLAGS_FOR_BUILD:=\$(CFLAGS)}"
else
: "${CC_FOR_BUILD:=gcc}"
: "${CFLAGS_FOR_BUILD:=-g -O}"
fi
if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
set dummy ${ac_tool_prefix}ar; ac_word=$2
@ -11222,7 +11223,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11225 "configure"
#line 11226 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -11328,7 +11329,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11331 "configure"
#line 11332 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H

19
sim/frv/configure vendored
View File

@ -688,6 +688,7 @@ PACKAGE
C_DIALECT
RANLIB
AR
CFLAGS_FOR_BUILD
CC_FOR_BUILD
INSTALL_DATA
INSTALL_SCRIPT
@ -6780,17 +6781,17 @@ $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
# Put a plausible default for CC_FOR_BUILD in Makefile.
if test -z "$CC_FOR_BUILD"; then
if test "x$cross_compiling" = "xno"; then
CC_FOR_BUILD='$(CC)'
else
CC_FOR_BUILD=gcc
fi
if test "x$cross_compiling" = "xno"; then
: "${CC_FOR_BUILD:=\$(CC)}"
: "${CFLAGS_FOR_BUILD:=\$(CFLAGS)}"
else
: "${CC_FOR_BUILD:=gcc}"
: "${CFLAGS_FOR_BUILD:=-g -O}"
fi
if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
set dummy ${ac_tool_prefix}ar; ac_word=$2
@ -11244,7 +11245,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11247 "configure"
#line 11248 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -11350,7 +11351,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11353 "configure"
#line 11354 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H

19
sim/ft32/configure vendored
View File

@ -689,6 +689,7 @@ PACKAGE
C_DIALECT
RANLIB
AR
CFLAGS_FOR_BUILD
CC_FOR_BUILD
INSTALL_DATA
INSTALL_SCRIPT
@ -6763,17 +6764,17 @@ $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
# Put a plausible default for CC_FOR_BUILD in Makefile.
if test -z "$CC_FOR_BUILD"; then
if test "x$cross_compiling" = "xno"; then
CC_FOR_BUILD='$(CC)'
else
CC_FOR_BUILD=gcc
fi
if test "x$cross_compiling" = "xno"; then
: "${CC_FOR_BUILD:=\$(CC)}"
: "${CFLAGS_FOR_BUILD:=\$(CFLAGS)}"
else
: "${CC_FOR_BUILD:=gcc}"
: "${CFLAGS_FOR_BUILD:=-g -O}"
fi
if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
set dummy ${ac_tool_prefix}ar; ac_word=$2
@ -11227,7 +11228,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11230 "configure"
#line 11231 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -11333,7 +11334,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11336 "configure"
#line 11337 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H

19
sim/h8300/configure vendored
View File

@ -689,6 +689,7 @@ PACKAGE
C_DIALECT
RANLIB
AR
CFLAGS_FOR_BUILD
CC_FOR_BUILD
INSTALL_DATA
INSTALL_SCRIPT
@ -6763,17 +6764,17 @@ $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
# Put a plausible default for CC_FOR_BUILD in Makefile.
if test -z "$CC_FOR_BUILD"; then
if test "x$cross_compiling" = "xno"; then
CC_FOR_BUILD='$(CC)'
else
CC_FOR_BUILD=gcc
fi
if test "x$cross_compiling" = "xno"; then
: "${CC_FOR_BUILD:=\$(CC)}"
: "${CFLAGS_FOR_BUILD:=\$(CFLAGS)}"
else
: "${CC_FOR_BUILD:=gcc}"
: "${CFLAGS_FOR_BUILD:=-g -O}"
fi
if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
set dummy ${ac_tool_prefix}ar; ac_word=$2
@ -11227,7 +11228,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11230 "configure"
#line 11231 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -11333,7 +11334,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11336 "configure"
#line 11337 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H

19
sim/iq2000/configure vendored
View File

@ -687,6 +687,7 @@ PACKAGE
C_DIALECT
RANLIB
AR
CFLAGS_FOR_BUILD
CC_FOR_BUILD
INSTALL_DATA
INSTALL_SCRIPT
@ -6777,17 +6778,17 @@ $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
# Put a plausible default for CC_FOR_BUILD in Makefile.
if test -z "$CC_FOR_BUILD"; then
if test "x$cross_compiling" = "xno"; then
CC_FOR_BUILD='$(CC)'
else
CC_FOR_BUILD=gcc
fi
if test "x$cross_compiling" = "xno"; then
: "${CC_FOR_BUILD:=\$(CC)}"
: "${CFLAGS_FOR_BUILD:=\$(CFLAGS)}"
else
: "${CC_FOR_BUILD:=gcc}"
: "${CFLAGS_FOR_BUILD:=-g -O}"
fi
if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
set dummy ${ac_tool_prefix}ar; ac_word=$2
@ -11241,7 +11242,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11244 "configure"
#line 11245 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -11347,7 +11348,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11350 "configure"
#line 11351 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H

19
sim/lm32/configure vendored
View File

@ -687,6 +687,7 @@ PACKAGE
C_DIALECT
RANLIB
AR
CFLAGS_FOR_BUILD
CC_FOR_BUILD
INSTALL_DATA
INSTALL_SCRIPT
@ -6777,17 +6778,17 @@ $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
# Put a plausible default for CC_FOR_BUILD in Makefile.
if test -z "$CC_FOR_BUILD"; then
if test "x$cross_compiling" = "xno"; then
CC_FOR_BUILD='$(CC)'
else
CC_FOR_BUILD=gcc
fi
if test "x$cross_compiling" = "xno"; then
: "${CC_FOR_BUILD:=\$(CC)}"
: "${CFLAGS_FOR_BUILD:=\$(CFLAGS)}"
else
: "${CC_FOR_BUILD:=gcc}"
: "${CFLAGS_FOR_BUILD:=-g -O}"
fi
if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
set dummy ${ac_tool_prefix}ar; ac_word=$2
@ -11241,7 +11242,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11244 "configure"
#line 11245 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -11347,7 +11348,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11350 "configure"
#line 11351 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H

19
sim/m32c/configure vendored
View File

@ -691,6 +691,7 @@ PACKAGE
C_DIALECT
RANLIB
AR
CFLAGS_FOR_BUILD
CC_FOR_BUILD
INSTALL_DATA
INSTALL_SCRIPT
@ -6756,17 +6757,17 @@ $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
# Put a plausible default for CC_FOR_BUILD in Makefile.
if test -z "$CC_FOR_BUILD"; then
if test "x$cross_compiling" = "xno"; then
CC_FOR_BUILD='$(CC)'
else
CC_FOR_BUILD=gcc
fi
if test "x$cross_compiling" = "xno"; then
: "${CC_FOR_BUILD:=\$(CC)}"
: "${CFLAGS_FOR_BUILD:=\$(CFLAGS)}"
else
: "${CC_FOR_BUILD:=gcc}"
: "${CFLAGS_FOR_BUILD:=-g -O}"
fi
if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
set dummy ${ac_tool_prefix}ar; ac_word=$2
@ -11220,7 +11221,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11223 "configure"
#line 11224 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -11326,7 +11327,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11329 "configure"
#line 11330 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H

19
sim/m32r/configure vendored
View File

@ -689,6 +689,7 @@ PACKAGE
C_DIALECT
RANLIB
AR
CFLAGS_FOR_BUILD
CC_FOR_BUILD
INSTALL_DATA
INSTALL_SCRIPT
@ -6779,17 +6780,17 @@ $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
# Put a plausible default for CC_FOR_BUILD in Makefile.
if test -z "$CC_FOR_BUILD"; then
if test "x$cross_compiling" = "xno"; then
CC_FOR_BUILD='$(CC)'
else
CC_FOR_BUILD=gcc
fi
if test "x$cross_compiling" = "xno"; then
: "${CC_FOR_BUILD:=\$(CC)}"
: "${CFLAGS_FOR_BUILD:=\$(CFLAGS)}"
else
: "${CC_FOR_BUILD:=gcc}"
: "${CFLAGS_FOR_BUILD:=-g -O}"
fi
if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
set dummy ${ac_tool_prefix}ar; ac_word=$2
@ -11243,7 +11244,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11246 "configure"
#line 11247 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -11349,7 +11350,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11352 "configure"
#line 11353 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H

View File

@ -30,15 +30,16 @@ AC_C_BIGENDIAN
AC_ARG_PROGRAM
AC_PROG_INSTALL
# Put a plausible default for CC_FOR_BUILD in Makefile.
if test -z "$CC_FOR_BUILD"; then
if test "x$cross_compiling" = "xno"; then
CC_FOR_BUILD='$(CC)'
else
CC_FOR_BUILD=gcc
fi
dnl Setup toolchain settings for build-time tools..
if test "x$cross_compiling" = "xno"; then
: "${CC_FOR_BUILD:=\$(CC)}"
: "${CFLAGS_FOR_BUILD:=\$(CFLAGS)}"
else
: "${CC_FOR_BUILD:=gcc}"
: "${CFLAGS_FOR_BUILD:=-g -O}"
fi
AC_SUBST(CC_FOR_BUILD)
AC_SUBST(CFLAGS_FOR_BUILD)
AC_SUBST(CFLAGS)
AC_CHECK_TOOL(AR, ar)

19
sim/m68hc11/configure vendored
View File

@ -686,6 +686,7 @@ PACKAGE
C_DIALECT
RANLIB
AR
CFLAGS_FOR_BUILD
CC_FOR_BUILD
INSTALL_DATA
INSTALL_SCRIPT
@ -6766,17 +6767,17 @@ $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
# Put a plausible default for CC_FOR_BUILD in Makefile.
if test -z "$CC_FOR_BUILD"; then
if test "x$cross_compiling" = "xno"; then
CC_FOR_BUILD='$(CC)'
else
CC_FOR_BUILD=gcc
fi
if test "x$cross_compiling" = "xno"; then
: "${CC_FOR_BUILD:=\$(CC)}"
: "${CFLAGS_FOR_BUILD:=\$(CFLAGS)}"
else
: "${CC_FOR_BUILD:=gcc}"
: "${CFLAGS_FOR_BUILD:=-g -O}"
fi
if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
set dummy ${ac_tool_prefix}ar; ac_word=$2
@ -11230,7 +11231,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11233 "configure"
#line 11234 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -11336,7 +11337,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11339 "configure"
#line 11340 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H

19
sim/mcore/configure vendored
View File

@ -689,6 +689,7 @@ PACKAGE
C_DIALECT
RANLIB
AR
CFLAGS_FOR_BUILD
CC_FOR_BUILD
INSTALL_DATA
INSTALL_SCRIPT
@ -6763,17 +6764,17 @@ $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
# Put a plausible default for CC_FOR_BUILD in Makefile.
if test -z "$CC_FOR_BUILD"; then
if test "x$cross_compiling" = "xno"; then
CC_FOR_BUILD='$(CC)'
else
CC_FOR_BUILD=gcc
fi
if test "x$cross_compiling" = "xno"; then
: "${CC_FOR_BUILD:=\$(CC)}"
: "${CFLAGS_FOR_BUILD:=\$(CFLAGS)}"
else
: "${CC_FOR_BUILD:=gcc}"
: "${CFLAGS_FOR_BUILD:=-g -O}"
fi
if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
set dummy ${ac_tool_prefix}ar; ac_word=$2
@ -11227,7 +11228,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11230 "configure"
#line 11231 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -11333,7 +11334,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11336 "configure"
#line 11337 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H

View File

@ -689,6 +689,7 @@ PACKAGE
C_DIALECT
RANLIB
AR
CFLAGS_FOR_BUILD
CC_FOR_BUILD
INSTALL_DATA
INSTALL_SCRIPT
@ -6763,17 +6764,17 @@ $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
# Put a plausible default for CC_FOR_BUILD in Makefile.
if test -z "$CC_FOR_BUILD"; then
if test "x$cross_compiling" = "xno"; then
CC_FOR_BUILD='$(CC)'
else
CC_FOR_BUILD=gcc
fi
if test "x$cross_compiling" = "xno"; then
: "${CC_FOR_BUILD:=\$(CC)}"
: "${CFLAGS_FOR_BUILD:=\$(CFLAGS)}"
else
: "${CC_FOR_BUILD:=gcc}"
: "${CFLAGS_FOR_BUILD:=-g -O}"
fi
if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
set dummy ${ac_tool_prefix}ar; ac_word=$2
@ -11227,7 +11228,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11230 "configure"
#line 11231 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -11333,7 +11334,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11336 "configure"
#line 11337 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H

19
sim/mips/configure vendored
View File

@ -696,6 +696,7 @@ PACKAGE
C_DIALECT
RANLIB
AR
CFLAGS_FOR_BUILD
CC_FOR_BUILD
INSTALL_DATA
INSTALL_SCRIPT
@ -6796,17 +6797,17 @@ $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
# Put a plausible default for CC_FOR_BUILD in Makefile.
if test -z "$CC_FOR_BUILD"; then
if test "x$cross_compiling" = "xno"; then
CC_FOR_BUILD='$(CC)'
else
CC_FOR_BUILD=gcc
fi
if test "x$cross_compiling" = "xno"; then
: "${CC_FOR_BUILD:=\$(CC)}"
: "${CFLAGS_FOR_BUILD:=\$(CFLAGS)}"
else
: "${CC_FOR_BUILD:=gcc}"
: "${CFLAGS_FOR_BUILD:=-g -O}"
fi
if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
set dummy ${ac_tool_prefix}ar; ac_word=$2
@ -11260,7 +11261,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11263 "configure"
#line 11264 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -11366,7 +11367,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11369 "configure"
#line 11370 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H

19
sim/mn10300/configure vendored
View File

@ -684,6 +684,7 @@ PACKAGE
C_DIALECT
RANLIB
AR
CFLAGS_FOR_BUILD
CC_FOR_BUILD
INSTALL_DATA
INSTALL_SCRIPT
@ -6772,17 +6773,17 @@ $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
# Put a plausible default for CC_FOR_BUILD in Makefile.
if test -z "$CC_FOR_BUILD"; then
if test "x$cross_compiling" = "xno"; then
CC_FOR_BUILD='$(CC)'
else
CC_FOR_BUILD=gcc
fi
if test "x$cross_compiling" = "xno"; then
: "${CC_FOR_BUILD:=\$(CC)}"
: "${CFLAGS_FOR_BUILD:=\$(CFLAGS)}"
else
: "${CC_FOR_BUILD:=gcc}"
: "${CFLAGS_FOR_BUILD:=-g -O}"
fi
if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
set dummy ${ac_tool_prefix}ar; ac_word=$2
@ -11236,7 +11237,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11239 "configure"
#line 11240 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -11342,7 +11343,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11345 "configure"
#line 11346 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H

19
sim/moxie/configure vendored
View File

@ -690,6 +690,7 @@ PACKAGE
C_DIALECT
RANLIB
AR
CFLAGS_FOR_BUILD
CC_FOR_BUILD
INSTALL_DATA
INSTALL_SCRIPT
@ -6764,17 +6765,17 @@ $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
# Put a plausible default for CC_FOR_BUILD in Makefile.
if test -z "$CC_FOR_BUILD"; then
if test "x$cross_compiling" = "xno"; then
CC_FOR_BUILD='$(CC)'
else
CC_FOR_BUILD=gcc
fi
if test "x$cross_compiling" = "xno"; then
: "${CC_FOR_BUILD:=\$(CC)}"
: "${CFLAGS_FOR_BUILD:=\$(CFLAGS)}"
else
: "${CC_FOR_BUILD:=gcc}"
: "${CFLAGS_FOR_BUILD:=-g -O}"
fi
if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
set dummy ${ac_tool_prefix}ar; ac_word=$2
@ -11228,7 +11229,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11231 "configure"
#line 11232 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -11334,7 +11335,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11337 "configure"
#line 11338 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H

19
sim/msp430/configure vendored
View File

@ -689,6 +689,7 @@ PACKAGE
C_DIALECT
RANLIB
AR
CFLAGS_FOR_BUILD
CC_FOR_BUILD
INSTALL_DATA
INSTALL_SCRIPT
@ -6763,17 +6764,17 @@ $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
# Put a plausible default for CC_FOR_BUILD in Makefile.
if test -z "$CC_FOR_BUILD"; then
if test "x$cross_compiling" = "xno"; then
CC_FOR_BUILD='$(CC)'
else
CC_FOR_BUILD=gcc
fi
if test "x$cross_compiling" = "xno"; then
: "${CC_FOR_BUILD:=\$(CC)}"
: "${CFLAGS_FOR_BUILD:=\$(CFLAGS)}"
else
: "${CC_FOR_BUILD:=gcc}"
: "${CFLAGS_FOR_BUILD:=-g -O}"
fi
if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
set dummy ${ac_tool_prefix}ar; ac_word=$2
@ -11227,7 +11228,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11230 "configure"
#line 11231 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -11333,7 +11334,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11336 "configure"
#line 11337 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H

19
sim/or1k/configure vendored
View File

@ -689,6 +689,7 @@ PACKAGE
C_DIALECT
RANLIB
AR
CFLAGS_FOR_BUILD
CC_FOR_BUILD
INSTALL_DATA
INSTALL_SCRIPT
@ -6776,17 +6777,17 @@ $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
# Put a plausible default for CC_FOR_BUILD in Makefile.
if test -z "$CC_FOR_BUILD"; then
if test "x$cross_compiling" = "xno"; then
CC_FOR_BUILD='$(CC)'
else
CC_FOR_BUILD=gcc
fi
if test "x$cross_compiling" = "xno"; then
: "${CC_FOR_BUILD:=\$(CC)}"
: "${CFLAGS_FOR_BUILD:=\$(CFLAGS)}"
else
: "${CC_FOR_BUILD:=gcc}"
: "${CFLAGS_FOR_BUILD:=-g -O}"
fi
if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
set dummy ${ac_tool_prefix}ar; ac_word=$2
@ -11240,7 +11241,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11243 "configure"
#line 11244 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -11346,7 +11347,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11349 "configure"
#line 11350 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H

19
sim/pru/configure vendored
View File

@ -689,6 +689,7 @@ PACKAGE
C_DIALECT
RANLIB
AR
CFLAGS_FOR_BUILD
CC_FOR_BUILD
INSTALL_DATA
INSTALL_SCRIPT
@ -6763,17 +6764,17 @@ $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
# Put a plausible default for CC_FOR_BUILD in Makefile.
if test -z "$CC_FOR_BUILD"; then
if test "x$cross_compiling" = "xno"; then
CC_FOR_BUILD='$(CC)'
else
CC_FOR_BUILD=gcc
fi
if test "x$cross_compiling" = "xno"; then
: "${CC_FOR_BUILD:=\$(CC)}"
: "${CFLAGS_FOR_BUILD:=\$(CFLAGS)}"
else
: "${CC_FOR_BUILD:=gcc}"
: "${CFLAGS_FOR_BUILD:=-g -O}"
fi
if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
set dummy ${ac_tool_prefix}ar; ac_word=$2
@ -11227,7 +11228,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11230 "configure"
#line 11231 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -11333,7 +11334,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11336 "configure"
#line 11337 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H

19
sim/riscv/configure vendored
View File

@ -687,6 +687,7 @@ PACKAGE
C_DIALECT
RANLIB
AR
CFLAGS_FOR_BUILD
CC_FOR_BUILD
INSTALL_DATA
INSTALL_SCRIPT
@ -6768,17 +6769,17 @@ $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
# Put a plausible default for CC_FOR_BUILD in Makefile.
if test -z "$CC_FOR_BUILD"; then
if test "x$cross_compiling" = "xno"; then
CC_FOR_BUILD='$(CC)'
else
CC_FOR_BUILD=gcc
fi
if test "x$cross_compiling" = "xno"; then
: "${CC_FOR_BUILD:=\$(CC)}"
: "${CFLAGS_FOR_BUILD:=\$(CFLAGS)}"
else
: "${CC_FOR_BUILD:=gcc}"
: "${CFLAGS_FOR_BUILD:=-g -O}"
fi
if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
set dummy ${ac_tool_prefix}ar; ac_word=$2
@ -11232,7 +11233,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11235 "configure"
#line 11236 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -11338,7 +11339,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11341 "configure"
#line 11342 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H

19
sim/rl78/configure vendored
View File

@ -691,6 +691,7 @@ PACKAGE
C_DIALECT
RANLIB
AR
CFLAGS_FOR_BUILD
CC_FOR_BUILD
INSTALL_DATA
INSTALL_SCRIPT
@ -6756,17 +6757,17 @@ $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
# Put a plausible default for CC_FOR_BUILD in Makefile.
if test -z "$CC_FOR_BUILD"; then
if test "x$cross_compiling" = "xno"; then
CC_FOR_BUILD='$(CC)'
else
CC_FOR_BUILD=gcc
fi
if test "x$cross_compiling" = "xno"; then
: "${CC_FOR_BUILD:=\$(CC)}"
: "${CFLAGS_FOR_BUILD:=\$(CFLAGS)}"
else
: "${CC_FOR_BUILD:=gcc}"
: "${CFLAGS_FOR_BUILD:=-g -O}"
fi
if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
set dummy ${ac_tool_prefix}ar; ac_word=$2
@ -11220,7 +11221,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11223 "configure"
#line 11224 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -11326,7 +11327,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11329 "configure"
#line 11330 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H

19
sim/rx/configure vendored
View File

@ -691,6 +691,7 @@ PACKAGE
C_DIALECT
RANLIB
AR
CFLAGS_FOR_BUILD
CC_FOR_BUILD
INSTALL_DATA
INSTALL_SCRIPT
@ -6761,17 +6762,17 @@ $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
# Put a plausible default for CC_FOR_BUILD in Makefile.
if test -z "$CC_FOR_BUILD"; then
if test "x$cross_compiling" = "xno"; then
CC_FOR_BUILD='$(CC)'
else
CC_FOR_BUILD=gcc
fi
if test "x$cross_compiling" = "xno"; then
: "${CC_FOR_BUILD:=\$(CC)}"
: "${CFLAGS_FOR_BUILD:=\$(CFLAGS)}"
else
: "${CC_FOR_BUILD:=gcc}"
: "${CFLAGS_FOR_BUILD:=-g -O}"
fi
if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
set dummy ${ac_tool_prefix}ar; ac_word=$2
@ -11225,7 +11226,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11228 "configure"
#line 11229 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -11331,7 +11332,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11334 "configure"
#line 11335 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H

19
sim/sh/configure vendored
View File

@ -689,6 +689,7 @@ PACKAGE
C_DIALECT
RANLIB
AR
CFLAGS_FOR_BUILD
CC_FOR_BUILD
INSTALL_DATA
INSTALL_SCRIPT
@ -6763,17 +6764,17 @@ $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
# Put a plausible default for CC_FOR_BUILD in Makefile.
if test -z "$CC_FOR_BUILD"; then
if test "x$cross_compiling" = "xno"; then
CC_FOR_BUILD='$(CC)'
else
CC_FOR_BUILD=gcc
fi
if test "x$cross_compiling" = "xno"; then
: "${CC_FOR_BUILD:=\$(CC)}"
: "${CFLAGS_FOR_BUILD:=\$(CFLAGS)}"
else
: "${CC_FOR_BUILD:=gcc}"
: "${CFLAGS_FOR_BUILD:=-g -O}"
fi
if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
set dummy ${ac_tool_prefix}ar; ac_word=$2
@ -11227,7 +11228,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11230 "configure"
#line 11231 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -11333,7 +11334,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11336 "configure"
#line 11337 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H

19
sim/v850/configure vendored
View File

@ -687,6 +687,7 @@ PACKAGE
C_DIALECT
RANLIB
AR
CFLAGS_FOR_BUILD
CC_FOR_BUILD
INSTALL_DATA
INSTALL_SCRIPT
@ -6769,17 +6770,17 @@ $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
# Put a plausible default for CC_FOR_BUILD in Makefile.
if test -z "$CC_FOR_BUILD"; then
if test "x$cross_compiling" = "xno"; then
CC_FOR_BUILD='$(CC)'
else
CC_FOR_BUILD=gcc
fi
if test "x$cross_compiling" = "xno"; then
: "${CC_FOR_BUILD:=\$(CC)}"
: "${CFLAGS_FOR_BUILD:=\$(CFLAGS)}"
else
: "${CC_FOR_BUILD:=gcc}"
: "${CFLAGS_FOR_BUILD:=-g -O}"
fi
if test -n "$ac_tool_prefix"; then
# Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
set dummy ${ac_tool_prefix}ar; ac_word=$2
@ -11233,7 +11234,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11236 "configure"
#line 11237 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@ -11339,7 +11340,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
#line 11342 "configure"
#line 11343 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H