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.
This commit is contained in:
Joel Sherrill
1998-08-19 12:56:20 +00:00
parent b93a1ab9ff
commit 06fa582130
18 changed files with 49 additions and 27 deletions

View File

@@ -55,8 +55,8 @@ ${PGMS}: $(OBJS) $(LINK_FILES)
$(make-exe)
$(DESTDIR):
$(BSDINSTALL) $(INSTDIRFLAGS) $@
@INSTALL@ $(INSTDIRFLAGS) $@
# Install the program
install: $(DESTDIR) $(PGMS)
$(BSDINSTALL) $(INSTBINFLAGS) ${PGMS} $(DESTDIR)
@INSTALL@ $(INSTBINFLAGS) ${PGMS} $(DESTDIR)