acinclude.m4 (VTV_CYGMIN): Use x$vtv_cygmin = xyes instead of $vtv_cygmin = yes.
authorJakub Jelinek <jakub@redhat.com>
Thu, 29 Jan 2015 18:36:03 +0000 (19:36 +0100)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 29 Jan 2015 18:36:03 +0000 (19:36 +0100)
* acinclude.m4 (VTV_CYGMIN): Use x$vtv_cygmin = xyes instead of
$vtv_cygmin = yes.  Initialize vtv_cygmin=no unconditionally first.
* configure: Regenerated.

From-SVN: r220259

libstdc++-v3/ChangeLog
libstdc++-v3/acinclude.m4
libstdc++-v3/configure

index 6466444c80040eefd9603b70bdcd24efb9a93224..c23fa0d4040582eb9687db3a52bfb40402baf409 100644 (file)
@@ -1,3 +1,9 @@
+2015-01-29  Jakub Jelinek  <jakub@redhat.com>
+
+       * acinclude.m4 (VTV_CYGMIN): Use x$vtv_cygmin = xyes instead of
+       $vtv_cygmin = yes.  Initialize vtv_cygmin=no unconditionally first.
+       * configure: Regenerated.
+
 2015-01-29  H.J. Lu  <hongjiu.lu@intel.com>
 
        * acinclude.m4 (GLIBCXX_ENABLE_VTABLE_VERIFY): Define VTV_CYGMIN
index 02ca3f3647903facd702983d73a1860c781e899b..17271403afec8c45f2d3cdfdf6c444826869f430 100644 (file)
@@ -2320,15 +2320,15 @@ AC_DEFUN([GLIBCXX_ENABLE_VTABLE_VERIFY], [
   AC_MSG_CHECKING([for vtable verify support])
   AC_MSG_RESULT([$enable_vtable_verify])
 
+  vtv_cygmin=no
   if test $enable_vtable_verify = yes; then
     case ${target_os} in
       cygwin*|mingw32*)
         VTV_CXXFLAGS="-fvtable-verify=std -Wl,-lvtv,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
-        vtv_cygmin="yes"
+        vtv_cygmin=yes
         ;;
       *)
         VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
-        vtv_cygmin="no"
         ;;
     esac
     VTV_PCH_CXXFLAGS="-fvtable-verify=std"
@@ -2339,11 +2339,10 @@ AC_DEFUN([GLIBCXX_ENABLE_VTABLE_VERIFY], [
     VTV_CXXLINKFLAGS= 
   fi
 
-  AM_CONDITIONAL(VTV_CYGMIN, test $vtv_cygmin = yes)
-
   AC_SUBST(VTV_CXXFLAGS)
   AC_SUBST(VTV_PCH_CXXFLAGS)
   AC_SUBST(VTV_CXXLINKFLAGS)
+  AM_CONDITIONAL(VTV_CYGMIN, test x$vtv_cygmin = xyes)
   GLIBCXX_CONDITIONAL(ENABLE_VTABLE_VERIFY, test $enable_vtable_verify = yes)
 ])
 
index cbaaaff73a19d0914060058f25840000949e4c29..acd8c6018ffcf31f7997216e43eeb8d581941568 100755 (executable)
@@ -671,11 +671,11 @@ SECTION_LDFLAGS
 GLIBCXX_LIBS
 ENABLE_VTABLE_VERIFY_FALSE
 ENABLE_VTABLE_VERIFY_TRUE
+VTV_CYGMIN_FALSE
+VTV_CYGMIN_TRUE
 VTV_CXXLINKFLAGS
 VTV_PCH_CXXFLAGS
 VTV_CXXFLAGS
-VTV_CYGMIN_FALSE
-VTV_CYGMIN_TRUE
 ENABLE_WERROR_FALSE
 ENABLE_WERROR_TRUE
 ENABLE_PYTHONDIR_FALSE
@@ -17459,15 +17459,15 @@ $as_echo_n "checking for vtable verify support... " >&6; }
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
 $as_echo "$enable_vtable_verify" >&6; }
 
+  vtv_cygmin=no
   if test $enable_vtable_verify = yes; then
     case ${target_os} in
       cygwin*|mingw32*)
         VTV_CXXFLAGS="-fvtable-verify=std -Wl,-lvtv,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
-        vtv_cygmin="yes"
+        vtv_cygmin=yes
         ;;
       *)
         VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
-        vtv_cygmin="no"
         ;;
     esac
     VTV_PCH_CXXFLAGS="-fvtable-verify=std"
@@ -17478,7 +17478,10 @@ $as_echo "$enable_vtable_verify" >&6; }
     VTV_CXXLINKFLAGS=
   fi
 
-   if test $vtv_cygmin = yes; then
+
+
+
+   if test x$vtv_cygmin = xyes; then
   VTV_CYGMIN_TRUE=
   VTV_CYGMIN_FALSE='#'
 else
 
 
 
-
-
-
-
 # Checks for operating systems support that doesn't require linking.