Skip to content
Snippets Groups Projects
Commit 2fe1be02 authored by Claus-Justus Heine's avatar Claus-Justus Heine
Browse files

Fix Darwin checks.

parent fb71d3d7
No related branches found
No related tags found
No related merge requests found
......@@ -184,7 +184,14 @@ m4_if($8,[optional],
[AC_CHECK_LIB(${UPNAME[_NAME]}, main,
[UPNAME[_LIB]="-L${UPNAME[_LIB_PATH]} -l${UPNAME[_NAME]}"
UPNAME[_ALL_LIB]="-L${UPNAME[_LIB_PATH]} -l${UPNAME[_NAME]} $4"],
[AC_MSG_ERROR([Library "lib${UPNAME[_NAME]}" was not found])],
[case "$host" in
*darwin*)
AC_MSG_RESULT([Running the test for "$1" again with -framework switch])
;;
*)
AC_MSG_ERROR([Library "lib${UPNAME[_NAME]}" was not found])
;;
esac],
-L$UPNAME[_LIB_PATH] $4)])
dnl
......@@ -195,7 +202,6 @@ dnl
if test "x${UPNAME[_LIB]}" = "x" ; then
case "$host" in
*darwin*)
AC_MSG_RESULT([Running the test for "$1" again with -framework switch])
eval "unset ac_cv_lib_${UPNAME[_NAME]}___main"
m4_if($8,[optional],
[AC_CHECK_FRAMEWORK(${UPNAME[_NAME]}, main,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment