Commit 7bb3f398 authored by msvensson@neptunus.(none)'s avatar msvensson@neptunus.(none)

Merge neptunus.(none):/home/msvensson/mysql/bug11835/my41-bug11835

into  neptunus.(none):/home/msvensson/mysql/bug11835/my50-bug11835
parents a77cc69e 6d4aa0e2
...@@ -1544,16 +1544,35 @@ else ...@@ -1544,16 +1544,35 @@ else
fi fi
#---END: #---END:
# Check for dlopen, needed for user definable functions # dlopen, dlerror
# This must be checked after threads on AIX case $with_mysqld_ldflags in
# We only need this for mysqld, not for the clients.
*-all-static*)
# No need to check for dlopen when mysqld is linked with
# -all-static as it won't be able to load any functions.
;;
*)
# Check for dlopen, needed for user definable functions
# This must be checked after threads on AIX
# We only need this for mysqld, not for the clients.
my_save_LIBS="$LIBS"
LIBS=""
AC_CHECK_LIB(dl,dlopen)
LIBDL=$LIBS
LIBS="$my_save_LIBS"
AC_SUBST(LIBDL)
my_save_LIBS="$LIBS"
LIBS="$LIBS $LIBDL"
AC_CHECK_FUNCS(dlopen dlerror)
LIBS="$my_save_LIBS"
;;
esac
my_save_LIBS="$LIBS"
LIBS=""
AC_CHECK_LIB(dl,dlopen)
LIBDL=$LIBS
LIBS="$my_save_LIBS"
AC_SUBST(LIBDL)
# System characteristics # System characteristics
case $SYSTEM_TYPE in case $SYSTEM_TYPE in
...@@ -1922,11 +1941,6 @@ then ...@@ -1922,11 +1941,6 @@ then
fi] fi]
) )
my_save_LIBS="$LIBS"
LIBS="$LIBS $LIBDL"
AC_CHECK_FUNCS(dlopen dlerror)
LIBS="$my_save_LIBS"
# Check definition of gethostbyaddr_r (glibc2 defines this with 8 arguments) # Check definition of gethostbyaddr_r (glibc2 defines this with 8 arguments)
ac_save_CXXFLAGS="$CXXFLAGS" ac_save_CXXFLAGS="$CXXFLAGS"
AC_CACHE_CHECK([style of gethost* routines], mysql_cv_gethost_style, AC_CACHE_CHECK([style of gethost* routines], mysql_cv_gethost_style,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment