Changeset 522 for trunk/configure.ac


Ignore:
Timestamp:
Apr 5, 2017, 9:51:43 PM (7 years ago)
Author:
katerina
Message:

Fix for ticket #417 (bus error on Solaris/SPARC).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r521 r522  
    672672fi
    673673
     674AC_MSG_CHECKING(for union semun)
     675AC_TRY_COMPILE([#include <sys/types.h>
     676#include <sys/ipc.h>
     677#include <sys/sem.h>],[union semun foo;], [sh_have_semun=yes], [sh_have_semun=no])
     678AC_MSG_RESULT($sh_have_semun)
     679if test x$sh_have_semun = xyes
     680then
     681  AC_DEFINE(HAVE_UNION_SEMUN, 1, [union semun already defined in sys/ipc.h or sys/sem.h])
     682fi
    674683
    675684dnl *****************************************
Note: See TracChangeset for help on using the changeset viewer.