Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
f0a3a937
Commit
f0a3a937
authored
Dec 23, 2002
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- fix CC_VERSION and CXX_VERSION for compilers that return multiple lines of
output for "--version" (e.g. gcc 3.x)
parent
b69d8f4a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
configure.in
configure.in
+2
-2
No files found.
configure.in
View file @
f0a3a937
...
@@ -130,7 +130,7 @@ AC_PROG_CXX
...
@@ -130,7 +130,7 @@ AC_PROG_CXX
AC_PROG_CPP
AC_PROG_CPP
# Print version of CC and CXX compiler (if they support --version)
# Print version of CC and CXX compiler (if they support --version)
CC_VERSION
=
`
$CC
--version
`
CC_VERSION
=
`
$CC
--version
|
sed
1q
`
if
test
$?
-eq
"0"
if
test
$?
-eq
"0"
then
then
AC_MSG_CHECKING
(
"C Compiler version"
)
;
AC_MSG_CHECKING
(
"C Compiler version"
)
;
...
@@ -138,7 +138,7 @@ then
...
@@ -138,7 +138,7 @@ then
else
else
CC_VERSION
=
""
CC_VERSION
=
""
fi
fi
CXX_VERSION
=
`
$CXX
--version
`
CXX_VERSION
=
`
$CXX
--version
|
sed
1q
`
if
test
$?
-eq
"0"
if
test
$?
-eq
"0"
then
then
AC_MSG_CHECKING
(
"C++ compiler version"
)
;
AC_MSG_CHECKING
(
"C++ compiler version"
)
;
...
...
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