cvs: php-src(PHP_4_3) /scripts phpize.in
| From: | Jani Taskinen | Date: | Tue, 01 Jul 2003 16:20:53 +0000 |
| Subject: | cvs: php-src(PHP_4_3) /scripts phpize.in | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-22249@lists.php.net to get a copy of this message | ||
sniper Tue Jul 1 12:20:53 2003 EDT
Modified files: (Branch: PHP_4_3)
/php-src/scripts phpize.in
Log:
MFH
Index: php-src/scripts/phpize.in
diff -u php-src/scripts/phpize.in:1.1.2.3 php-src/scripts/phpize.in:1.1.2.4
--- php-src/scripts/phpize.in:1.1.2.3 Tue Jul 1 11:55:27 2003
+++ php-src/scripts/phpize.in Tue Jul 1 12:20:53 2003
@@ -12,26 +12,34 @@
aclocal.m4 config.h config.h.in conftest* ltmain.sh libtool config.cache \
config.log config.status Makefile Makefile.fragments Makefile.objects"
-# Sanity check
-if test ! -r config.m4 && test "$1" != "--help"; then
- echo "Cannot find config.m4. "
- echo "Make sure that you run $0 in the top level source directory of the module"
- exit 1
-fi
-
-# Usage
-case "$args" in
+case "$1" in
+ # Cleanup
--clean)
- # Cleanup
- echo "Cleaning.."
- for i in $CLEAN_FILES; do
- test -e $i && rm -rf $i
- done
- exit 0
+ if test -r config.m4; then
+ echo "Cleaning.."
+ for i in $CLEAN_FILES; do
+ test -e $i && rm -rf $i
+ done
+ exit 0
+ else
+ echo "Cannot find config.m4. "
+ echo "Make sure that you run '$0 --clean' in the top level source directory of
the module"
+ echo
+ exit 1
+ fi
;;
+ # Usage
--help)
echo "Usage: $0 [--clean|--help]"
exit 1
+ ;;
+ *)
+ if test ! -r config.m4; then
+ echo "Cannot find config.m4. "
+ echo "Make sure that you run '$0' in the top level source directory of the
module"
+ echo
+ exit 1
+ fi
;;
esac