cvs: /php4/ext/standard Makefile.am
| From: | Sascha Schumann | Date: | Tue, 21 Sep 1999 12:24:41 +0000 |
| Subject: | cvs: /php4/ext/standard Makefile.am | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-4743@lists.php.net to get a copy of this message | ||
sas Tue Sep 21 08:24:41 1999 EDT
Modified files:
/php4/ext/standard Makefile.am
Log:
Continue, if re2c is not available.
Using the ".new" suffix, we prevent the shell from zeroing the file.
Index: php4/ext/standard/Makefile.am
diff -u php4/ext/standard/Makefile.am:1.12 php4/ext/standard/Makefile.am:1.13
--- php4/ext/standard/Makefile.am:1.12 Mon Sep 13 11:48:32 1999
+++ php4/ext/standard/Makefile.am Tue Sep 21 08:24:41 1999
@@ -11,7 +11,7 @@
parsedate.y lcg.c url_scanner.c metaphone.c
$(srcdir)/url_scanner.c: $(srcdir)/url_scanner.re
- re2c -b $< > $@
+ -re2c -b $< > $@.new && mv $@.new $@
#number.o: number.c
# $(CC) $(CFLAGS) -w@WARNING_LEVEL@ -c $< -o $@