> CVSROOT: /var/cvs/freesci
> Module name: freesci
> Changes by: freesci 02/03/09 02:28:25
>
> Modified files:
> . : configure.in
>
> Log message:
> Okay, now configure should pick up the presence of dmidi/midi.h, include
> the necessary libs and whatnot.
>
> Please test -- I don't have access to an Irix box. :)
Partitial success... I messed up once again, the enclosed patch must go into
midiout.h.
The #define HAVE_DMEDIA_MIDI_H works fine, however the LIBS="-lmd $LIBS"
doesn't have any effect. the other patch fixes that.
Rainer
-- Attached file included as plaintext by Listar --
-- File: midiout.patch
-- Desc: midiout.patch
--- midiout.h Tue Feb 19 14:12:00 2002
+++ /usr/people/canavan/src/FreeSCI-cvs/freesci/src/include/midiout.h Sat Mar 9
+20:53:40 2002
@@ -59,6 +59,10 @@
extern midiout_driver_t midiout_driver_win32mci_stream;
#endif
+#ifdef HAVE_DMEDIA_MIDI_H
+extern midiout_driver_t midiout_driver_sgimd;
+#endif
+
extern DLLEXTERN midiout_driver_t *midiout_drivers[];
int midiout_open();
-- Attached file included as plaintext by Listar --
-- File: configure.in.patch
-- Desc: configure.in.patch
--- ../2/freesci/configure.in Sat Mar 9 19:43:44 2002
+++ configure.in Sat Mar 9 22:17:20 2002
@@ -84,14 +84,14 @@
AC_CHECK_HEADERS(dmedia/midi.h)
-if test "${ac_cv_header_dmedia_audio_h}" = "yes"; then
- case ${host_os} in
- irix*)
- found_sound=yes
- AC_DEFINE(HAVE_DMEDIA_MIDI_H)
- LIBS="-lmd $LIBS"
- esac
- fi
+if test "${ac_cv_header_dmedia_midi_h}" = "yes"; then
+ case ${host_os} in
+ irix*)
+ found_sound=yes
+ AC_DEFINE(HAVE_DMEDIA_MIDI_H)
+ LIBS="-lmd $LIBS"
+ esac
+fi
AC_ARG_WITH(sdl, [ --without-sdl Do not build the SDL driver])