When configure is run (platform is HP-UX 11.o using HP AnsiC compilers), the Makefile that is generated does not include a value for the variable "AR," which is later used in this chunk of code. bin/libsmbclient.a: $(LIBSMBCLIENT_PICOBJS) @echo Linking libsmbclient non-shared library $@ @-$(AR) -rc $@ $(LIBSMBCLIENT_PICOBJS) ...producing the error "-rc: not found" or equivalent.
Also in this block: bin/libmsrpc.a: $(LIBMSRPC_PICOBJ) @-$(AR) -rc $@ $(LIBMSRPC_PICOBJ)
I suspect AR is automatically defined in GNU Make, but not in HPUX Make. I've applied a fix to configure.in and Makefile.in. There may be more fixed required if there are systems who have an archiver that isn't called 'ar'.
sorry for the same, cleaning up the database to prevent unecessary reopens of bugs.