Minor nit in esound configure.in...



As of this morning, esound won't build on Solaris.  Patch below.
Aside from this, esound works nicely aside from not knowing what to do with
Sun audio files; I've been running it for several weeks.  (I suppose if I
had a clue about u-law, I'd add support for it to audiofile and esdplay would
happily accept Sun audio files....)

cvs server: Diffing esound
Index: esound/configure.in
===================================================================
RCS file: /cvs/gnome/esound/configure.in,v
retrieving revision 1.23
diff -u -r1.23 configure.in
--- configure.in	1998/10/17 09:26:42	1.23
+++ configure.in	1998/10/17 15:22:06
@@ -43,8 +43,12 @@
 
 AC_CHECK_FUNC(connect,,[AC_CHECK_LIB(socket,connect)])
 AC_CHECK_FUNC(gethostbyname,,[AC_CHECK_LIB(nsl,gethostbyname)])
-AC_CHECK_FUNC(nanosleep, AC_DEFINE(HAVE_NANOSLEEP),
-  [AC_CHECK_LIB(posix4,nanosleep,AC_DEFINE(HAVE_NANOSLEEP))])
+AC_CHECK_FUNC(nanosleep,,[AC_CHECK_LIB(posix4,nanosleep)])
+if test x$ac_cv_func_nanosleep = xno && test x$ac_cv_lib_posix4_nanosleep = xno 
+then:
+else
+  AC_DEFINE(HAVE_NANOSLEEP)
+fi
 AC_CHECK_FUNC(inet_aton,,[AC_CHECK_LIB(resolv,inet_aton)])
 if test x$ac_cv_func_inet_aton = xno && test x$ac_cv_lib_resolv_inet_aton = xno 
 then :

-- 
brandon s. allbery	[os/2][linux][solaris][japh]	 allbery@kf8nh.apk.net
system administrator	     [WAY too many hats]	   allbery@ece.cmu.edu
electrical and computer engineering
carnegie mellon university			   (bsa@kf8nh is still valid.)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]