improve hand-made buildsystem - fixes --as-needed link - fixes jobserver - fixes strip by bangert@gentoo.org diff -Naur monkey-0.9.2.orig/configure monkey-0.9.2/configure --- monkey-0.9.2.orig/configure 2008-01-17 12:29:36.000000000 +0100 +++ monkey-0.9.2/configure 2009-04-19 20:38:00.000000000 +0200 @@ -251,7 +251,7 @@ # Monkey HTTP Daemon: Makefile # ============================ default: - @(cd src; make all) + @(cd src; \$(MAKE) all) @echo @echo " Running Monkey :" @echo " ----------------" @@ -261,9 +261,9 @@ @echo " For more help use '-h' option." @echo clean: - @(cd src; make clean) + @(cd src; \$(MAKE) clean) distclean: - @(cd src; make distclean) + @(cd src; \$(MAKE) distclean) EOF } @@ -280,14 +280,14 @@ LOGDIR=${logdir} default: - @(cd src; make all) + @(cd src; \$(MAKE) all) clean: - @(cd src; make clean) + @(cd src; \$(MAKE) clean) distclean: - @(cd src; make distclean) + @(cd src; \$(MAKE) distclean) install: - make -C src all + \$(MAKE) -C src all install -d \$(BINDIR) install -d \$(CGIBIN) install -d \$(SYSCONFDIR) @@ -296,7 +296,7 @@ install -d \${DATADIR}/php install -d \${DATADIR}/docs install -d \${LOGDIR} - install -s -m 755 bin/monkey \$(BINDIR) + install -m 755 bin/monkey \$(BINDIR) install -m 755 bin/banana \$(BINDIR) install -m 755 ./cgi-bin/* \$(CGIBIN) install -m 600 ./conf/*.* \$(SYSCONFDIR) @@ -334,9 +334,7 @@ cat > src/Makefile<