update audio/lame

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
10 messages Options
Reply | Threaded
Open this post in threaded view
|

update audio/lame

Jan Stary
lame is 3.100 after 5 years

* the SSE patch has been incorporated, co we don't need
  to rebuild configure, so we can drop the autoconf dep and the patch
* the 3DNow detection is not incorporated, so keep the patch
* it seems we don't need GMAKE either
* add explicit ./configure --options

+ --mandir=${PREFIX}/man \
+ --enable-option-checking \
+ --disable-silent-rules \
+ --enable-largefile \
+ --disable-cpml \
+ --disable-decoder \
+ --enable-frontend \
+ --enable-dynamic-frontends \
+ --disable-mp3x \
+ --enable-mp3rtp \
+ --without-dmalloc \
+ --with-fileio=lame
 
--disable-cpml
I don't know what the Compaq Math library is, so I disabled it.

--enable-dynamic-frontends
Link frontends against shared libraries default=no
- we want to link to the shared lib, right?

--without-dmalloc
We want our malloc

OK? Comments?

        Jan

> > * add explicit ./configure --options
> > * order them as they appear in ./configure --help
> there are various schools of thought for this, I'd defer to
> ${MAINTAINER}.

Antoine?


Index: Makefile
===================================================================
RCS file: /cvs/ports/audio/lame/Makefile,v
retrieving revision 1.58
diff -u -p -r1.58 Makefile
--- Makefile 27 Jul 2017 14:48:10 -0000 1.58
+++ Makefile 30 Jan 2018 08:43:15 -0000
@@ -3,8 +3,7 @@
 COMMENT= lame ain't an MP3 encoder
 #'
 
-DISTNAME= lame-3.99.5
-REVISION= 1
+DISTNAME= lame-3.100
 
 SHARED_LIBS +=  mp3lame              2.1      # 0.1
 
@@ -24,13 +23,20 @@ MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:
 
 LIB_DEPENDS= converters/libiconv
 
-USE_GMAKE= Yes
-
-AUTOCONF_VERSION=2.69
-CONFIGURE_STYLE=autoconf
-CONFIGURE_ARGS= --enable-mp3rtp \
- --disable-mp3x \
- --with-fileio=lame
+CONFIGURE_STYLE=simple
+CONFIGURE_ARGS= \
+ --mandir=${PREFIX}/man \
+ --enable-option-checking \
+ --disable-silent-rules \
+ --enable-largefile \
+ --disable-cpml \
+ --disable-decoder \
+ --enable-frontend \
+ --enable-dynamic-frontends \
+ --disable-mp3x \
+ --enable-mp3rtp \
+ --without-dmalloc \
+ --with-fileio=lame
 
 .if ${MACHINE_ARCH} == "i386"
 BUILD_DEPENDS+= devel/nasm
