[gdb/testsuite] Fix gdb.threads/fork-plus-threads.exp with readnow
[deliverable/binutils-gdb.git] / sim / configure
index 24e57ff3bd6d331c182cbf7c676a9b57a15fa73a..eb0776cc36a2e5fdd5df095ba99ce0668a0f1697 100755 (executable)
@@ -673,7 +673,9 @@ RANLIB
 AR
 LDFLAGS_FOR_BUILD
 CFLAGS_FOR_BUILD
+RANLIB_FOR_BUILD
 CC_FOR_BUILD
+AR_FOR_BUILD
 INSTALL_DATA
 INSTALL_SCRIPT
 INSTALL_PROGRAM
@@ -744,6 +746,7 @@ enable_maintainer_mode
 enable_dependency_tracking
 enable_silent_rules
 enable_sim
+enable_example_sims
 enable_targets
 '
       ac_precious_vars='build_alias
@@ -785,7 +788,8 @@ sh
 erc32
 ppc
 ft32
-v850'
+v850
+example-synacor'
 
 # Initialize some variables set by options.
 ac_init_help=
@@ -1414,6 +1418,7 @@ Optional Features:
   --enable-silent-rules   less verbose build output (undo: "make V=1")
   --disable-silent-rules  verbose build output (undo: "make V=0")
   --enable-sim            Enable the GNU simulator
+  --enable-example-sims   enable example GNU simulators
   --enable-targets        alternative target configurations
 
 Some influential environment variables:
@@ -3885,11 +3890,15 @@ $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
 
 
 if test "x$cross_compiling" = "xno"; then
+  : "${AR_FOR_BUILD:=\$(AR)}"
   : "${CC_FOR_BUILD:=\$(CC)}"
+  : "${RANLIB_FOR_BUILD:=\$(RANLIB)}"
   : "${CFLAGS_FOR_BUILD:=\$(CFLAGS)}"
   : "${LDFLAGS_FOR_BUILD:=\$(LDFLAGS)}"
 else
+  : "${AR_FOR_BUILD:=ar}"
   : "${CC_FOR_BUILD:=gcc}"
+  : "${RANLIB_FOR_BUILD:=ranlib}"
   : "${CFLAGS_FOR_BUILD:=-g -O}"
   : "${LDLFAGS_FOR_BUILD:=}"
 fi
@@ -3898,6 +3907,8 @@ 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
@@ -4832,6 +4843,12 @@ esac
 fi
 
 
+# Check whether --enable-example-sims was given.
+if test "${enable_example_sims+set}" = set; then :
+  enableval=$enable_example_sims;
+fi
+
+
 # Check whether --enable-targets was given.
 if test "${enable_targets+set}" = set; then :
   enableval=$enable_targets; case "${enableval}" in
@@ -5227,6 +5244,11 @@ subdirs="$subdirs aarch64"
   esac
 
   done
+
+  if test "x${enable_example_sims}" = xyes; then
+    subdirs="$subdirs example-synacor"
+
+  fi
 fi
  if test "$sim_igen" = "yes"; then
   SIM_ENABLE_IGEN_TRUE=
This page took 0.02445 seconds and 4 git commands to generate.