--- configure.old 2007-09-21 09:25:16.000000000 -0400 +++ configure 2007-09-21 09:27:30.000000000 -0400 @@ -22007,13 +22007,13 @@ midishare_found=yes -{ echo "$as_me:$LINENO: checking for MidiOpen in -lMidiShare" >&5 -echo $ECHO_N "checking for MidiOpen in -lMidiShare... $ECHO_C" >&6; } +{ echo "$as_me:$LINENO: checking for MidiOpen in -framework MidiShare" >&5 +echo $ECHO_N "checking for MidiOpen in -framework MidiShare... $ECHO_C" >&6; } if test "${ac_cv_lib_MidiShare_MidiOpen+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else ac_check_lib_save_LIBS=$LIBS -LIBS="-lMidiShare $LIBS" +LIBS="-framework MidiShare $LIBS" cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF @@ -22089,7 +22089,7 @@ #define HAVE_LIBMIDISHARE 1 _ACEOF - LIBS="-lMidiShare $LIBS" + LIBS="-framework MidiShare $LIBS" else midishare_found=no @@ -22455,9 +22455,6 @@ #include #include -int -main () -{ int main(void) { @@ -22468,9 +22465,7 @@ #endif } - ; - return 0; -} + _ACEOF rm -f conftest.$ac_objext if { (ac_try="$ac_compile"