diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-08-19 12:56:20 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1998-08-19 12:56:20 +0000 |
commit | 06fa582130dac08e8c51ba27e2226f7ec7fc29ae (patch) | |
tree | 1317d75a7d4e66a1e53cd414806df4a7fddc6ed2 /aclocal.m4 | |
parent | Cleaned up the ka9q definition. (diff) | |
download | rtems-06fa582130dac08e8c51ba27e2226f7ec7fc29ae.tar.bz2 |
Patches from Ralf Corsepius <corsepiu@faw.uni-ulm.de> 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/host.cfg.in 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')
-rw-r--r-- | aclocal.m4 | 10 |
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; +#else + union semun { + int val; + struct semid_ds *buf; + ushort *array; + } arg; +#endif int id=semget(IPC_PRIVATE,1,IPC_CREAT|0400); if (id == -1) exit(1); |