configure: Only check for libunwind.h on OS X.
This commit is contained in:
parent
a0df3330c3
commit
36a9f9dd05
|
@ -6626,7 +6626,6 @@ for ac_header in \
|
||||||
lber.h \
|
lber.h \
|
||||||
ldap.h \
|
ldap.h \
|
||||||
libproc.h \
|
libproc.h \
|
||||||
libunwind.h \
|
|
||||||
link.h \
|
link.h \
|
||||||
linux/cdrom.h \
|
linux/cdrom.h \
|
||||||
linux/compiler.h \
|
linux/compiler.h \
|
||||||
|
@ -7849,6 +7848,18 @@ uninstall::
|
||||||
;;
|
;;
|
||||||
|
|
||||||
darwin*|macosx*)
|
darwin*|macosx*)
|
||||||
|
for ac_header in libunwind.h
|
||||||
|
do :
|
||||||
|
ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
|
||||||
|
if test "x$ac_cv_header_libunwind_h" = xyes; then :
|
||||||
|
cat >>confdefs.h <<_ACEOF
|
||||||
|
#define HAVE_LIBUNWIND_H 1
|
||||||
|
_ACEOF
|
||||||
|
|
||||||
|
fi
|
||||||
|
|
||||||
|
done
|
||||||
|
|
||||||
LIBEXT="dylib"
|
LIBEXT="dylib"
|
||||||
DLLFLAGS="$DLLFLAGS -fPIC"
|
DLLFLAGS="$DLLFLAGS -fPIC"
|
||||||
LIBWINE_LDFLAGS="-multiply_defined suppress"
|
LIBWINE_LDFLAGS="-multiply_defined suppress"
|
||||||
|
|
|
@ -424,7 +424,6 @@ AC_CHECK_HEADERS(\
|
||||||
lber.h \
|
lber.h \
|
||||||
ldap.h \
|
ldap.h \
|
||||||
libproc.h \
|
libproc.h \
|
||||||
libunwind.h \
|
|
||||||
link.h \
|
link.h \
|
||||||
linux/cdrom.h \
|
linux/cdrom.h \
|
||||||
linux/compiler.h \
|
linux/compiler.h \
|
||||||
|
@ -751,6 +750,7 @@ uninstall::
|
||||||
;;
|
;;
|
||||||
|
|
||||||
darwin*|macosx*)
|
darwin*|macosx*)
|
||||||
|
AC_CHECK_HEADERS(libunwind.h)
|
||||||
LIBEXT="dylib"
|
LIBEXT="dylib"
|
||||||
DLLFLAGS="$DLLFLAGS -fPIC"
|
DLLFLAGS="$DLLFLAGS -fPIC"
|
||||||
LIBWINE_LDFLAGS="-multiply_defined suppress"
|
LIBWINE_LDFLAGS="-multiply_defined suppress"
|
||||||
|
|
Loading…
Reference in New Issue