]> git.proxmox.com Git - qemu.git/commitdiff
rename NEEDS_LIBSUNMATH to CONFIG_NEEDS_LIBSUNMATH
authorJuan Quintela <quintela@redhat.com>
Mon, 27 Jul 2009 14:13:23 +0000 (16:13 +0200)
committerAnthony Liguori <aliguori@us.ibm.com>
Mon, 27 Jul 2009 19:10:55 +0000 (14:10 -0500)
Once there fix a place where it was misspelled

Signed-off-by: Juan Quintela <quintela@redhat.com>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Makefile.target
configure
fpu/softfloat-native.h
fpu/softfloat.h

index 68fcd11448debdc865ea7e6fdd7338ac67569214..4b8005570ea01dce590735c2020bb3e85c3cb2c1 100644 (file)
@@ -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
index 366b336e1b3a2b42b3d163e3c1d3a80ef8ac26a6..44f544a3f961b9c95369a15b3c54f1dac8899859 100755 (executable)
--- 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
index 0bba084405c0222aaa10977e5e7ecd49e36dae91..0893ce36ff4836939ec1102da323cb193dbae89c 100644 (file)
@@ -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) \
index bebfefd05758277488ccd7970a0bf17c79bdf78a..789179a6b2d15fbae08c7293c2efbd36795b56ba 100644 (file)
@@ -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 <sunmath.h>
 #endif