diff --git a/configure b/configure index 4cdee79c4..e6392354d 100755 --- a/configure +++ b/configure @@ -2,7 +2,7 @@ # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.53 for wsjt 0.9. # -# $Id: configure.ac 69 2006-01-09 19:18:03Z va3db $ +# $Id: configure.ac 70 2006-01-09 21:30:35Z va3db $ # # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 # Free Software Foundation, Inc. @@ -924,7 +924,7 @@ Free Software Foundation, Inc. This configure script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it. -$Id: configure.ac 69 2006-01-09 19:18:03Z va3db $ +$Id: configure.ac 70 2006-01-09 21:30:35Z va3db $ _ACEOF exit 0 fi @@ -5635,6 +5635,7 @@ _ACEOF AUDIO="jtaudio.c" + LDFLAGS="${LDFLAGS} -lpthreads -lportaudio" fi diff --git a/configure.ac b/configure.ac index 3964b1b6d..e513ce912 100644 --- a/configure.ac +++ b/configure.ac @@ -231,6 +231,7 @@ fi if test "$portaudio" = yes; then AC_DEFINE(USE_PORTAUDIO, 1, [Define if you want PORTAUDIO used.]) AC_SUBST(AUDIO, "jtaudio.c") + LDFLAGS="${LDFLAGS} -lpthreads -lportaudio" fi dnl set conf flags