1d0de42f06
- Avoid picking up libdv and libsmb Looks fine, naddy@
56 lines
1.4 KiB
Plaintext
56 lines
1.4 KiB
Plaintext
$OpenBSD: patch-configure,v 1.31 2005/04/01 06:28:58 biorn Exp $
|
|
--- configure.orig Thu Dec 23 16:36:00 2004
|
|
+++ configure Wed Mar 9 20:19:18 2005
|
|
@@ -700,10 +700,15 @@ fi
|
|
|
|
x86_exts_check()
|
|
{
|
|
+ case $host_arch in
|
|
+ x86_64) pparam="3dnow 3dnowext mmx mmxext xmm sse2"
|
|
+ ;;
|
|
+ *)
|
|
pparam=`$_cpuinfo | grep 'features' | cut -d ':' -f 2 | _head 1`
|
|
if test -z "$pparam" ; then
|
|
pparam=`$_cpuinfo | grep 'flags' | cut -d ':' -f 2 | _head 1`
|
|
fi
|
|
+ esac
|
|
|
|
_mmx=no
|
|
_3dnow=no
|
|
@@ -2180,7 +2185,7 @@ echores "$_setlocale"
|
|
|
|
|
|
echocheck "iconv"
|
|
-if test "$_iconv" = auto ; then
|
|
+if test "$_iconv" != no ; then
|
|
_iconv_tmp='#include <iconv.h>'
|
|
|
|
cat > $TMPC << EOF
|
|
@@ -4659,7 +4664,7 @@ echores "$_sgiaudio"
|
|
|
|
|
|
echocheck "VCD support"
|
|
-if linux || bsdos || freebsd || netbsd || sunos || darwin ; then
|
|
+if linux || bsdos || freebsd || netbsd || sunos || darwin || openbsd ; then
|
|
_inputmodules="vcd $_inputmodules"
|
|
_def_vcd='#define HAVE_VCD 1'
|
|
echores "ok"
|
|
@@ -6607,7 +6612,7 @@ CACA_LIB = $_ld_caca
|
|
# audio output
|
|
ALSA_LIB = $_ld_alsa
|
|
NAS_LIB = $_ld_nas
|
|
-ARTS_LIB = $_ld_arts
|
|
+ARTS_LIB = $_ld_arts -lstdc++
|
|
ARTS_INC = $_inc_arts
|
|
ESD_LIB = $_ld_esd
|
|
ESD_INC = $_inc_esd
|
|
@@ -6877,7 +6882,7 @@ $_def_malloc
|
|
$_def_memalign
|
|
#ifndef HAVE_MEMALIGN
|
|
# define memalign(a,b) malloc(b)
|
|
-#define MEMALIGN_HACK 1
|
|
+/* #define MEMALIGN_HACK 1 */
|
|
#endif
|
|
|
|
/* Define this if your system has the "alloca.h" header file */
|