Fix mingw32 build on x86-64 RHEL 6.5
authorGary Benson <gbenson@redhat.com>
Fri, 20 Jun 2014 14:41:28 +0000 (15:41 +0100)
committerGary Benson <gbenson@redhat.com>
Fri, 20 Jun 2014 14:41:28 +0000 (15:41 +0100)
This commit fixes the mingw32 build on x86-64 RHEL 6.5.

gdb/gdbserver/
2014-06-20  Gary Benson  <gbenson@redhat.com>

* configure.ac (AC_REPLACE_FUNCS) <vasprintf, vsnprintf>: Removed.
* configure: Regenerated.
* config.in: Likewise.

gdb/gdbserver/ChangeLog
gdb/gdbserver/config.in
gdb/gdbserver/configure
gdb/gdbserver/configure.ac

index 753a0c2278cff40d5ce74551bb5aa26ed62a6039..085677b36a2bd5d3ec9f0cec94b396c89a0a5571 100644 (file)
@@ -1,3 +1,9 @@
+2014-06-20  Gary Benson  <gbenson@redhat.com>
+
+       * configure.ac (AC_REPLACE_FUNCS) <vasprintf, vsnprintf>: Removed.
+       * configure: Regenerated.
+       * config.in: Likewise.
+
 2014-06-20  Gary Benson  <gbenson@redhat.com>
 
        * Makefile.in (SFILES): Update locations for files moved
index 1b9751f617a10b89a5641e35eee04c9d19f104c8..6ce45a661f478895998dc3d3770bb2ee7185e345 100644 (file)
@@ -66,9 +66,6 @@
 /* Define to 1 if you have the `getrlimit' function. */
 #undef HAVE_GETRLIMIT
 
-/* Define to 1 if you have the `gettimeofday' function. */
-#undef HAVE_GETTIMEOFDAY
-
 /* Define to 1 if you have the <inttypes.h> header file. */
 #undef HAVE_INTTYPES_H
 
 /* Define if UST is available */
 #undef HAVE_UST
 
-/* Define to 1 if you have the `vasprintf' function. */
-#undef HAVE_VASPRINTF
-
-/* Define to 1 if you have the `vsnprintf' function. */
-#undef HAVE_VSNPRINTF
-
 /* Define to 1 if you have the <wait.h> header file. */
 #undef HAVE_WAIT_H
 
index 33db6e362609dbb5aac89eaa8ad382566ea36e8f..5f8dcd2a11ed776daccf4594834f9dffe7e7ff09 100755 (executable)
@@ -589,6 +589,7 @@ ac_includes_default="\
 #endif"
 
 ac_subst_vars='LTLIBOBJS
+LIBOBJS
 GNULIB_STDINT_H
 extra_libraries
 IPA_DEPFILES
@@ -604,7 +605,6 @@ WERROR_CFLAGS
 WARN_CFLAGS
 ustinc
 ustlibs
-LIBOBJS
 SET_MAKE
 GMAKE_FALSE
 GMAKE_TRUE
@@ -4931,27 +4931,6 @@ _ACEOF
 fi
 done
 
-for ac_func in vasprintf vsnprintf
-do :
-  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
-ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
-eval as_val=\$$as_ac_var
-   if test "x$as_val" = x""yes; then :
-  cat >>confdefs.h <<_ACEOF
-#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
-_ACEOF
-
-else
-  case " $LIBOBJS " in
-  *" $ac_func.$ac_objext "* ) ;;
-  *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext"
- ;;
-esac
-
-fi
-done
-
-
 
 
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
index 7fa89d6d134ca9dccb5c0c56de5cece6cb6e9402..67866f806b7a07c099e37e15dcba5ad80a92b186 100644 (file)
@@ -86,7 +86,6 @@ AC_CHECK_HEADERS(sgtty.h termio.h termios.h sys/reg.h string.h dnl
                 sys/ioctl.h netinet/in.h sys/socket.h netdb.h dnl
                 netinet/tcp.h arpa/inet.h)
 AC_CHECK_FUNCS(pread pwrite pread64 readlink)
-AC_REPLACE_FUNCS(vasprintf vsnprintf)
 
 GDB_AC_COMMON