Skip to content

Commit

Permalink
rename NEEDS_LIBSUNMATH to CONFIG_NEEDS_LIBSUNMATH
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Juan Quintela authored and Anthony Liguori committed Jul 27, 2009
1 parent 2880bc3 commit 75b5a69
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Makefile.target
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions configure
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion fpu/softfloat-native.h
Expand Up @@ -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) \
Expand Down
2 changes: 1 addition & 1 deletion fpu/softfloat.h
Expand Up @@ -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

Expand Down

0 comments on commit 75b5a69

Please sign in to comment.