Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
L
libzmq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
libzmq
Commits
48a90cfb
Commit
48a90cfb
authored
Feb 15, 2010
by
Martin Lucina
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace check for sparc with host_cpu
parent
0ded6c19
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
17 deletions
+8
-17
configure.in
configure.in
+8
-17
No files found.
configure.in
View file @
48a90cfb
...
@@ -175,23 +175,14 @@ case "${host_os}" in
...
@@ -175,23 +175,14 @@ case "${host_os}" in
;;
;;
esac
esac
# Check if we are running at sparc harware
# CPU-specific optimizations
AC_MSG_CHECKING([wheter __sparc__ is defined])
case "${host_cpu}" in
AC_COMPILE_IFELSE([AC_LANG_PROGRAM(
*sparc*)
[[#if defined __sparc__
CPPFLAGS="$CPPFLAGS -mcpu=v9"
//OK we are on sparc
;;
#else
*)
error: we are not on sparc
;;
#endif
esac
]])],
[sparc=yes],
[sparc=no])
AC_MSG_RESULT([$sparc])
if test "x$sparc" = "xyes"; then
CPPFLAGS="$CPPFLAGS -mcpu=v9"
fi
# Checks for header files.
# Checks for header files.
AC_HEADER_STDC
AC_HEADER_STDC
...
...
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