diff options
author | msvensson@neptunus.(none) <> | 2006-04-26 12:16:57 +0200 |
---|---|---|
committer | msvensson@neptunus.(none) <> | 2006-04-26 12:16:57 +0200 |
commit | 2c3a3bd87f9679851ef2fa65c3a675d58605145f (patch) | |
tree | 0742dadc251a5d5a2f8c872ad4479bc198feed49 /configure.in | |
parent | 95cac6792145cbe590174a558262e6082e5bb7e7 (diff) | |
download | mariadb-git-2c3a3bd87f9679851ef2fa65c3a675d58605145f.tar.gz |
Remove hacks for building shared libs on aix and qnx
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/configure.in b/configure.in index fe6ac7483ba..a21f12a07af 100644 --- a/configure.in +++ b/configure.in @@ -219,45 +219,6 @@ 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 |