version 1.87, 2011/09/16 17:56:04
|
version 1.90, 2011/09/20 19:31:15
|
Line 212 else
|
Line 212 else
|
IPCS_SYSV=yes |
IPCS_SYSV=yes |
fi], |
fi], |
[AC_MSG_CHECKING([for POSIX semaphores]) |
[AC_MSG_CHECKING([for POSIX semaphores]) |
AC_COMPILE_IFELSE( |
AC_RUN_IFELSE( |
[AC_LANG_PROGRAM([#include <sys/mman.h> |
[AC_LANG_PROGRAM([#include <sys/mman.h> |
#include <sys/stat.h> |
#include <sys/stat.h> |
#include <fcntl.h> |
#include <fcntl.h> |
Line 231 fd = shm_open(sem , O_CREAT | O_RDWR, S_
|
Line 231 fd = shm_open(sem , O_CREAT | O_RDWR, S_
|
if test "$IPCS_SYSV" = "-UIPCS_SYSV"; then |
if test "$IPCS_SYSV" = "-UIPCS_SYSV"; then |
REG=$LDFLAGS |
REG=$LDFLAGS |
LDFLAGS=-pthread |
LDFLAGS=-pthread |
[AC_MSG_CHECKING([for POSIX anonymous semaphores]) |
AC_MSG_CHECKING([for POSIX anonymous semaphores]) |
AC_RUN_IFELSE( |
AC_RUN_IFELSE( |
[AC_LANG_PROGRAM([#include <semaphore.h> |
[AC_LANG_PROGRAM([#include <semaphore.h> |
], |
], |
Line 241 AC_RUN_IFELSE(
|
Line 241 AC_RUN_IFELSE(
|
return(0); |
return(0); |
])], |
])], |
[SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES; AC_MSG_RESULT(yes)], |
[SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES; AC_MSG_RESULT(yes)], |
[SEMAPHORES_NOMMES=-DSEMAPHORES_NOMMES; AC_MSG_RESULT(no)], |
[SEMAPHORES_NOMMES=-DSEMAPHORES_NOMMES; AC_MSG_RESULT(no)] |
)] |
) |
LDFLAGS=$REG |
LDFLAGS=$REG |
REG="" |
REG="" |
else |
else |
Line 465 if test ! -d "$srcdir"/rplcas/$GIAC; the
|
Line 465 if test ! -d "$srcdir"/rplcas/$GIAC; the
|
(cd "$srcdir/rplcas" && tar -xf -) |
(cd "$srcdir/rplcas" && tar -xf -) |
fi |
fi |
|
|
|
touch tools/openmotif.lib |
|
|
dnl Default installation directory |
dnl Default installation directory |
AC_PREFIX_DEFAULT(/usr/local) |
AC_PREFIX_DEFAULT(/usr/local) |
|
|