Commit c5c1fe35 authored by Matteo Quintiliani's avatar Matteo Quintiliani

Minor change


git-svn-id: file:///home/quintiliani/svncopy/nmxptool/trunk@1305 3cd66e75-5955-46cb-a940-c26e5fc5497d
parent 3b73b3fb
...@@ -119,7 +119,6 @@ AM_CONDITIONAL(ENABLE_DLL_PTHREAD, test x$DLL_PTHREAD != x) ...@@ -119,7 +119,6 @@ AM_CONDITIONAL(ENABLE_DLL_PTHREAD, test x$DLL_PTHREAD != x)
AC_ARG_VAR(DIR_PTHREAD, [Directory containing PThread DDL library]) AC_ARG_VAR(DIR_PTHREAD, [Directory containing PThread DDL library])
AC_ARG_VAR(DLL_PTHREAD, [Name of PThread DLL library - i.e. pthreadVC2.dll]) AC_ARG_VAR(DLL_PTHREAD, [Name of PThread DLL library - i.e. pthreadVC2.dll])
CFLAGS="$CFLAGS -D_POSIX_PTHREAD_SEMANTICS"
# Checks for header files. # Checks for header files.
AC_HEADER_STDC AC_HEADER_STDC
...@@ -162,6 +161,7 @@ AS_IF([test "x$enable_ew" != xno], ...@@ -162,6 +161,7 @@ AS_IF([test "x$enable_ew" != xno],
[ [
AS_IF([test "x$EW_HOME" != x], AS_IF([test "x$EW_HOME" != x],
[ [
CFLAGS="$CFLAGS -m32"
CFLAGS="$CFLAGS -I$EW_HOME/$EW_VERSION/include $GLOBALFLAGS" CFLAGS="$CFLAGS -I$EW_HOME/$EW_VERSION/include $GLOBALFLAGS"
AC_CHECK_HEADERS([earthworm.h kom.h transport.h trace_buf.h], AC_CHECK_HEADERS([earthworm.h kom.h transport.h trace_buf.h],
[AC_DEFINE([HAVE_EARTHWORMFILES_H], [1], [Define if you have earthworm header file])], [AC_DEFINE([HAVE_EARTHWORMFILES_H], [1], [Define if you have earthworm header file])],
...@@ -182,6 +182,7 @@ AS_IF([test "x$enable_ew" != xno], ...@@ -182,6 +182,7 @@ AS_IF([test "x$enable_ew" != xno],
case "$OSTYPE" in case "$OSTYPE" in
solaris*) solaris*)
EWOS=solaris EWOS=solaris
CFLAGS="$CFLAGS -D_POSIX_PTHREAD_SEMANTICS"
;; ;;
darwin*) darwin*)
EWOS=unix EWOS=unix
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment