]> granicus.if.org Git - postgresql/commitdiff
scripts required by configure to bypass its inabilty to use []'s inside of
authorMarc G. Fournier <scrappy@hub.org>
Sat, 12 Apr 1997 13:22:04 +0000 (13:22 +0000)
committerMarc G. Fournier <scrappy@hub.org>
Sat, 12 Apr 1997 13:22:04 +0000 (13:22 +0000)
configure ([] have special means to m4 *sigh*)

src/scripts/convert_inc [new file with mode: 0644]
src/scripts/convert_lib [new file with mode: 0644]
src/scripts/last_field [new file with mode: 0644]

diff --git a/src/scripts/convert_inc b/src/scripts/convert_inc
new file mode 100644 (file)
index 0000000..7267c83
--- /dev/null
@@ -0,0 +1 @@
+s@  *@ @g; s@^\([^ ]\)@-I\1@; s@ \([^ ]\)@ -I\1@g
diff --git a/src/scripts/convert_lib b/src/scripts/convert_lib
new file mode 100644 (file)
index 0000000..ec85d54
--- /dev/null
@@ -0,0 +1 @@
+s@  *@ @g; s@^\([^ ]\)@-L\1@; s@ \([^ ]\)@ -L\1@g
diff --git a/src/scripts/last_field b/src/scripts/last_field
new file mode 100644 (file)
index 0000000..b46df8c
--- /dev/null
@@ -0,0 +1,4 @@
+{
+       i=split($1, a, "/")
+       print a[i]
+}