From 32523e4cb822b4dc9b428f602ca323151bfc559c Mon Sep 17 00:00:00 2001 From: "Marc G. Fournier" Date: Sat, 12 Apr 1997 13:22:04 +0000 Subject: [PATCH] scripts required by configure to bypass its inabilty to use []'s inside of configure ([] have special means to m4 *sigh*) --- src/scripts/convert_inc | 1 + src/scripts/convert_lib | 1 + src/scripts/last_field | 4 ++++ 3 files changed, 6 insertions(+) create mode 100644 src/scripts/convert_inc create mode 100644 src/scripts/convert_lib create mode 100644 src/scripts/last_field diff --git a/src/scripts/convert_inc b/src/scripts/convert_inc new file mode 100644 index 0000000000..7267c83000 --- /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 0000000000..ec85d54539 --- /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 0000000000..b46df8cef7 --- /dev/null +++ b/src/scripts/last_field @@ -0,0 +1,4 @@ +{ + i=split($1, a, "/") + print a[i] +} -- 2.40.0