path: root/aclocal.m4
diff options
authorJoel Sherrill <>1998-08-19 12:56:20 +0000
committerJoel Sherrill <>1998-08-19 12:56:20 +0000
commit06fa582130dac08e8c51ba27e2226f7ec7fc29ae (patch)
tree1317d75a7d4e66a1e53cd414806df4a7fddc6ed2 /aclocal.m4
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.m4')
1 files changed, 9 insertions, 1 deletions
diff --git a/aclocal.m4 b/aclocal.m4
index feb6baec58..ee698ab873 100644
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -461,7 +461,15 @@ AC_TRY_RUN([
#include <sys/ipc.h>
#include <sys/sem.h>
int main () {
- union semun arg ;
+#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)