BSD derived tests want -h for symlink test
authorSascha Schumann <sas@php.net>
Mon, 28 Jun 1999 02:57:08 +0000 (02:57 +0000)
committerSascha Schumann <sas@php.net>
Mon, 28 Jun 1999 02:57:08 +0000 (02:57 +0000)
Makefile.in

index 47ba443879260eb1cdd1de4ffdcd950caf96db2d..d1ee3733d25ab41e2bf9bbb502f07dae35dd268e 100644 (file)
@@ -107,7 +107,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@
-       -@test -f mod_php4.c || test -L mod_php4.c || $(LN_S) $(srcdir)/mod_php4.c mod_php4.c
+       -@test -f mod_php4.c || test -L mod_php4.c || test -h mod_php4.c || $(LN_S) $(srcdir)/mod_php4.c mod_php4.c
        $(APXS) $(INCLUDE) -c -o libphp4.so @RPATHS@ mod_php4.c libmodphp4-so.a $(APXS_LDFLAGS) $(APXS_EXP)
 
 regex/libregex.a: