Changeset 06fa582 in rtems for aclocal


Ignore:
Timestamp:
Aug 19, 1998, 12:56:20 PM (21 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
2d7d605
Parents:
b93a1ab
Message:

Patches from Ralf Corsepius <corsepiu@…> 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...

  1. 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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • aclocal/sysv-ipc.m4

    rb93a1ab r06fa582  
    2828#include <sys/sem.h>
    2929int main () {
     30#if !defined(sun)
    3031  union semun arg ;
     32#else
     33  union semun {
     34    int val;
     35    struct semid_ds *buf;
     36    ushort *array;
     37  } arg;
     38#endif
    3139  int id=semget(IPC_PRIVATE,1,IPC_CREAT|0400);
    3240  if (id == -1)
Note: See TracChangeset for help on using the changeset viewer.