Test for dlopen/dlerror on Mac OS X as with any other UNIX.
Indent dlerror test appropriately. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
10
configure
vendored
10
configure
vendored
@@ -1,5 +1,5 @@
|
||||
#! /bin/sh
|
||||
# From configure.in Id: configure.in 51614 2008-02-09 14:40:26Z VZ .
|
||||
# From configure.in Id: configure.in 51632 2008-02-10 17:03:23Z VZ .
|
||||
# Guess values for system-dependent variables and create Makefiles.
|
||||
# Generated by GNU Autoconf 2.61 for wxWidgets 2.9.0.
|
||||
#
|
||||
@@ -40973,9 +40973,7 @@ if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
|
||||
HAVE_DL_FUNCS=0
|
||||
HAVE_SHL_FUNCS=0
|
||||
if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
|
||||
if test "$USE_DARWIN" = 1; then
|
||||
HAVE_DL_FUNCS=1
|
||||
elif test "$USE_DOS" = 1; then
|
||||
if test "$USE_DOS" = 1; then
|
||||
HAVE_DL_FUNCS=0
|
||||
else
|
||||
|
||||
@@ -41501,6 +41499,10 @@ done
|
||||
fi
|
||||
fi
|
||||
|
||||
if test "$USE_DARWIN" = 1; then
|
||||
HAVE_DL_FUNCS=1
|
||||
fi
|
||||
|
||||
if test "$HAVE_DL_FUNCS" = 0; then
|
||||
if test "$HAVE_SHL_FUNCS" = 0; then
|
||||
if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
|
||||
|
11
configure.in
11
configure.in
@@ -5153,10 +5153,7 @@ if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
|
||||
HAVE_DL_FUNCS=0
|
||||
HAVE_SHL_FUNCS=0
|
||||
if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
|
||||
if test "$USE_DARWIN" = 1; then
|
||||
dnl dlopen/dlerror is implemented in dynlib.cpp for Darwin/Mac OS X
|
||||
HAVE_DL_FUNCS=1
|
||||
elif test "$USE_DOS" = 1; then
|
||||
if test "$USE_DOS" = 1; then
|
||||
HAVE_DL_FUNCS=0
|
||||
else
|
||||
dnl the test is a bit complicated because we check for dlopen() both with
|
||||
@@ -5201,6 +5198,12 @@ if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
|
||||
fi
|
||||
fi
|
||||
|
||||
dnl Force HAVE_DL_FUNCS on for Darwin, even if the tests failed (e.g. pre-10.3)
|
||||
if test "$USE_DARWIN" = 1; then
|
||||
dnl dlopen/dlerror is implemented in dynlib.cpp for Darwin/Mac OS X
|
||||
HAVE_DL_FUNCS=1
|
||||
fi
|
||||
|
||||
if test "$HAVE_DL_FUNCS" = 0; then
|
||||
if test "$HAVE_SHL_FUNCS" = 0; then
|
||||
if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
|
||||
|
Reference in New Issue
Block a user