Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
e9cd0f2e
Commit
e9cd0f2e
authored
Sep 19, 1997
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update configure.
parent
ccca61b5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
6 deletions
+6
-6
src/configure
src/configure
+3
-3
src/configure.in
src/configure.in
+3
-3
No files found.
src/configure
View file @
e9cd0f2e
...
...
@@ -1511,13 +1511,13 @@ done
test
-n
"
$TR
"
||
TR
=
"NOT_FOUND"
TRSTRINGS
=
`
echo
ABCdef |
$TR
'[a-z]'
'[A-Z]'
2>/dev/null |
grep
ABCDEF
`
TRCLASS
=
`
echo
ABCdef |
$TR
'[:lower:]'
'[:upper:]'
2>/dev/null |
grep
ABCDEF
`
TRSTRINGS
=
"
`
echo
ABCdef |
$TR
'[a-z]'
'[A-Z]'
2>/dev/null |
grep
ABCDEF
`
"
TRCLASS
=
"
`
echo
ABCdef |
$TR
'[:lower:]'
'[:upper:]'
2>/dev/null |
grep
ABCDEF
`
"
if
test
"
$TRSTRINGS
"
=
"ABCDEF"
;
then
TRARGS
=
"'[a-z]' '[A-Z]'"
elif
test
"
$TRCLASS
"
=
"ABCDEF"
;
then
TRARGS
=
"
\"
[:lower:]
\"
\"
[:upper:]
\"
"
TRARGS
=
"
'[:lower:]' '[:upper:]'
"
else
{
echo
"configure: error: "
Can
\'
t find method to covert from upper to lower
case
with
tr
""
1>&2
;
exit
1
;
}
fi
...
...
src/configure.in
View file @
e9cd0f2e
...
...
@@ -319,13 +319,13 @@ AC_PATH_PROG(ipcrm, ipcrm)
AC_PATH_PROGS(TR, trbsd tr, NOT_FOUND)
dnl Check tr flags to convert from lower to upper case
TRSTRINGS=
`echo ABCdef | $TR '[[a-z]]' '[[A-Z]]' 2>/dev/null | grep ABCDEF`
TRCLASS=
`echo ABCdef | $TR '[[:lower:]]' '[[:upper:]]' 2>/dev/null | grep ABCDEF`
TRSTRINGS=
"`echo ABCdef | $TR '[[a-z]]' '[[A-Z]]' 2>/dev/null | grep ABCDEF`"
TRCLASS=
"`echo ABCdef | $TR '[[:lower:]]' '[[:upper:]]' 2>/dev/null | grep ABCDEF`"
if test "$TRSTRINGS" = "ABCDEF"; then
TRARGS="'[[a-z]]' '[[A-Z]]'"
elif test "$TRCLASS" = "ABCDEF"; then
TRARGS="
\"[[:lower:]]\" \"[[:upper:]]\"
"
TRARGS="
'[[:lower:]]' '[[:upper:]]'
"
else
AC_MSG_ERROR("Can\'t find method to covert from upper to lower case with tr")
fi
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment