diff options
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/configure.in b/configure.in index 2639635..3d3383c 100644 --- a/configure.in +++ b/configure.in @@ -543,6 +543,18 @@ AC_MSG_RESULT($LINKFORSHARED) # checks for libraries AC_CHECK_LIB(dl, dlopen) # Dynamic linking for SunOS/Solaris and SYSV AC_CHECK_LIB(dld, shl_load) # Dynamic linking for HP-UX + +# checks for system dependent C++ extensions support +case "$ac_sys_system" in + AIX*) AC_MSG_CHECKING(for genuine AIX C++ extensions support) + AC_TRY_LINK([#include "/usr/lpp/xlC/include/load.h"], + [loadAndInit("", 0, "")], + [AC_DEFINE(AIX_GENUINE_CPLUSPLUS) + AC_MSG_RESULT(yes)], + [AC_MSG_RESULT(no)]);; + *) ;; +esac + # Most SVR4 platforms (e.g. Solaris) need -lsocket and -lnsl. # However on SGI IRIX, these exist but are broken. # BeOS' sockets are stashed in libnet. |