Changeset 06fa582 in rtems for configure


Ignore:
Timestamp:
08/19/98 12:56:20 (26 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, 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
  • configure

    rb93a1ab r06fa582  
    27442744#include <sys/sem.h>
    27452745int main () {
    2746   union semun arg ;
     2746#if !defined(sun)
     2747  union semun arg;
     2748#else
     2749  union semun {
     2750    int val;
     2751    struct semid_ds *buf;
     2752    ushort *array;
     2753  } arg;
     2754#endif
    27472755  int id=semget(IPC_PRIVATE,1,IPC_CREAT|0400);
    27482756  if (id == -1)
Note: See TracChangeset for help on using the changeset viewer.