summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-08-19 12:56:20 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-08-19 12:56:20 +0000
commit06fa582130dac08e8c51ba27e2226f7ec7fc29ae (patch)
tree1317d75a7d4e66a1e53cd414806df4a7fddc6ed2 /configure
parentb93a1ab9ff5122d2889d93c55e6fd81d72bb57b7 (diff)
downloadrtems-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 '')
-rw-r--r--configure10
1 files changed, 9 insertions, 1 deletions
diff --git a/configure b/configure
index 0a569872be..db08992ac5 100644
--- a/configure
+++ b/configure
@@ -2743,7 +2743,15 @@ else
#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);