Diff for /rpl/Attic/configure between versions 1.84 and 1.85

version 1.84, 2011/09/17 10:38:30 version 1.85, 2011/09/21 09:09:21
Line 6004  else Line 6004  else
     IPCS_SYSV=yes      IPCS_SYSV=yes
 fi  fi
 else  else
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for POSIX semaphores" >&5    REG=$LDFLAGS
 $as_echo_n "checking for POSIX semaphores... " >&6; }  LDFLAGS=-lrt
 cat confdefs.h - <<_ACEOF >conftest.$ac_ext  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for POSIX semaphores and shared objects" >&5
   $as_echo_n "checking for POSIX semaphores and shared objects... " >&6; }
   if test "$cross_compiling" = yes; then :
     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
   $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
   as_fn_error $? "cannot run test program while cross compiling
   See \`config.log' for more details" "$LINENO" 5; }
   else
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */  /* end confdefs.h.  */
 #include <sys/mman.h>  #include <sys/mman.h>
 #include <sys/stat.h>  #include <sys/stat.h>
Line 6015  cat confdefs.h - <<_ACEOF >conftest.$ac_ Line 6023  cat confdefs.h - <<_ACEOF >conftest.$ac_
 int  int
 main ()  main ()
 {  {
  int fd; char *sem = "/sem.test";   int fd; char *sem = "/test";
 fd = shm_open(sem , O_CREAT | O_RDWR, S_IRUSR | S_IWUSR);  fd = shm_open(sem , O_CREAT | O_RDWR, S_IRUSR | S_IWUSR);
   close(fd);    close(fd);
   shm_unlink(sem);    shm_unlink(sem);
     fd = sem_open(sem, O_CREAT | O_RDWR, S_IRUSR | S_IWUSR, 0);
     close(fd);
     sem_unlink(sem);
   return(0);    return(0);
   
   ;    ;
   return 0;    return 0;
 }  }
 _ACEOF  _ACEOF
 if ac_fn_c_try_compile "$LINENO"; then :  if ac_fn_c_try_run "$LINENO"; then :
   IPCS_SYSV=-UIPCS_SYSV; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5    IPCS_SYSV=-UIPCS_SYSV; { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 $as_echo "yes" >&6; }  $as_echo "yes" >&6; }
 else  else
Line 6033  else Line 6044  else
 $as_echo "no" >&6; }  $as_echo "no" >&6; }
   
 fi  fi
 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext  rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
     conftest.$ac_objext conftest.beam conftest.$ac_ext
   fi
   
   LDFLAGS=$REG
   
 fi  fi
   

Removed from v.1.84  
changed lines
  Added in v.1.85


CVSweb interface <joel.bertrand@systella.fr>