aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMarc G. Fournier <scrappy@hub.org>1997-04-12 13:22:04 +0000
committerMarc G. Fournier <scrappy@hub.org>1997-04-12 13:22:04 +0000
commit32523e4cb822b4dc9b428f602ca323151bfc559c (patch)
tree33076c800ac6369d6309146e2a602ea42dc6391e /src
parentcecfd642f5b0305b873fc28c7723728f6aded39c (diff)
downloadpostgresql-32523e4cb822b4dc9b428f602ca323151bfc559c.tar.gz
postgresql-32523e4cb822b4dc9b428f602ca323151bfc559c.zip
scripts required by configure to bypass its inabilty to use []'s inside of
configure ([] have special means to m4 *sigh*)
Diffstat (limited to 'src')
-rw-r--r--src/scripts/convert_inc1
-rw-r--r--src/scripts/convert_lib1
-rw-r--r--src/scripts/last_field4
3 files changed, 6 insertions, 0 deletions
diff --git a/src/scripts/convert_inc b/src/scripts/convert_inc
new file mode 100644
index 00000000000..7267c830000
--- /dev/null
+++ b/src/scripts/convert_inc
@@ -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
index 00000000000..ec85d54539b
--- /dev/null
+++ b/src/scripts/convert_lib
@@ -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
index 00000000000..b46df8cef76
--- /dev/null
+++ b/src/scripts/last_field
@@ -0,0 +1,4 @@
+{
+ i=split($1, a, "/")
+ print a[i]
+}