forked from Imagelibrary/rtems
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user