ICU-315 updated the configure.in to include DLL detection.

X-SVN-Rev: 961
This commit is contained in:
Helena Chapman 2000-03-20 23:29:45 +00:00
parent 59c7bb0997
commit ddff22f632

View File

@ -163,7 +163,14 @@ if test $HAVE_DLOPEN = 0; then
fi
fi
dnl added for s/390 DLL loading detection
if test $HAVE_DLOPEN = 0; then
AC_CHECK_FUNC(dllload)
if test $ac_cv_func_dllload = yes; then
HAVE_DLOPEN=1
fi
fi
AC_SUBST(HAVE_DLOPEN)
dnl Checks for header files
@ -370,6 +377,12 @@ fi
AC_SUBST(DATABUILDDIR)
AC_SUBST(RELATIVEDATADIR)
dnl added for s/390 DLL loading detection
if test "$ac_cv_func_dllload" = "yes"; then
CPPFLAGS="$(CPPFLAGS) -DICU_USE_SHL_LOAD"
fi
dnl output the Makefiles
AC_OUTPUT([Makefile \
common/Makefile common/unicode/platform.h config/Makefile i18n/Makefile \