]> granicus.if.org Git - apache/commitdiff
Get "make install" with DSOs to work on AIX and Solaris. A recent
authorJeff Trawick <trawick@apache.org>
Tue, 28 Nov 2000 21:37:20 +0000 (21:37 +0000)
committerJeff Trawick <trawick@apache.org>
Tue, 28 Nov 2000 21:37:20 +0000 (21:37 +0000)
change by me to get "make install" to work at all on Tru64 caused this
problem.

This change has been tested with and without DSOs on AIX, Tru64,
Solaris 8 (UltraSparc), and RedHat 6.0.

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87109 13f79535-47bb-0310-9956-ffa450edef68

build/special.mk

index df55ff493e2ad4ede33107a6f36a1820e5fdde45..ca5f5d19d80142b210f8743802c1a43179165900 100644 (file)
@@ -61,9 +61,10 @@ targets = $(static) $(shared)
 install_targets = install-modules
 
 install-modules:
-       -@has_mod_so=`echo $(static) | grep 'mod_so'`
        @shared='$(shared)'; \
-       if [ "x$(has_mod_so)" != "x" ]; then \
+       static='$(static)'; \
+       has_mod_so=`echo $$static|sed 's/^.*mod_so.*$$/has_mod_so/'`; \
+       if [ "x$$has_mod_so" = "xhas_mod_so" ]; then \
                $(MKINSTALLDIRS) $(libexecdir); \
                for i in $$shared; do \
                        $(SH_LIBTOOL) --mode=install cp $$i $(libexecdir); \