Diff for /rpl/configure.ac between versions 1.90 and 1.92

version 1.90, 2014/04/25 07:37:27 version 1.92, 2014/05/16 17:08:40
Line 76  AC_PROG_F77(gfortran) Line 76  AC_PROG_F77(gfortran)
 dnl Check for Fortran 9* compiler  dnl Check for Fortran 9* compiler
 AC_PROG_FC(gfortran)  AC_PROG_FC(gfortran)
   
 if test x"$F77" == x; then  if test x"$F77" = x; then
     AC_MSG_ERROR([Cannot find gfortran! You have to install it.])      AC_MSG_ERROR([Cannot find gfortran! You have to install it.])
 fi  fi
   
 if test x"$FC" == x; then  if test x"$FC" = x; then
     AC_MSG_ERROR([Cannot find gfortran! You have to install it.])      AC_MSG_ERROR([Cannot find gfortran! You have to install it.])
 fi  fi
   
Line 248  else Line 248  else
     IPCS_SYSV=-DIPCS_SYSV      IPCS_SYSV=-DIPCS_SYSV
     POSIX_IPCS=yes      POSIX_IPCS=yes
 fi],  fi],
 REG=$LDFLAGS  REG=$LIBS
 POSIX_IPCS=guessed  POSIX_IPCS=guessed
 LDFLAGS="-lrt -lpthread"  LIBS="-lrt -lpthread"
 [AC_MSG_CHECKING([for POSIX semaphores and shared objects])  [AC_MSG_CHECKING([for POSIX semaphores and shared objects])
 AC_LINK_IFELSE(  AC_LINK_IFELSE(
 [AC_LANG_PROGRAM([#include <sys/mman.h>  [AC_LANG_PROGRAM([#include <sys/mman.h>
Line 269  fd = shm_open(sem , O_CREAT | O_RDWR, S_ Line 269  fd = shm_open(sem , O_CREAT | O_RDWR, S_
 [IPCS_SYSV=-UIPCS_SYSV; AC_MSG_RESULT(yes)],  [IPCS_SYSV=-UIPCS_SYSV; AC_MSG_RESULT(yes)],
 [IPCS_SYSV=-DIPCS_SYSV; AC_MSG_RESULT(no)]  [IPCS_SYSV=-DIPCS_SYSV; AC_MSG_RESULT(no)]
     )]      )]
 LDFLAGS=$REG  LIBS=$REG
 )  )
   
 if test "$IPCS_SYSV" = "-UIPCS_SYSV" -a "$POSIX_IPCS" = "guessed"; then  if test "$IPCS_SYSV" = "-UIPCS_SYSV" -a "$POSIX_IPCS" = "guessed"; then
 REG=$LDFLAGS  REG=$LIBS
 LDFLAGS=-pthread  LIBS=-pthread
 AC_MSG_CHECKING([for POSIX anonymous semaphores])  AC_MSG_CHECKING([for POSIX anonymous semaphores])
 AC_LINK_IFELSE(  AC_LINK_IFELSE(
 [AC_LANG_PROGRAM([#include <semaphore.h>  [AC_LANG_PROGRAM([#include <semaphore.h>
Line 287  AC_LINK_IFELSE( Line 287  AC_LINK_IFELSE(
 [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=$LIBS
 REG=""  REG=""
 else  else
     SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES      SEMAPHORES_NOMMES=-USEMAPHORES_NOMMES
Line 376  if test "$enableval" = "no"; then Line 376  if test "$enableval" = "no"; then
 else  else
     MOTIF_SUPPORT="-DMOTIF_SUPPORT"      MOTIF_SUPPORT="-DMOTIF_SUPPORT"
 fi],  fi],
 if test "$have_x" == "yes"; then  if test "$have_x" = "yes"; then
     MOTIF_SUPPORT="-DMOTIF_SUPPORT"      MOTIF_SUPPORT="-DMOTIF_SUPPORT"
 else  else
     MOTIF_SUPPORT="-UMOTIF_SUPPORT"      MOTIF_SUPPORT="-UMOTIF_SUPPORT"

Removed from v.1.90  
changed lines
  Added in v.1.92


CVSweb interface <joel.bertrand@systella.fr>