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
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
nexedi
MariaDB
Commits
56f1424c
Commit
56f1424c
authored
Apr 22, 2006
by
msvensson@shellback.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for building shared libraries on AIX with 64-bit mode
Set building of shared libraries on QNX to defatul OFF
parent
7af32b07
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
47 additions
and
0 deletions
+47
-0
configure.in
configure.in
+47
-0
No files found.
configure.in
View file @
56f1424c
...
...
@@ -218,6 +218,46 @@ then
else
AC_PATH_PROG
(
AS, as, as
)
fi
# These checks has to be made befoe we buil libtool as they affect
# what is written into libtool.
case
$SYSTEM_TYPE
in
*
aix5
*
)
# Find out which ABI we are using.
echo
'int i;'
>
conftest.
$ac_ext
if
AC_TRY_EVAL
(
ac_compile
)
;
then
case
`
/usr/bin/file conftest.
$ac_objext
`
in
*
"32-bit XCOFF"
*
)
# OBJECT_MODE=32
;;
*
"64-bit XCOFF"
*
)
AC_MSG_WARN
([
Setting 64-bit mode
for
AIX 5.
*
])
# It was detected that compiler is using 64-bit mode
# Set flags for CC and NM so that those tools will work
# in 64-bit mode when called from libtool
# The easiest way fix this is "export OBJECT_MODE=64"
CC
=
"
$CC
-q64"
CXX
=
"
$CXX
-q64"
if
test
"X
${
NM
+set
}
"
!=
Xset
;
then
NM
=
"/usr/bin/nm -B -X64"
fi
;;
esac
fi
rm
-rf
conftest
*
;;
*
qnx
*
)
# Don't build shared libraries on QNX as it will run out of
# stack and segfault
AC_MSG_WARN
([
Turning off building of shared libraries]
)
AC_DISABLE_SHARED
;;
*
)
;;
esac
LINK
=
"OBJECT_MODE=64
$LINK
"
# Still need ranlib for readline; local static use only so no libtool.
AC_PROG_RANLIB
# We use libtool
...
...
@@ -229,6 +269,13 @@ AC_PROG_LIBTOOL
LIBTOOL
=
"
$LIBTOOL
--preserve-dup-deps"
AC_SUBST
(
LIBTOOL
)
dnl
AC_SUBST
(
NM
)
dnl
# NM= "$NM -X64"
#archive_expsym_cmds= `echo "$archive_expsym_cmds" | sed -e '/"$(CC)"//'`
#archive_expsym_cmds= "$CC -q64 $archive_expsym_cmds"
# CXXFLAGS=`echo "$CXXFLAGS -Werror" | sed -e 's/-fbranch-probabilities//; s/-Wall//; s/-ansi//; s/-pedantic//; s/-Wcheck//'`
#AC_LIBTOOL_DLOPEN AC_LIBTOOL_WIN32_DLL AC_DISABLE_FAST_INSTALL AC_DISABLE_SHARED AC_DISABLE_STATIC
# AC_PROG_INSTALL
...
...
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