From patchwork Fri Jun 20 14:43:59 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gary Benson X-Patchwork-Id: 1595 Received: (qmail 23969 invoked by alias); 20 Jun 2014 14:44:05 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Delivered-To: mailing list gdb-patches@sourceware.org Received: (qmail 23959 invoked by uid 89); 20 Jun 2014 14:44:05 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL, BAYES_00, SPF_HELO_PASS, SPF_PASS, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Fri, 20 Jun 2014 14:44:02 +0000 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s5KEi0Lt017801 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Fri, 20 Jun 2014 10:44:00 -0400 Received: from blade.nx (ovpn-116-59.ams2.redhat.com [10.36.116.59]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s5KEhxwn021465 for ; Fri, 20 Jun 2014 10:44:00 -0400 Received: from blade.nx (localhost [127.0.0.1]) by blade.nx (Postfix) with ESMTP id 33FF62624A0 for ; Fri, 20 Jun 2014 15:43:59 +0100 (BST) From: Gary Benson To: gdb-patches@sourceware.org Subject: [COMMITTED PATCH] Fix mingw32 build on x86-64 RHEL 6.5 Date: Fri, 20 Jun 2014 15:43:59 +0100 Message-Id: <1403275439-31787-1-git-send-email-gbenson@redhat.com> In-Reply-To: <878uoracpb.fsf@fleche.redhat.com> References: <878uoracpb.fsf@fleche.redhat.com> X-IsSubscribed: yes This commit fixes the mingw32 build on x86-64 RHEL 6.5. gdb/gdbserver/ 2014-06-20 Gary Benson * configure.ac (AC_REPLACE_FUNCS) : Removed. * configure: Regenerated. * config.in: Likewise. --- gdb/gdbserver/ChangeLog | 6 ++++++ gdb/gdbserver/config.in | 9 --------- gdb/gdbserver/configure | 23 +---------------------- gdb/gdbserver/configure.ac | 1 - 4 files changed, 7 insertions(+), 32 deletions(-) diff --git a/gdb/gdbserver/config.in b/gdb/gdbserver/config.in index 1b9751f..6ce45a6 100644 --- a/gdb/gdbserver/config.in +++ b/gdb/gdbserver/config.in @@ -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 header file. */ #undef HAVE_INTTYPES_H @@ -232,12 +229,6 @@ /* 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 header file. */ #undef HAVE_WAIT_H diff --git a/gdb/gdbserver/configure b/gdb/gdbserver/configure index 33db6e3..5f8dcd2 100755 --- a/gdb/gdbserver/configure +++ b/gdb/gdbserver/configure @@ -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 diff --git a/gdb/gdbserver/configure.ac b/gdb/gdbserver/configure.ac index 7fa89d6..67866f8 100644 --- a/gdb/gdbserver/configure.ac +++ b/gdb/gdbserver/configure.ac @@ -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