path: root/aclocal
diff options
authorJoel Sherrill <>1998-08-19 12:56:20 +0000
committerJoel Sherrill <>1998-08-19 12:56:20 +0000
commit06fa582130dac08e8c51ba27e2226f7ec7fc29ae (patch)
tree1317d75a7d4e66a1e53cd414806df4a7fddc6ed2 /aclocal
parentb93a1ab9ff5122d2889d93c55e6fd81d72bb57b7 (diff)
Patches from Ralf Corsepius <> and myself to
make solaris target buildable. > 1. The ipc check fails since solaris does not define union semun. > The unix port code actually defines this type itself on solaris. Doing > the same thing lets it get configured. Then... > 2. It looks like BSDINSTALL is not defined properly. BSDINSTALL is defined in make/ as BSDINSTALL=@INSTALL@ @INSTALL@ is generated by autoconf's standard macro AC_PROG_INSTALL, which is widely used in almost any autoconf/automake configured package. In case there is really something wrong with it, then it must be considered a bug in autoconf. I can see a doubious fragment in AC_PROG_INSTALL, which is used when no appropriate bsd-install is found. Finally Ralf saw a problem with the find on solaris which I also saw and fixed.
Diffstat (limited to 'aclocal')
1 files changed, 8 insertions, 0 deletions
diff --git a/aclocal/sysv-ipc.m4 b/aclocal/sysv-ipc.m4
index 0eb88b3dbc..396dcffbb7 100644
--- a/aclocal/sysv-ipc.m4
+++ b/aclocal/sysv-ipc.m4
@@ -27,7 +27,15 @@ AC_TRY_RUN([
#include <sys/ipc.h>
#include <sys/sem.h>
int main () {
+#if !defined(sun)
union semun arg ;
+ union semun {
+ int val;
+ struct semid_ds *buf;
+ ushort *array;
+ } arg;
int id=semget(IPC_PRIVATE,1,IPC_CREAT|0400);
if (id == -1)