Scope libstdc++ configuration for vxworks to all versions
authorOlivier Hainque <hainque@adacore.com>
Tue, 20 Oct 2020 10:32:27 +0000 (10:32 +0000)
committerOlivier Hainque <hainque@adacore.com>
Thu, 22 Oct 2020 16:40:57 +0000 (16:40 +0000)
When libstdc++ is enabled, the current high level configuration
bits should apply the same to all versions of VxWorks.  Adjust the
config triplets matching rules accordingly.

2010-10-21  Olivier Hainque  <hainque@adacore.com>

libstdc++-v3/
* crossconfig.m4: Turn vxworks matcher into vxworks*.
* configure.host: Likewise.
* configure: Regenerate.

libstdc++-v3/configure
libstdc++-v3/configure.host
libstdc++-v3/crossconfig.m4

index 7abf1b1ccc1d8f5e32dae939866eab7560c16280..0213c3c6bc42e09b9c305afc42707be640aafb67 100755 (executable)
@@ -73039,7 +73039,7 @@ done
   CXXFLAGS="$ac_save_CXXFLAGS"
 
     ;;
-  *-vxworks)
+  *-vxworks*)
     $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
 
     $as_echo "#define HAVE_ASINF 1" >>confdefs.h
index 8d1b60804f3dfad0dd36777577b5aae519b690c4..ec32980aa0db898623804980af65dad588e4d9f5 100644 (file)
@@ -303,7 +303,7 @@ case "${host_os}" in
   tpf)
     os_include_dir="os/tpf"
     ;;
-  vxworks)
+  vxworks*)
     os_include_dir="os/vxworks"
     ;;
   *)
index 9f2589b739ebffc9835de1f6b67ccf6a9570b47c..ff44d5ae019905eae8c2708fd187e227d3f0088f 100644 (file)
@@ -276,7 +276,7 @@ case "${host}" in
     GLIBCXX_CHECK_MATH_SUPPORT
     GLIBCXX_CHECK_STDLIB_SUPPORT
     ;;
-  *-vxworks)
+  *-vxworks*)
     AC_DEFINE(HAVE_ACOSF)
     AC_DEFINE(HAVE_ASINF)
     AC_DEFINE(HAVE_ATAN2F)