From: Marc G. Fournier Date: Sat, 12 Apr 1997 13:22:04 +0000 (+0000) Subject: scripts required by configure to bypass its inabilty to use []'s inside of X-Git-Tag: REL6_1~321 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=32523e4cb822b4dc9b428f602ca323151bfc559c;p=thirdparty%2Fpostgresql.git scripts required by configure to bypass its inabilty to use []'s inside of configure ([] have special means to m4 *sigh*) --- 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] +}