]> granicus.if.org Git - php/commitdiff
unfinished work towards towards refactoring of extension_parser.php
authorHartmut Holzgraefe <hholzgra@php.net>
Tue, 6 May 2003 16:55:20 +0000 (16:55 +0000)
committerHartmut Holzgraefe <hholzgra@php.net>
Tue, 6 May 2003 16:55:20 +0000 (16:55 +0000)
scripts/ext_skel_ng/config_m4.php [new file with mode: 0644]

diff --git a/scripts/ext_skel_ng/config_m4.php b/scripts/ext_skel_ng/config_m4.php
new file mode 100644 (file)
index 0000000..af0a16d
--- /dev/null
@@ -0,0 +1,28 @@
+<?php
+
+class config_m4 {
+       # name, with[], libs[], language, files[]
+       var $name;
+       var $language = "c";
+       var $with = false;
+       var $libs = array();
+       var $files = array();
+
+       function __construct($name) {
+               $this->name = $name;
+       }
+
+       function write_file() {
+               $upname = strtoupper($this->name);
+               
+               // CVS ID header
+               echo 
+'dnl
+dnl $ Id: $
+dnl
+';
+                               
+       }
+}
+
+?>
\ No newline at end of file