Index: distinfo
===================================================================
RCS file: /cvs/ports/audio/lame/distinfo,v
retrieving revision 1.19
diff -u -p -r1.19 distinfo
--- distinfo 18 Jan 2015 03:12:43 -0000 1.19
+++ distinfo 30 Jan 2018 08:43:15 -0000
@@ -1,2 +1,2 @@
-SHA256 (lame-3.99.5.tar.gz) = JDRrQVjkrzvZ8uGUuyPrRzx1+3N3ARUjNTGWsZuaI/8=
-SIZE (lame-3.99.5.tar.gz) = 1445348
+SHA256 (lame-3.100.tar.gz) = 3f42yrhzeUA4riwSEFV600hXpLa9xRV4XR2p4XWx2h4=
+SIZE (lame-3.100.tar.gz) = 1524133
Index: patches/patch-configure_in
===================================================================
RCS file: patches/patch-configure_in
diff -N patches/patch-configure_in
--- patches/patch-configure_in 27 Jul 2017 14:48:10 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,37 +0,0 @@
-$OpenBSD: patch-configure_in,v 1.1 2017/07/27 14:48:10 espie Exp $
-
-Complete auto detection of xmmintrin_h according to actual support.
-from FreeBSD
-
-Index: configure.in
---- configure.in.orig
-+++ configure.in
-@@ -56,7 +56,7 @@ LIB_MAJOR_VERSION=0
-
- # increase this when changes are made, but they are upward compatible
- # to previous versions
--LIB_MINOR_VERSION=0
-+LIB_MINOR_VERSION=1
-
- dnl # work around for a bug, don't know where it is exactly
- if test "${ac_cv_cygwin}" = "yes"; then
-@@ -96,8 +96,18 @@ AC_CHECK_HEADERS( \
- sys/soundcard.h \
- sys/time.h \
- unistd.h \
-- xmmintrin.h \
- linux/soundcard.h)
-+
-+dnl Checks for actually working SSE intrinsics
-+AC_MSG_CHECKING(working SSE intrinsics)
-+AC_COMPILE_IFELSE(
-+    [AC_LANG_PROGRAM(
-+ [[#include <xmmintrin.h>]],
-+ [[_mm_sfence();]])],
-+    [AC_DEFINE([HAVE_XMMINTRIN_H], [1], [Define if SSE intrinsics work.])
-+     ac_cv_header_xmmintrin_h=yes],
-+   [ac_cv_header_xmmintrin_h=no])
-+AC_MSG_RESULT(${ac_cv_header_xmmintrin_h})
-
- dnl Checks for typedefs, structures, and compiler characteristics.
- AC_C_CONST

Reply | Threaded
Open this post in threaded view
|

Re: update audio/lame

Stuart Henderson
On 2018/01/30 10:25, Jan Stary wrote:
> +CONFIGURE_STYLE=simple

Why "simple" and not "gnu"?

Reply | Threaded
Open this post in threaded view
|

Re: update audio/lame

Jan Stary
On Jan 30 11:29:09, [hidden email] wrote:
> On 2018/01/30 10:25, Jan Stary wrote:
> > +CONFIGURE_STYLE=simple
>
> Why "simple" and not "gnu"?

Probably should be gnu.

        Jan

Reply | Threaded
Open this post in threaded view
|

Re: update audio/lame

Jan Stary
In reply to this post by Stuart Henderson
On Jan 30 11:29:09, [hidden email] wrote:
> On 2018/01/30 10:25, Jan Stary wrote:
> > +CONFIGURE_STYLE=simple
>
> Why "simple" and not "gnu"?

Fixed, thanks.


Index: Makefile
===================================================================
RCS file: /cvs/ports/audio/lame/Makefile,v
retrieving revision 1.58
diff -u -p -u -p -r1.58 Makefile
--- Makefile 27 Jul 2017 14:48:10 -0000 1.58
+++ Makefile 1 Feb 2018 09:13:46 -0000
@@ -3,8 +3,7 @@
 COMMENT= lame ain't an MP3 encoder
 #'
 
-DISTNAME= lame-3.99.5
-REVISION= 1
+DISTNAME= lame-3.100
 
 SHARED_LIBS +=  mp3lame              2.1      # 0.1
 
@@ -24,13 +23,20 @@ MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:
 
 LIB_DEPENDS= converters/libiconv
 
-USE_GMAKE= Yes
-
-AUTOCONF_VERSION=2.69
-CONFIGURE_STYLE=autoconf
-CONFIGURE_ARGS= --enable-mp3rtp \
- --disable-mp3x \
- --with-fileio=lame
+CONFIGURE_STYLE=gnu
+CONFIGURE_ARGS= \
+ --mandir=${PREFIX}/man \
+ --enable-option-checking \
+ --disable-silent-rules \
+ --enable-largefile \
+ --disable-cpml \
+ --disable-decoder \
+ --enable-frontend \
+ --enable-dynamic-frontends \
+ --disable-mp3x \
+ --enable-mp3rtp \
+ --without-dmalloc \
+ --with-fileio=lame
 
 .if ${MACHINE_ARCH} == "i386"
 BUILD_DEPENDS+= devel/nasm
Index: distinfo
===================================================================
RCS file: /cvs/ports/audio/lame/distinfo,v
retrieving revision 1.19
diff -u -p -u -p -r1.19 distinfo
--- distinfo 18 Jan 2015 03:12:43 -0000 1.19
+++ distinfo 1 Feb 2018 09:13:46 -0000
@@ -1,2 +1,2 @@
-SHA256 (lame-3.99.5.tar.gz) = JDRrQVjkrzvZ8uGUuyPrRzx1+3N3ARUjNTGWsZuaI/8=
-SIZE (lame-3.99.5.tar.gz) = 1445348
+SHA256 (lame-3.100.tar.gz) = 3f42yrhzeUA4riwSEFV600hXpLa9xRV4XR2p4XWx2h4=
+SIZE (lame-3.100.tar.gz) = 1524133
Index: patches/patch-configure_in
===================================================================
RCS file: patches/patch-configure_in
diff -N patches/patch-configure_in
--- patches/patch-configure_in 27 Jul 2017 14:48:10 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,37 +0,0 @@
-$OpenBSD: patch-configure_in,v 1.1 2017/07/27 14:48:10 espie Exp $
-
-Complete auto detection of xmmintrin_h according to actual support.
-from FreeBSD
-
-Index: configure.in
---- configure.in.orig
-+++ configure.in
-@@ -56,7 +56,7 @@ LIB_MAJOR_VERSION=0
-
- # increase this when changes are made, but they are upward compatible
- # to previous versions
--LIB_MINOR_VERSION=0
-+LIB_MINOR_VERSION=1
-
- dnl # work around for a bug, don't know where it is exactly
- if test "${ac_cv_cygwin}" = "yes"; then
-@@ -96,8 +96,18 @@ AC_CHECK_HEADERS( \
- sys/soundcard.h \
- sys/time.h \
- unistd.h \
-- xmmintrin.h \
- linux/soundcard.h)
-+
-+dnl Checks for actually working SSE intrinsics
-+AC_MSG_CHECKING(working SSE intrinsics)
-+AC_COMPILE_IFELSE(
-+    [AC_LANG_PROGRAM(
-+ [[#include <xmmintrin.h>]],
-+ [[_mm_sfence();]])],
-+    [AC_DEFINE([HAVE_XMMINTRIN_H], [1], [Define if SSE intrinsics work.])
-+     ac_cv_header_xmmintrin_h=yes],
-+   [ac_cv_header_xmmintrin_h=no])
-+AC_MSG_RESULT(${ac_cv_header_xmmintrin_h})
-
- dnl Checks for typedefs, structures, and compiler characteristics.
- AC_C_CONST

Reply | Threaded
Open this post in threaded view
|

Re: update audio/lame

Christian Weisgerber
In reply to this post by Jan Stary
On 2018-01-30, Jan Stary <[hidden email]> wrote:

> * it seems we don't need GMAKE either

FWIW, I briefly glanced over the Makefile.am files and nothing
specific to gmake stood out.

--
Christian "naddy" Weisgerber                          [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: update audio/lame

Jan Stary
On Feb 04 20:53:07, [hidden email] wrote:
> On 2018-01-30, Jan Stary <[hidden email]> wrote:
>
> > * it seems we don't need GMAKE either
>
> FWIW, I briefly glanced over the Makefile.am files and nothing
> specific to gmake stood out.

It does build fine for me without GMAKE
on amd64, ppc and armv7.

Reply | Threaded
Open this post in threaded view
|

Re: update audio/lame

Jan Stary
In reply to this post by Jan Stary
ping


>
> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/audio/lame/Makefile,v
> retrieving revision 1.58
> diff -u -p -u -p -r1.58 Makefile
> --- Makefile 27 Jul 2017 14:48:10 -0000 1.58
> +++ Makefile 1 Feb 2018 09:13:46 -0000
> @@ -3,8 +3,7 @@
>  COMMENT= lame ain't an MP3 encoder
>  #'
>  
> -DISTNAME= lame-3.99.5
> -REVISION= 1
> +DISTNAME= lame-3.100
>  
>  SHARED_LIBS +=  mp3lame              2.1      # 0.1
>  
> @@ -24,13 +23,20 @@ MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:
>  
>  LIB_DEPENDS= converters/libiconv
>  
> -USE_GMAKE= Yes
> -
> -AUTOCONF_VERSION=2.69
> -CONFIGURE_STYLE=autoconf
> -CONFIGURE_ARGS= --enable-mp3rtp \
> - --disable-mp3x \
> - --with-fileio=lame
> +CONFIGURE_STYLE=gnu
> +CONFIGURE_ARGS= \
> + --mandir=${PREFIX}/man \
> + --enable-option-checking \
> + --disable-silent-rules \
> + --enable-largefile \
> + --disable-cpml \
> + --disable-decoder \
> + --enable-frontend \
> + --enable-dynamic-frontends \
> + --disable-mp3x \
> + --enable-mp3rtp \
> + --without-dmalloc \
> + --with-fileio=lame
>  
>  .if ${MACHINE_ARCH} == "i386"
>  BUILD_DEPENDS+= devel/nasm
> Index: distinfo
> ===================================================================
> RCS file: /cvs/ports/audio/lame/distinfo,v
> retrieving revision 1.19
> diff -u -p -u -p -r1.19 distinfo
> --- distinfo 18 Jan 2015 03:12:43 -0000 1.19
> +++ distinfo 1 Feb 2018 09:13:46 -0000
> @@ -1,2 +1,2 @@
> -SHA256 (lame-3.99.5.tar.gz) = JDRrQVjkrzvZ8uGUuyPrRzx1+3N3ARUjNTGWsZuaI/8=
> -SIZE (lame-3.99.5.tar.gz) = 1445348
> +SHA256 (lame-3.100.tar.gz) = 3f42yrhzeUA4riwSEFV600hXpLa9xRV4XR2p4XWx2h4=
> +SIZE (lame-3.100.tar.gz) = 1524133
> Index: patches/patch-configure_in
> ===================================================================
> RCS file: patches/patch-configure_in
> diff -N patches/patch-configure_in
> --- patches/patch-configure_in 27 Jul 2017 14:48:10 -0000 1.1
> +++ /dev/null 1 Jan 1970 00:00:00 -0000
> @@ -1,37 +0,0 @@
> -$OpenBSD: patch-configure_in,v 1.1 2017/07/27 14:48:10 espie Exp $
> -
> -Complete auto detection of xmmintrin_h according to actual support.
> -from FreeBSD
> -
> -Index: configure.in
> ---- configure.in.orig
> -+++ configure.in
> -@@ -56,7 +56,7 @@ LIB_MAJOR_VERSION=0
> -
> - # increase this when changes are made, but they are upward compatible
> - # to previous versions
> --LIB_MINOR_VERSION=0
> -+LIB_MINOR_VERSION=1
> -
> - dnl # work around for a bug, don't know where it is exactly
> - if test "${ac_cv_cygwin}" = "yes"; then
> -@@ -96,8 +96,18 @@ AC_CHECK_HEADERS( \
> - sys/soundcard.h \
> - sys/time.h \
> - unistd.h \
> -- xmmintrin.h \
> - linux/soundcard.h)
> -+
> -+dnl Checks for actually working SSE intrinsics
> -+AC_MSG_CHECKING(working SSE intrinsics)
> -+AC_COMPILE_IFELSE(
> -+    [AC_LANG_PROGRAM(
> -+ [[#include <xmmintrin.h>]],
> -+ [[_mm_sfence();]])],
> -+    [AC_DEFINE([HAVE_XMMINTRIN_H], [1], [Define if SSE intrinsics work.])
> -+     ac_cv_header_xmmintrin_h=yes],
> -+   [ac_cv_header_xmmintrin_h=no])
> -+AC_MSG_RESULT(${ac_cv_header_xmmintrin_h})
> -
> - dnl Checks for typedefs, structures, and compiler characteristics.
> - AC_C_CONST
>

Reply | Threaded
Open this post in threaded view
|

Re: update audio/lame

Jan Stary
ping

(How much dead is mp3 nowadays?)

On Feb 15 16:17:20, [hidden email] wrote:

> ping
>
>
> >
> > Index: Makefile
> > ===================================================================
> > RCS file: /cvs/ports/audio/lame/Makefile,v
> > retrieving revision 1.58
> > diff -u -p -u -p -r1.58 Makefile
> > --- Makefile 27 Jul 2017 14:48:10 -0000 1.58
> > +++ Makefile 1 Feb 2018 09:13:46 -0000
> > @@ -3,8 +3,7 @@
> >  COMMENT= lame ain't an MP3 encoder
> >  #'
> >  
> > -DISTNAME= lame-3.99.5
> > -REVISION= 1
> > +DISTNAME= lame-3.100
> >  
> >  SHARED_LIBS +=  mp3lame              2.1      # 0.1
> >  
> > @@ -24,13 +23,20 @@ MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:
> >  
> >  LIB_DEPENDS= converters/libiconv
> >  
> > -USE_GMAKE= Yes
> > -
> > -AUTOCONF_VERSION=2.69
> > -CONFIGURE_STYLE=autoconf
> > -CONFIGURE_ARGS= --enable-mp3rtp \
> > - --disable-mp3x \
> > - --with-fileio=lame
> > +CONFIGURE_STYLE=gnu
> > +CONFIGURE_ARGS= \
> > + --mandir=${PREFIX}/man \
> > + --enable-option-checking \
> > + --disable-silent-rules \
> > + --enable-largefile \
> > + --disable-cpml \
> > + --disable-decoder \
> > + --enable-frontend \
> > + --enable-dynamic-frontends \
> > + --disable-mp3x \
> > + --enable-mp3rtp \
> > + --without-dmalloc \
> > + --with-fileio=lame
> >  
> >  .if ${MACHINE_ARCH} == "i386"
> >  BUILD_DEPENDS+= devel/nasm
> > Index: distinfo
> > ===================================================================
> > RCS file: /cvs/ports/audio/lame/distinfo,v
> > retrieving revision 1.19
> > diff -u -p -u -p -r1.19 distinfo
> > --- distinfo 18 Jan 2015 03:12:43 -0000 1.19
> > +++ distinfo 1 Feb 2018 09:13:46 -0000
> > @@ -1,2 +1,2 @@
> > -SHA256 (lame-3.99.5.tar.gz) = JDRrQVjkrzvZ8uGUuyPrRzx1+3N3ARUjNTGWsZuaI/8=
> > -SIZE (lame-3.99.5.tar.gz) = 1445348
> > +SHA256 (lame-3.100.tar.gz) = 3f42yrhzeUA4riwSEFV600hXpLa9xRV4XR2p4XWx2h4=
> > +SIZE (lame-3.100.tar.gz) = 1524133
> > Index: patches/patch-configure_in
> > ===================================================================
> > RCS file: patches/patch-configure_in
> > diff -N patches/patch-configure_in
> > --- patches/patch-configure_in 27 Jul 2017 14:48:10 -0000 1.1
> > +++ /dev/null 1 Jan 1970 00:00:00 -0000
> > @@ -1,37 +0,0 @@
> > -$OpenBSD: patch-configure_in,v 1.1 2017/07/27 14:48:10 espie Exp $
> > -
> > -Complete auto detection of xmmintrin_h according to actual support.
> > -from FreeBSD
> > -
> > -Index: configure.in
> > ---- configure.in.orig
> > -+++ configure.in
> > -@@ -56,7 +56,7 @@ LIB_MAJOR_VERSION=0
> > -
> > - # increase this when changes are made, but they are upward compatible
> > - # to previous versions
> > --LIB_MINOR_VERSION=0
> > -+LIB_MINOR_VERSION=1
> > -
> > - dnl # work around for a bug, don't know where it is exactly
> > - if test "${ac_cv_cygwin}" = "yes"; then
> > -@@ -96,8 +96,18 @@ AC_CHECK_HEADERS( \
> > - sys/soundcard.h \
> > - sys/time.h \
> > - unistd.h \
> > -- xmmintrin.h \
> > - linux/soundcard.h)
> > -+
> > -+dnl Checks for actually working SSE intrinsics
> > -+AC_MSG_CHECKING(working SSE intrinsics)
> > -+AC_COMPILE_IFELSE(
> > -+    [AC_LANG_PROGRAM(
> > -+ [[#include <xmmintrin.h>]],
> > -+ [[_mm_sfence();]])],
> > -+    [AC_DEFINE([HAVE_XMMINTRIN_H], [1], [Define if SSE intrinsics work.])
> > -+     ac_cv_header_xmmintrin_h=yes],
> > -+   [ac_cv_header_xmmintrin_h=no])
> > -+AC_MSG_RESULT(${ac_cv_header_xmmintrin_h})
> > -
> > - dnl Checks for typedefs, structures, and compiler characteristics.
> > - AC_C_CONST
> >
>

Reply | Threaded
Open this post in threaded view
|

Re: update audio/lame

Stuart Henderson
On 2018/03/11 14:22, Jan Stary wrote:
> ping
>
> (How much dead is mp3 nowadays?)

In general, there's a higher chance of diffs being looked at if

1) they don't come with unnecessary changes (for example most of
the CONFIGURE_ARGS changes)

2) they come with some information about test reports for dependencies

Reply | Threaded
Open this post in threaded view
|

Re: update audio/lame

Antoine Jacoutot-7
In reply to this post by Jan Stary
On Thu, Feb 01, 2018 at 10:14:36AM +0100, Jan Stary wrote:
> On Jan 30 11:29:09, [hidden email] wrote:
> > On 2018/01/30 10:25, Jan Stary wrote:
> > > +CONFIGURE_STYLE=simple
> >
> > Why "simple" and not "gnu"?
>
> Fixed, thanks.

Committed, thanks.


>
>
> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/audio/lame/Makefile,v
> retrieving revision 1.58
> diff -u -p -u -p -r1.58 Makefile
> --- Makefile 27 Jul 2017 14:48:10 -0000 1.58
> +++ Makefile 1 Feb 2018 09:13:46 -0000
> @@ -3,8 +3,7 @@
>  COMMENT= lame ain't an MP3 encoder
>  #'
>  
> -DISTNAME= lame-3.99.5
> -REVISION= 1
> +DISTNAME= lame-3.100
>  
>  SHARED_LIBS +=  mp3lame              2.1      # 0.1
>  
> @@ -24,13 +23,20 @@ MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:
>  
>  LIB_DEPENDS= converters/libiconv
>  
> -USE_GMAKE= Yes
> -
> -AUTOCONF_VERSION=2.69
> -CONFIGURE_STYLE=autoconf
> -CONFIGURE_ARGS= --enable-mp3rtp \
> - --disable-mp3x \
> - --with-fileio=lame
> +CONFIGURE_STYLE=gnu
> +CONFIGURE_ARGS= \
> + --mandir=${PREFIX}/man \
> + --enable-option-checking \
> + --disable-silent-rules \
> + --enable-largefile \
> + --disable-cpml \
> + --disable-decoder \
> + --enable-frontend \
> + --enable-dynamic-frontends \
> + --disable-mp3x \
> + --enable-mp3rtp \
> + --without-dmalloc \
> + --with-fileio=lame
>  
>  .if ${MACHINE_ARCH} == "i386"
>  BUILD_DEPENDS+= devel/nasm
> Index: distinfo
> ===================================================================
> RCS file: /cvs/ports/audio/lame/distinfo,v
> retrieving revision 1.19
> diff -u -p -u -p -r1.19 distinfo
> --- distinfo 18 Jan 2015 03:12:43 -0000 1.19
> +++ distinfo 1 Feb 2018 09:13:46 -0000
> @@ -1,2 +1,2 @@
> -SHA256 (lame-3.99.5.tar.gz) = JDRrQVjkrzvZ8uGUuyPrRzx1+3N3ARUjNTGWsZuaI/8=
> -SIZE (lame-3.99.5.tar.gz) = 1445348
> +SHA256 (lame-3.100.tar.gz) = 3f42yrhzeUA4riwSEFV600hXpLa9xRV4XR2p4XWx2h4=
> +SIZE (lame-3.100.tar.gz) = 1524133
> Index: patches/patch-configure_in
> ===================================================================
> RCS file: patches/patch-configure_in
> diff -N patches/patch-configure_in
> --- patches/patch-configure_in 27 Jul 2017 14:48:10 -0000 1.1
> +++ /dev/null 1 Jan 1970 00:00:00 -0000
> @@ -1,37 +0,0 @@
> -$OpenBSD: patch-configure_in,v 1.1 2017/07/27 14:48:10 espie Exp $
> -
> -Complete auto detection of xmmintrin_h according to actual support.
> -from FreeBSD
> -
> -Index: configure.in
> ---- configure.in.orig
> -+++ configure.in
> -@@ -56,7 +56,7 @@ LIB_MAJOR_VERSION=0
> -
> - # increase this when changes are made, but they are upward compatible
> - # to previous versions
> --LIB_MINOR_VERSION=0
> -+LIB_MINOR_VERSION=1
> -
> - dnl # work around for a bug, don't know where it is exactly
> - if test "${ac_cv_cygwin}" = "yes"; then
> -@@ -96,8 +96,18 @@ AC_CHECK_HEADERS( \
> - sys/soundcard.h \
> - sys/time.h \
> - unistd.h \
> -- xmmintrin.h \
> - linux/soundcard.h)
> -+
> -+dnl Checks for actually working SSE intrinsics
> -+AC_MSG_CHECKING(working SSE intrinsics)
> -+AC_COMPILE_IFELSE(
> -+    [AC_LANG_PROGRAM(
> -+ [[#include <xmmintrin.h>]],
> -+ [[_mm_sfence();]])],
> -+    [AC_DEFINE([HAVE_XMMINTRIN_H], [1], [Define if SSE intrinsics work.])
> -+     ac_cv_header_xmmintrin_h=yes],
> -+   [ac_cv_header_xmmintrin_h=no])
> -+AC_MSG_RESULT(${ac_cv_header_xmmintrin_h})
> -
> - dnl Checks for typedefs, structures, and compiler characteristics.
> - AC_C_CONST
>

--
Antoine