mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-31 13:24:13 +02:00
Set the gmodule suffix to 'a' for aix and use the aix gmodule
Sun Feb 22 02:28:43 2004 Matthias Clasen <maclas@gmx.de> * configure.in: Set the gmodule suffix to 'a' for aix and use the aix gmodule implementation. (#85930, Laurent Vivier) Bug #85930, Laurent Vivier: * gmodule-ar.c: Implementation of native module management for AIX. * gmoduleconf.h.in: * gmodule.c: Support gmodule-ar.c
This commit is contained in:
committed by
Matthias Clasen
parent
c0b5617ae9
commit
1c49b23e91
10
configure.in
10
configure.in
@@ -1007,6 +1007,13 @@ if test -z "$G_MODULE_IMPL"; then
|
||||
*-*-mingw*|*-*-cygwin*) G_MODULE_IMPL=G_MODULE_IMPL_WIN32 ;;
|
||||
esac
|
||||
fi
|
||||
dnl *** force native AIX library loader
|
||||
dnl *** dlopen() filepath must be of the form /path/libname.a(libname.so)
|
||||
if test -z "$G_MODULE_IMPL"; then
|
||||
case "$host" in
|
||||
*-*-aix*) G_MODULE_IMPL=G_MODULE_IMPL_AR ;;
|
||||
esac
|
||||
fi
|
||||
dnl *** dlopen() and dlsym() in system libraries
|
||||
if test -z "$G_MODULE_IMPL"; then
|
||||
AC_CHECK_FUNC(dlopen,
|
||||
@@ -1129,6 +1136,9 @@ case "$host_os" in
|
||||
cygwin* | mingw*)
|
||||
glib_gmodule_suffix='dll'
|
||||
;;
|
||||
aix*)
|
||||
glib_gmodule_suffix='a'
|
||||
;;
|
||||
*)
|
||||
glib_gmodule_suffix='so'
|
||||
;;
|
||||
|
Reference in New Issue
Block a user