From bde3eb79721568d6a7fbc269501ba7321d58cbae Mon Sep 17 00:00:00 2001 From: gbeauche <> Date: Sun, 15 Jan 2006 11:41:23 +0000 Subject: [PATCH] fix framework detection on OSX/intel with newer compiler that compiler that fully obsoleted nested functions support (my fault anyway) --- SheepShaver/src/Unix/configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SheepShaver/src/Unix/configure.ac b/SheepShaver/src/Unix/configure.ac index 29180b9b..6ced52d5 100644 --- a/SheepShaver/src/Unix/configure.ac +++ b/SheepShaver/src/Unix/configure.ac @@ -440,7 +440,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"] ) ])