cvs: /php4/ext ext_skel

From: Date: Thu, 07 Oct 1999 19:53:51 +0000
Subject: cvs: /php4/ext ext_skel
Groups: php.version4 
Request: Send a blank email to php-version4+get-5338@lists.php.net to get a copy of this message
sas Thu Oct 7 15:53:51 1999 EDT Modified files: /php4/ext ext_skel Log: Add help to get people started. Index: php4/ext/ext_skel diff -u php4/ext/ext_skel:1.9 php4/ext/ext_skel:1.10 --- php4/ext/ext_skel:1.9 Thu Oct 7 09:52:11 1999 +++ php4/ext/ext_skel Thu Oct 7 15:53:20 1999 @@ -16,6 +16,8 @@ givup "Directory $extname already exists." fi +test -f ext_skel || givup "ext_skel must be in the current directory" + if echo '\c' | grep -s c >/dev/null 2>&1 then ECHO_N="echo -n" @@ -40,6 +42,8 @@ dnl config.m4 for extension $extname dnl don't forget to call PHP_EXTENSION($extname) +PHP_EXTENSION($extname) + eof $ECHO_N " Makefile.am$ECHO_C" @@ -58,6 +62,7 @@ .deps Makefile.in Makefile +*.o *.lo *.la .libs @@ -73,3 +78,16 @@ echo " [done]." +cat <<eof + +To use your new extension, you will have to execute the following steps: + + $ cd .. + $ ./buildconf + $ ./configure (your extension is automatically enabled) + $ vi ext/$extname/$extname.c + $ make + +Repeat the last two steps as often as necessary. + +eof

« previous php.version4 (#5338) next »