Lines Matching refs:extname
35 --extname=?*)
36 extname=$optarg
37 EXTNAME=`echo $extname | tr "[:lower:]" "[:upper:]"`
68 if test -d "$extname" ; then
69 givup "Directory $extname already exists."
91 echo "Creating directory $extname"
92 stubfile=$extname"/function_stubs"
93 mkdir $extname || givup "Cannot create directory $extname"
97 …cat $proto | awk -v extname=$extname -v stubs=$stubs -v stubfile=$stubfile -v xml=$xml -v full_xml…
101 cd $extname
109 dnl config.m4 for extension $extname
117 dnl PHP_ARG_WITH($extname, for $extname support,
119 dnl [ --with-$extname Include $extname support])
123 PHP_ARG_ENABLE($extname, whether to enable $extname support,
125 [ --enable-$extname Enable $extname support])
132 dnl SEARCH_FOR="/include/$extname.h" # you most likely want to change this
136 dnl AC_MSG_CHECKING([for $extname files in default path])
147 dnl AC_MSG_ERROR([Please reinstall the $extname distribution])
154 dnl LIBNAME=$extname # you may want to change this
155 dnl LIBSYMBOL=$extname # you most likely want to change this
162 dnl AC_MSG_ERROR([wrong $extname lib version or lib not found])
169 PHP_NEW_EXTENSION($extname, $extname.c, \$ext_shared,, -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1)
179 // ARG_WITH("$extname", "for $extname support", "no");
182 ARG_ENABLE("$extname", "enable $extname support", "no");
185 EXTENSION("$extname", "$extname.c", PHP_EXTNAME_SHARED, "/DZEND_ENABLE_STATIC_TSRMLS_CACHE=1");
228 $ECHO_N " $extname.c$ECHO_C"
229 echo "s/extname/$extname/g" > sedscript
247 sed -f sedscript < $skel_dir/skeleton.c > $extname.c
250 $ECHO_N " php_$extname.h$ECHO_C"
251 echo "s/extname/$extname/g" > sedscript
265 sed -f sedscript <$skel_dir/php_skeleton.h > php_$extname.h
268 echo "s/extname/$extname/g" > sedscript
272 echo "s/extname/$extname/g" > sedscript
281 $ECHO_N " $extname.php$ECHO_C"
283 -e "s/extname/$extname/g" \
285 > $extname.php
318 2. $ vi ext/$extname/config.m4
320 4. $ ./configure --[with|enable]-$extname
322 6. $ ./sapi/cli/php -f ext/$extname/$extname.php
323 7. $ vi ext/$extname/$extname.c
326 Repeat steps 3-6 until you are satisfied with ext/$extname/config.m4 and