~prafulla-t/drizzle/drz-fast-timer-and-time-profile-refactoring

« back to all changes in this revision

Viewing changes to m4/pandora_platform.m4

  • Committer: Prafulla Tekawade
  • Date: 2010-08-22 06:26:33 UTC
  • mfrom: (1685.40.6 staging)
  • Revision ID: prafulla_t@users.sourceforge.net-20100822062633-rda0zeuhg6nhyyom
MergeĀ fromĀ trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
59
59
    *solaris*)
60
60
      TARGET_SOLARIS="true"
61
61
      PANDORA_OPTIMIZE_BITFIELD=0
62
 
      LIBS="${LIBS} -lintl"
 
62
      AS_IF([test "x${USE_NLS}" = "xyes"],[LIBS="${LIBS} -lintl"])
63
63
      AC_SUBST(TARGET_SOLARIS)
64
64
      AC_DEFINE([TARGET_OS_SOLARIS], [1], [Whether we are building for Solaris])
65
65
      ;;
75
75
      AC_DEFINE([TARGET_OS_WINDOWS], [1], [Whether we are building for Windows])
76
76
      AC_DEFINE([WINVER], [WindowsXP], [Version of Windows])
77
77
      AC_DEFINE([_WIN32_WINNT], [0x0501], [Magical number to make things work])
 
78
      AC_DEFINE([EAI_SYSTEM], [11], [Another magical number])
 
79
      AH_BOTTOM([
 
80
#ifndef HAVE_SYS_SOCKET_H
 
81
# define SHUT_RD SD_RECEIVE
 
82
# define SHUT_WR SD_SEND
 
83
# define SHUT_RDWR SD_BOTH
 
84
#endif
 
85
      ])
 
86
 
78
87
      LIBS="$LIBS -lwsock32 -lws2_32"
79
 
      AM_CFLAGS="${AM_CFLAGS} -I\${top_srcdir}/win32 -I\${top_builddir}/win32"
 
88
      AM_CFLAGS="${AM_CFLAGS} -I\${top_srcdir}/win32/mingw -I\${top_builddir}/win32/mingw -I\${top_srcdir}/win32 -I\${top_builddir}/win32"
80
89
      ;;
81
90
  esac
82
91
  AM_CONDITIONAL(BUILD_WIN32, [test "x${TARGET_WINDOWS}" = "xtrue"])