summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHartmut Holzgraefe <hholzgra@php.net>2003-05-06 16:55:20 +0000
committerHartmut Holzgraefe <hholzgra@php.net>2003-05-06 16:55:20 +0000
commit8c6a712a65cd52bf5c30e4cbe725417ad9969c91 (patch)
tree1ead4518f6bc95806b7e256c45be723298801773
parent30ff14a2fcecc495542a97bedda4a05eb8b35cc8 (diff)
downloadphp-git-8c6a712a65cd52bf5c30e4cbe725417ad9969c91.tar.gz
unfinished work towards towards refactoring of extension_parser.php
-rw-r--r--scripts/ext_skel_ng/config_m4.php28
1 files changed, 28 insertions, 0 deletions
diff --git a/scripts/ext_skel_ng/config_m4.php b/scripts/ext_skel_ng/config_m4.php
new file mode 100644
index 0000000000..af0a16d513
--- /dev/null
+++ b/scripts/ext_skel_ng/config_m4.php
@@ -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