diff -Naur eflite-0.3.8.orig/Makefile.in eflite-0.3.8/Makefile.in --- eflite-0.3.8.orig/Makefile.in 2004-02-20 15:58:35.000000000 -0800 +++ eflite-0.3.8/Makefile.in 2004-03-21 00:39:47.000000000 -0800 @@ -27,10 +27,10 @@ #CFLAGS+= -DDEBUG=2 # For making releases -FLITE_LIBS:=$(flite_dir)/lib/libflite_$(FL_VOX).a $(flite_dir)/lib/libflite_$(FL_LEX).a $(flite_dir)/lib/libflite_$(FL_LANG).a $(flite_dir)/lib/libflite.a +FLITE_LIBS:=-L$(flite_dir)/lib -lflite_$(FL_VOX) -lflite_$(FL_LEX) -lflite_$(FL_LANG) -lflite -eflite: fs.o es.o soccon.o sockopen.o tone.o $(FLITE_LIBS) - $(CC) $(LDFLAGS) -o $@ $^ -lm $(LIBS) +eflite: fs.o es.o soccon.o sockopen.o tone.o + $(CC) $(LDFLAGS) -o $@ $^ -lm $(LIBS) $(FLITE_LIBS) fs.o: fs.c $(CC) $(CFLAGS) -I. -I$(flite_include_dir) -DREGISTER_VOX=register_$(subst cmu_us_kal16,cmu_us_kal,$(FL_VOX)) -DSTANDALONE -DEFLITE -c -o $@ $< diff -Naur eflite-0.3.8.orig/configure.in eflite-0.3.8/configure.in --- eflite-0.3.8.orig/configure.in 2004-02-20 15:58:35.000000000 -0800 +++ eflite-0.3.8/configure.in 2004-03-21 00:37:08.000000000 -0800 @@ -29,6 +29,20 @@ flite_dir=/usr/src/flite-1.1-release; elif test -f /usr/local/src/flite-1.1-release/lib/libflite.a; then flite_dir=/usr/local/src/flite-1.1-release; + elif test -f /usr/local/lib/libflite.so; then + flite_dir=/usr/local + elif test -f /usr/lib/libflite.so; then + flite_dir=/usr + elif test -f /opt/flite/lib/libflite.so; then + flite_dir=/opt + elif test -f $HOME/flite-1.2-release/lib/libflite.so; then + flite_dir=$HOME/flite-1.2-release + elif test -f $HOME/flite-1.1-release/lib/libflite.so; then + flite_dir=$HOME/flite-1.1-release + elif test -f /usr/src/flite-1.1-release/lib/libflite.so; then + flite_dir=/usr/src/flite-1.1-release; + elif test -f /usr/local/src/flite-1.1-release/lib/libflite.so; then + flite_dir=/usr/local/src/flite-1.1-release; else AC_MSG_ERROR(Cannot locate libflite.a. Please specify flite_dir explicitly (see INSTALL). If you do not have FLite headers and libraries available, then compile FLite and re-run configure.) fi