diff -ru jack-smf-utils-1.0/src/jack-smf-player.c jack-smf-utils-1.0.lash/src/jack-smf-player.c --- jack-smf-utils-1.0/src/jack-smf-player.c 2008-05-15 00:09:29.000000000 +0300 +++ jack-smf-utils-1.0.lash/src/jack-smf-player.c 2008-09-24 02:00:28.000000000 +0300 @@ -48,7 +48,7 @@ #include "config.h" #include "smf.h" -#ifdef WITH_LASH +#ifdef HAVE_LASH #include #endif @@ -71,7 +71,7 @@ volatile int playback_started = -1, song_position = 0, ctrl_c_pressed = 0; smf_t *smf = NULL; -#ifdef WITH_LASH +#ifdef HAVE_LASH lash_client_t *lash_client; #endif @@ -492,7 +492,7 @@ { int i, err; -#ifdef WITH_LASH +#ifdef HAVE_LASH lash_event_t *event; #endif @@ -503,7 +503,7 @@ exit(EX_UNAVAILABLE); } -#ifdef WITH_LASH +#ifdef HAVE_LASH event = lash_event_new_with_type(LASH_Client_Name); assert (event); /* Documentation does not say anything about return value. */ lash_event_set_string(event, jack_get_client_name(jack_client)); @@ -561,7 +561,7 @@ } } -#ifdef WITH_LASH +#ifdef HAVE_LASH static gboolean lash_callback(gpointer notused) @@ -605,7 +605,7 @@ g_timeout_add(100, lash_callback, NULL); } -#endif /* WITH_LASH */ +#endif /* HAVE_LASH */ /* * This is neccessary for exiting due to jackd being killed, when exit(0) @@ -654,13 +654,13 @@ int ch; char *file_name, *autoconnect_port_name = NULL; -#ifdef WITH_LASH +#ifdef HAVE_LASH lash_args_t *lash_args; #endif g_thread_init(NULL); -#ifdef WITH_LASH +#ifdef HAVE_LASH lash_args = lash_extract_args(&argc, &argv); #endif @@ -738,7 +738,7 @@ just_one_output = 1; } -#ifdef WITH_LASH +#ifdef HAVE_LASH init_lash(lash_args); #endif diff -ru jack-smf-utils-1.0/src/jack-smf-recorder.c jack-smf-utils-1.0.lash/src/jack-smf-recorder.c --- jack-smf-utils-1.0/src/jack-smf-recorder.c 2008-05-15 00:09:28.000000000 +0300 +++ jack-smf-utils-1.0.lash/src/jack-smf-recorder.c 2008-09-24 02:00:41.000000000 +0300 @@ -48,7 +48,7 @@ #include "config.h" #include "smf.h" -#ifdef WITH_LASH +#ifdef HAVE_LASH #include #endif @@ -62,7 +62,7 @@ smf_t *smf = NULL; smf_track_t *tracks[16]; /* We allocate one track per MIDI channel. */ -#ifdef WITH_LASH +#ifdef HAVE_LASH lash_client_t *lash_client; #endif @@ -264,7 +264,7 @@ { int err; -#ifdef WITH_LASH +#ifdef HAVE_LASH lash_event_t *event; #endif @@ -275,7 +275,7 @@ exit(EX_UNAVAILABLE); } -#ifdef WITH_LASH +#ifdef HAVE_LASH event = lash_event_new_with_type(LASH_Client_Name); assert (event); /* Documentation does not say anything about return value. */ lash_event_set_string(event, jack_get_client_name(jack_client)); @@ -304,7 +304,7 @@ } } -#ifdef WITH_LASH +#ifdef HAVE_LASH static gboolean lash_callback(gpointer notused) @@ -348,7 +348,7 @@ g_timeout_add(100, lash_callback, NULL); } -#endif /* WITH_LASH */ +#endif /* HAVE_LASH */ gboolean writer_timeout(gpointer file_name_gpointer) @@ -423,13 +423,13 @@ int ch, i; char *file_name, *autoconnect_port_name = NULL; -#ifdef WITH_LASH +#ifdef HAVE_LASH lash_args_t *lash_args; #endif g_thread_init(NULL); -#ifdef WITH_LASH +#ifdef HAVE_LASH lash_args = lash_extract_args(&argc, &argv); #endif @@ -471,7 +471,7 @@ smf_add_track(smf, tracks[i]); } -#ifdef WITH_LASH +#ifdef HAVE_LASH init_lash(lash_args); #endif