From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MVR0B-0002cC-9m for qemu-devel@nongnu.org; Mon, 27 Jul 2009 10:16:31 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MVR05-0002Yd-Fk for qemu-devel@nongnu.org; Mon, 27 Jul 2009 10:16:30 -0400 Received: from [199.232.76.173] (port=44524 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MVQzy-0002Wq-VL for qemu-devel@nongnu.org; Mon, 27 Jul 2009 10:16:19 -0400 Received: from mx2.redhat.com ([66.187.237.31]:34242) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MVQzy-00010O-DQ for qemu-devel@nongnu.org; Mon, 27 Jul 2009 10:16:18 -0400 From: Juan Quintela Date: Mon, 27 Jul 2009 16:13:23 +0200 Message-Id: <600cb7aca2023ad414e49a1a7932c8adeab3e45e.1248703755.git.quintela@redhat.com> In-Reply-To: References: In-Reply-To: References: Subject: [Qemu-devel] [PATCH 44/47] rename NEEDS_LIBSUNMATH to CONFIG_NEEDS_LIBSUNMATH List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: aliguori@us.ibm.com Once there fix a place where it was misspelled Signed-off-by: Juan Quintela --- Makefile.target | 2 +- configure | 4 ++-- fpu/softfloat-native.h | 2 +- fpu/softfloat.h | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Makefile.target b/Makefile.target index 68fcd11..4b80055 100644 --- a/Makefile.target +++ b/Makefile.target @@ -60,7 +60,7 @@ LIBS+=-lwinmm -lws2_32 -liphlpapi endif ifdef CONFIG_SOLARIS LIBS+=-lsocket -lnsl -lresolv -ifdef NEEDS_LIBSUNMATH +ifdef CONFIG_NEEDS_LIBSUNMATH LIBS+=-lsunmath LDFLAGS+=-L/opt/SUNWspro/prod/lib -R/opt/SUNWspro/prod/lib CFLAGS+=-I/opt/SUNWspro/prod/include/cc diff --git a/configure b/configure index 366b336..44f544a 100755 --- a/configure +++ b/configure @@ -1558,8 +1558,8 @@ if test "$solaris" = "yes" ; then echo "#define CONFIG_SOLARIS 1" >> $config_host_h echo "#define CONFIG_SOLARIS_VERSION $solarisrev" >> $config_host_h if test "$needs_libsunmath" = "yes" ; then - echo "NEEDS_LIBSUNMATH=yes" >> $config_host_mak - echo "#define NEEDS_LIBSUNMATH 1" >> $config_host_h + echo "CONFIG_NEEDS_LIBSUNMATH=y" >> $config_host_mak + echo "#define CONFIG_NEEDS_LIBSUNMATH 1" >> $config_host_h fi fi if test -n "$sparc_cpu"; then diff --git a/fpu/softfloat-native.h b/fpu/softfloat-native.h index 0bba084..0893ce3 100644 --- a/fpu/softfloat-native.h +++ b/fpu/softfloat-native.h @@ -62,7 +62,7 @@ #define isunordered(x,y) unordered(x, y) #endif -#if defined(__sun__) && !defined(NEED_LIBSUNMATH) +#if defined(__sun__) && !defined(CONFIG_NEEDS_LIBSUNMATH) #ifndef isnan # define isnan(x) \ diff --git a/fpu/softfloat.h b/fpu/softfloat.h index bebfefd..789179a 100644 --- a/fpu/softfloat.h +++ b/fpu/softfloat.h @@ -32,7 +32,7 @@ these four paragraphs for those parts of this code that are retained. #ifndef SOFTFLOAT_H #define SOFTFLOAT_H -#if defined(CONFIG_SOLARIS) && defined(NEEDS_LIBSUNMATH) +#if defined(CONFIG_SOLARIS) && defined(CONFIG_NEEDS_LIBSUNMATH) #include #endif -- 1.6.2.5