ac_enable --diable-dynamic-afs
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11001 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
10
cf/aix.m4
10
cf/aix.m4
@@ -3,6 +3,11 @@ dnl $Id$
|
|||||||
dnl
|
dnl
|
||||||
|
|
||||||
AC_DEFUN(KRB_AIX,[
|
AC_DEFUN(KRB_AIX,[
|
||||||
|
|
||||||
|
AC_ARG_ENABLE(dynamic-afs,
|
||||||
|
AC_HELP_STRING([--disable-dynamic-afs],
|
||||||
|
[do not use loaded AFS library with AIX]))
|
||||||
|
|
||||||
aix=no
|
aix=no
|
||||||
case "$host" in
|
case "$host" in
|
||||||
*-*-aix3*)
|
*-*-aix3*)
|
||||||
@@ -14,13 +19,12 @@ case "$host" in
|
|||||||
esac
|
esac
|
||||||
AM_CONDITIONAL(AIX, test "$aix" != no)dnl
|
AM_CONDITIONAL(AIX, test "$aix" != no)dnl
|
||||||
AM_CONDITIONAL(AIX4, test "$aix" = 4)
|
AM_CONDITIONAL(AIX4, test "$aix" = 4)
|
||||||
aix_dynamic_afs=yes
|
AM_CONDITIONAL(AIX_DYNAMIC_AFS, test "$enable_dynamic_afs" != no)dnl
|
||||||
AM_CONDITIONAL(AIX_DYNAMIC_AFS, test "$aix_dynamic_afs" = yes)dnl
|
|
||||||
|
|
||||||
AC_FIND_FUNC_NO_LIBS(dlopen, dl)
|
AC_FIND_FUNC_NO_LIBS(dlopen, dl)
|
||||||
|
|
||||||
if test "$aix" != no; then
|
if test "$aix" != no; then
|
||||||
if test "$aix_dynamic_afs" = yes; then
|
if test "$enable_dynamic_afs" != no; then
|
||||||
if test "$ac_cv_funclib_dlopen" = yes; then
|
if test "$ac_cv_funclib_dlopen" = yes; then
|
||||||
AIX_EXTRA_KAFS=
|
AIX_EXTRA_KAFS=
|
||||||
elif test "$ac_cv_funclib_dlopen" != no; then
|
elif test "$ac_cv_funclib_dlopen" != no; then
|
||||||
|
Reference in New Issue
Block a user