fix framework detection on OSX/intel (thanks toshi for the remote access ;-)

This commit is contained in:
gbeauche 2006-01-15 11:38:41 +00:00
parent a398b4a32a
commit 2bc7887bc1

View File

@ -430,7 +430,7 @@ AC_DEFUN([AC_CHECK_FRAMEWORK], [
saved_LIBS="$LIBS"
LIBS="$LIBS -framework $1"
AC_TRY_LINK(
[$2], [int main(void) { return 0; }],
[$2], [],
[AS_VAR_SET(ac_Framework, yes)], [AS_VAR_SET(ac_Framework, no); LIBS="$saved_LIBS"]
)
])