libcvd-members
[Top][All Lists]
Advanced

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

[libcvd-members] libcvd configure configure.in


From: Edward Rosten
Subject: [libcvd-members] libcvd configure configure.in
Date: Tue, 19 Jun 2007 21:41:15 +0000

CVSROOT:        /cvsroot/libcvd
Module name:    libcvd
Changes by:     Edward Rosten <edrosten>        07/06/19 21:41:15

Modified files:
        .              : configure configure.in 

Log message:
        Fixed configure script for SIMD.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/libcvd/configure?cvsroot=libcvd&r1=1.85&r2=1.86
http://cvs.savannah.gnu.org/viewcvs/libcvd/configure.in?cvsroot=libcvd&r1=1.84&r2=1.85

Patches:
Index: configure
===================================================================
RCS file: /cvsroot/libcvd/libcvd/configure,v
retrieving revision 1.85
retrieving revision 1.86
diff -u -b -r1.85 -r1.86
--- configure   12 Jun 2007 19:44:12 -0000      1.85
+++ configure   19 Jun 2007 21:41:14 -0000      1.86
@@ -310,7 +310,7 @@
 # include <unistd.h>
 #endif"
 
-ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME 
PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix 
program_transform_name bindir sbindir libexecdir datadir sysconfdir 
sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir 
build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS AWK CC 
CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX CXXCPP 
EGREP build build_cpu build_vendor build_os host host_cpu host_vendor host_os 
have_64bit OFLAGS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LN_S RANLIB 
ac_ct_RANLIB osx_hacks have_toon have_lapack have_acml major minor 
have_dvbuffer have_v4l1buffer have_v4l2buffer have_o2buffer have_qtbuffer 
have_pthread have_videodisplay have_jpeg have_tiff have_png have_ffmpeg 
have_memalign fast_pointers fast_force docs cpu progs testprogs LIBOBJS 
LTLIBOBJS debug_options debug_all_options'
+ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME 
PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix 
program_transform_name bindir sbindir libexecdir datadir sysconfdir 
sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir 
build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS AWK CC 
CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CXX CXXFLAGS ac_ct_CXX CXXCPP 
EGREP build build_cpu build_vendor build_os host host_cpu host_vendor host_os 
have_mmx have_mmxext have_sse have_sse2 have_64bit OFLAGS INSTALL_PROGRAM 
INSTALL_SCRIPT INSTALL_DATA LN_S RANLIB ac_ct_RANLIB osx_hacks have_toon 
have_lapack have_acml major minor have_dvbuffer have_v4l1buffer have_v4l2buffer 
have_o2buffer have_qtbuffer have_pthread have_videodisplay have_jpeg have_tiff 
have_png have_ffmpeg have_memalign fast_pointers fast_force docs cpu progs 
testprogs LIBOBJS LTLIBOBJS debug_options debug_all_options'
 ac_subst_files=''
 
 # Initialize some variables set by options.
@@ -4169,6 +4169,8 @@
 #define CVD_HAVE_MMINTRIN 1
 _ACEOF
 
+                                       have_mmx=yes
+
                                        simd_options="$simd_options mmx"
                                fi
 
@@ -4398,6 +4400,8 @@
 #define CVD_HAVE_MMXEXT 1
 _ACEOF
 
+                                       have_mmxext=yes
+
                                        simd_options="$simd_options mmxext"
                                fi
 
@@ -4461,6 +4465,8 @@
                                then
                                        break
                                else
+                                       have_sse=yes
+
                                        cat >>confdefs.h <<\_ACEOF
 #define CVD_HAVE_SSE 1
 _ACEOF
@@ -4686,6 +4692,8 @@
                                        CXXFLAGS="$save_CXXFLAGS"
                                        break
                                else
+                                       have_sse2=yes
+
                                        cat >>confdefs.h <<\_ACEOF
 #define CVD_HAVE_SSE2 1
 _ACEOF
@@ -9988,6 +9996,10 @@
 s,@host_cpu@,$host_cpu,;t t
 s,@host_vendor@,$host_vendor,;t t
 s,@host_os@,$host_os,;t t
+s,@have_mmx@,$have_mmx,;t t
+s,@have_mmxext@,$have_mmxext,;t t
+s,@have_sse@,$have_sse,;t t
+s,@have_sse2@,$have_sse2,;t t
 s,@have_64bit@,$have_64bit,;t t
 s,@OFLAGS@,$OFLAGS,;t t
 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t

Index: configure.in
===================================================================
RCS file: /cvsroot/libcvd/libcvd/configure.in,v
retrieving revision 1.84
retrieving revision 1.85
diff -u -b -r1.84 -r1.85
--- configure.in        12 Jun 2007 19:44:12 -0000      1.84
+++ configure.in        19 Jun 2007 21:41:14 -0000      1.85
@@ -200,6 +200,7 @@
                                        break
                                else    
                                        AC_DEFINE(CVD_HAVE_MMINTRIN)
+                                       AC_SUBST(have_mmx,yes)
                                        simd_options="$simd_options mmx"
                                fi
 
@@ -236,6 +237,7 @@
                                else    
                                        AC_DEFINE(CVD_HAVE_XMMINTRIN)
                                        AC_DEFINE(CVD_HAVE_MMXEXT)
+                                       AC_SUBST(have_mmxext,yes)
                                        simd_options="$simd_options mmxext"
                                fi
 
@@ -261,6 +263,7 @@
                                then
                                        break
                                else    
+                                       AC_SUBST(have_sse,yes)
                                        AC_DEFINE(CVD_HAVE_SSE)
                                        simd_options="$simd_options sse"
                                fi
@@ -296,6 +299,7 @@
                                        CXXFLAGS="$save_CXXFLAGS"
                                        break
                                else    
+                                       AC_SUBST(have_sse2,yes)
                                        AC_DEFINE(CVD_HAVE_SSE2)
                                        AC_DEFINE(CVD_HAVE_EMMINTRIN)
                                        simd_options="$simd_options sse2"




reply via email to

[Prev in Thread] Current Thread [Next in Thread]