This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
FW: Esound update [need an autoconf/automake wizard]
- To: "cygx" <cygwin-xfree at cygwin dot com>
- Subject: FW: Esound update [need an autoconf/automake wizard]
- From: "Harold Hunt" <huntharo at msu dot edu>
- Date: Fri, 26 Oct 2001 09:45:52 -0400
Eric Lassauge mailed me this fix.
Harold
-----Original Message-----
From: ros_at1@muzillac.tls.mms.fr [mailto:ros_at1@muzillac.tls.mms.fr]
Sent: Friday, October 26, 2001 5:50 AM
To: Harold Hunt
Subject: Re: Esound update [need an autoconf/automake wizard]
Harold Hunt a écrit :
>
> Robert,
>
> > Just copy in config.guess from a newer project and you should be fine.
> > Can you try that and if it works, thats all the patch needed for the
> > esound maintainers :}. I'll happily look harder at it if replacing
> > config.guess doesn't work.
>
> Copying a new config.guess results in precisely the same warnings and
> errors.
>
> Copying in config.guess and config.sub fixes the unknown platform
warnings,
> but it results in a new, seemingly unrelated error:
>
> checking for ld used by GCC... -e: not found
> no
> configure: error: no acceptable ld found in $PATH
>
> I couldn't figure out what was going on...
>
> Harold
I had the same problem.... I just corrected this in the configure, and
added the include:
--- configure.orig Tue Oct 23 11:25:52 2001
+++ configure Tue Oct 23 11:28:22 2001
@@ -1323,10 +1323,6 @@
ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
done
case "$host_os" in
- cygwin*)
- # Convert to a UNC path for cygwin
- test -z "$LD" && LD=`echo X$ac_prog | $Xsed -e "$sub_uncdrive"`
- ;;
*)
test -z "$LD" && LD="$ac_prog"
;;
--- esd.h.orig Tue Oct 23 11:19:22 2001
+++ esd.h Tue Oct 23 11:19:46 2001
@@ -6,6 +6,12 @@
extern "C" {
#endif
+#ifdef __CYGWIN__
+#ifndef RTLD_NEXT
+#define RTLD_NEXT ((void *) -1l)
+#endif
+#endif
+
/* length of the audio buffer size */
#define ESD_BUF_SIZE (4 * 1024)
./configure --prefix=/usr --enable-fast-install --disable-libtool-lock
--disable-shared --build i386-pc-cygwin32
This way I did a binary package, I wanted to post on my web site
all packages that were presented for sound support:
- audiofile-0.2.1 (DONE)
- esound-0.2.8 (DONE)
- mpg123-0.59r (TODO)
--
+---------------------------------------+
| Eric Lassauge |
| ASTRIUM / TRASYS-G2I |
+---------------------------------------+
| lassauge@mail.dotcom.fr |
| ros_at1@muzillac.tls.mms.fr |
| http://lassauge.free.fr/ |
+---------------------------------------+