]> granicus.if.org Git - php/commitdiff
avoid error message
authorSascha Schumann <sas@php.net>
Sun, 20 Jun 1999 17:15:29 +0000 (17:15 +0000)
committerSascha Schumann <sas@php.net>
Sun, 20 Jun 1999 17:15:29 +0000 (17:15 +0000)
Makefile.in

index 92417502ef97775fa119695ce5ed3e5108c32faf..e80e23c8a22737c3d8133eed137a80aa2f870df1 100644 (file)
@@ -105,7 +105,7 @@ libmodphp4-so.a: all-recursive $(OBJS) @REGEX_LIB@
 
 # Apache 1.3 shared module
 libphp4.so: $(srcdir)/mod_php4.c libmodphp4-so.a @REGEX_LIB@
-       -@$(LN_S) $(srcdir)/mod_php4.c mod_php4.c
+       -@test -f mod_php4.c || test -L mod_php4.c || $(LN_S) $(srcdir)/mod_php4.c mod_php4.c
        $(APXS) $(INCLUDE) -c -o libphp4.so $(APXS_LDFLAGS) mod_php4.c libmodphp4-so.a
 
 regex/libregex.a: