Hello community,
here is the log from the commit of package gwc
checked in at Wed Dec 20 18:13:21 CET 2006.
--------
--- gwc/gwc.changes 2006-06-16 12:17:02.000000000 +0200
+++ /mounts/work_src_done/STABLE/gwc/gwc.changes 2006-12-20 14:16:58.000000000 +0100
@@ -1,0 +2,7 @@
+Wed Dec 20 14:14:20 CET 2006 - tiwai@suse.de
+
+- updated to 0.21-07:
+ * more filter types
+ * fix ALSA support
+
+-------------------------------------------------------------------
Old:
----
gwc-0.20-10b.tar.bz2
gwc-alsa-1.0-fix.dif
New:
----
gwc-0.21-07.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ gwc.spec ++++++
--- /var/tmp/diff_new_pack.aJQoHR/_old 2006-12-20 18:11:45.000000000 +0100
+++ /var/tmp/diff_new_pack.aJQoHR/_new 2006-12-20 18:11:45.000000000 +0100
@@ -1,5 +1,5 @@
#
-# spec file for package gwc (Version 0.20.10b)
+# spec file for package gwc (Version 0.21.07)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -12,19 +12,18 @@
Name: gwc
BuildRequires: fftw3-devel flac-devel gnutls-devel libglade2-devel libgnomeprintui-devel libgnomeui-devel libsndfile-devel libwnck-devel mDNSResponder-devel update-desktop-files
-%define package_version 0.20-10b
+%define package_version 0.21-07
Summary: GNOME Wave Cleaner--Audio Restoration Application
-Version: 0.20.10b
-Release: 14
-License: GPL
+Version: 0.21.07
+Release: 1
+License: GNU General Public License (GPL)
Group: Productivity/Multimedia/Sound/Editors and Convertors
Source: gwc-%{package_version}.tar.bz2
Source1: gwc.desktop
Source2: gwc.png
Patch: gwc-cflags-fix.dif
Patch1: gwc-meschach-fix.dif
-Patch2: gwc-alsa-1.0-fix.dif
-Patch3: gwc-compile-fix.diff
+Patch2: gwc-compile-fix.diff
URL: http://gwc.sourceforge.net
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Autoreqprov: on
@@ -46,8 +45,7 @@
%setup -n %{name}-%{package_version}
%patch
%patch1
-# %patch2
-%patch3
+%patch2
%build
%{?suse_update_config:%{suse_update_config -f . meschach}}
@@ -73,7 +71,6 @@
%files
%defattr(-,root,root)
%doc README COPYING Changelog TODO
-%doc gwc_help.html
%doc doc
%{_bindir}/gwc
%if %suse_version > 820
@@ -82,6 +79,10 @@
%{_datadir}/pixmaps/*.png
%changelog -n gwc
+* Wed Dec 20 2006 - tiwai@suse.de
+- updated to 0.21-07:
+ * more filter types
+ * fix ALSA support
* Fri Jun 16 2006 - schwab@suse.de
- Fix syntax error in configure script.
* Wed Jan 25 2006 - mls@suse.de
++++++ gwc-0.20-10b.tar.bz2 -> gwc-0.21-07.tar.bz2 ++++++
++++ 14340 lines of diff (skipped)
++++++ gwc-cflags-fix.dif ++++++
--- /var/tmp/diff_new_pack.aJQoHR/_old 2006-12-20 18:11:46.000000000 +0100
+++ /var/tmp/diff_new_pack.aJQoHR/_new 2006-12-20 18:11:46.000000000 +0100
@@ -1,16 +1,5 @@
---- Makefile.in-dist 2005-01-21 18:18:33.506259597 +0100
-+++ Makefile.in 2005-01-21 18:19:44.986598886 +0100
-@@ -22,7 +22,7 @@
- CONFIGDIR = /$(APPNAME)/config/
-
- DEFS = -DDATADIR=\"$(DATADIR)\" -DLIBDIR=\"$(LIBDIR)\" -DAPPNAME=\"$(APPNAME)\" @ALSAHDR@ @FFTWHDR@ @FFTWPREC@
--CFLAGS = -Wall @CFLAGS@ -mcpu=@UNAME_MACHINE@ -march=@UNAME_MACHINE@ @GNOMEUI_CFLAGS@ @SNDFILE_CFLAGS@
-+CFLAGS = -Wall @CFLAGS@ @GNOMEUI_CFLAGS@ @SNDFILE_CFLAGS@
-
- LIBS= meschach.a @GNOMEUI_LIBS@ @SNDFILE_LIBS@ @ALSALIB@ @FFTWLIB@ -lm
-
---- meschach/makefile.in-dist 2005-10-05 14:51:59.000000000 +0200
-+++ meschach/makefile.in 2005-10-05 14:52:27.000000000 +0200
+--- meschach/makefile.in-dist 2006-12-20 12:23:00.000000000 +0100
++++ meschach/makefile.in 2006-12-20 12:23:12.000000000 +0100
@@ -16,7 +16,7 @@
RANLIB = @RANLIB@
@@ -20,3 +9,14 @@
.c.o:
+--- Makefile.in-dist 2006-12-20 12:22:36.000000000 +0100
++++ Makefile.in 2006-12-20 12:22:56.000000000 +0100
+@@ -22,7 +22,7 @@
+ CONFIGDIR = /$(APPNAME)/config/
+
+ DEFS = -DDATADIR=\"$(DATADIR)\" -DLIBDIR=\"$(LIBDIR)\" -DAPPNAME=\"$(APPNAME)\" @ALSAHDR@ @FFTWHDR@ @FFTWPREC@
+-CFLAGS = -Wall -O6 @GNOMEUI_CFLAGS@ @SNDFILE_CFLAGS@
++CFLAGS = -Wall @CFLAGS@ @GNOMEUI_CFLAGS@ @SNDFILE_CFLAGS@
+
+ LIBS= meschach.a @GNOMEUI_LIBS@ @SNDFILE_LIBS@ @ALSALIB@ @FFTWLIB@ -lm
+
++++++ gwc-compile-fix.diff ++++++
--- /var/tmp/diff_new_pack.aJQoHR/_old 2006-12-20 18:11:46.000000000 +0100
+++ /var/tmp/diff_new_pack.aJQoHR/_new 2006-12-20 18:11:46.000000000 +0100
@@ -1,296 +1,24 @@
---- audio_util.c-dist 2005-10-12 17:14:55.000000000 +0200
-+++ audio_util.c 2005-10-12 17:15:39.000000000 +0200
-@@ -471,6 +471,7 @@ struct sound_prefs open_wavefile(char *f
- {
- struct sound_prefs wfh ;
+--- meschach/matrix.h-dist 2006-12-20 13:39:38.000000000 +0100
++++ meschach/matrix.h 2006-12-20 13:40:26.000000000 +0100
+@@ -123,9 +123,7 @@ void m_version( void );
+
+ /* re-allocate arry to have num objects of the given type */
+ #define RENEW(var,num,type) \
+- ((var)=(type *)((var) ? \
+- realloc((char *)(var),(size_t)(num)*sizeof(type)) : \
+- calloc((size_t)(num),sizeof(type))))
++ ((var)=(type *)realloc((char *)(var),(size_t)(num)*sizeof(type)), (var))
+
+ #define MEMCOPY(from,to,n_items,type) \
+ MEM_COPY((char *)(from),(char *)(to),(size_t)(n_items)*sizeof(type))
+@@ -139,9 +137,7 @@ void m_version( void );
+
+ /* re-allocate arry to have num objects of the given type */
+ #define RENEW(var,num,type) \
+- ((var)=(type *)((var) ? \
+- realloc((char *)(var),(size_t)((num)*sizeof(type))) : \
+- calloc((size_t)(num),(size_t)sizeof(type))))
++ ((var)=(type *)realloc((char *)(var),(size_t)((num)*sizeof(type))), (var))
-+ memset(&wfh, 0, sizeof(wfh));
- if(close_wavefile(v)) {
- wfh.successful_open = TRUE ;
- } else {
---- amplify.c-dist 2005-01-17 15:00:36.000000000 +0100
-+++ amplify.c 2005-10-12 17:09:09.000000000 +0200
-@@ -22,6 +22,7 @@
- #include
- #include "gtkledbar.h"
- #include "gwc.h"
-+#include "iir_lp.h"
-
- #define BUFSIZE 10000
-
-@@ -35,12 +36,14 @@ static gfloat amount_last_r[2] = {0.0,1.
- static int feather_width = 20 ;
-
-
-+void filter_free(FILTER *p);
-+
- void amplify_audio(struct sound_prefs *p, long first, long last, int channel_mask)
- {
- long left[BUFSIZE], right[BUFSIZE] ;
- long x_left[3], x_right[3] ;
- long y_left[3], y_right[3] ;
-- long current, i, f ;
-+ long current, i; //, f ;
- int loops = 0 ;
-
- current = first ;
-@@ -128,12 +131,12 @@ int amplify_dialog(struct sound_prefs cu
- GtkWidget *amount_first_entry_r[2] ;
- GtkWidget *amount_last_entry_r[2] ;
- GtkWidget *feather_width_entry ;
-- GtkWidget *curve ;
-+ // GtkWidget *curve ;
- int dclose = 0 ;
- int row = 0 ;
- int dres ;
- char buf[200] ;
-- gfloat curve_data[20] ;
-+ // gfloat curve_data[20] ;
-
- dialog_table = gtk_table_new(5,2,0) ;
- l_tbl = gtk_table_new(5,2,0) ;
-@@ -174,7 +177,7 @@ int amplify_dialog(struct sound_prefs cu
- /* //gtk_curve_set_vector(GTK_CURVE(curve),2,curve_data) ; */
-
- leftframe = gtk_frame_new ("Left channel source");
-- gtk_container_add(leftframe, l_tbl) ;
-+ gtk_container_add(GTK_CONTAINER(leftframe), l_tbl) ;
- gtk_widget_show (leftframe);
- gtk_table_attach_defaults(GTK_TABLE(dialog_table), leftframe, 0, 1, row, row+1) ;
- row++ ;
-@@ -185,7 +188,7 @@ int amplify_dialog(struct sound_prefs cu
- amount_last_entry_r[0] = add_number_entry_with_label_double(amount_last_r[0], "Right Channel end:", l_tbl, row++) ;
-
- rightframe = gtk_frame_new ("Right channel source");
-- gtk_container_add(rightframe, r_tbl) ;
-+ gtk_container_add(GTK_CONTAINER(rightframe), r_tbl) ;
- gtk_widget_show (rightframe);
- gtk_table_attach_defaults(GTK_TABLE(dialog_table), rightframe, 0, 1, row, row+1) ;
- row++ ;
---- meschach/fmacheps.c-dist 2005-10-12 18:14:01.000000000 +0200
-+++ meschach/fmacheps.c 2005-10-12 18:14:02.000000000 +0200
-@@ -34,7 +34,7 @@ double x;
- return y; /* prevents optimisation */
- }
-
--main()
-+int main()
- {
- static float feps, feps1, ftmp;
-
-@@ -43,4 +43,5 @@ main()
- feps = 0.5*feps;
-
- printf("%g\n", 2.0*feps);
-+ return 0;
- }
---- meschach/maxint.c-dist 2005-10-12 17:16:12.000000000 +0200
-+++ meschach/maxint.c 2005-10-12 18:14:24.000000000 +0200
-@@ -23,8 +23,9 @@
- **
- ***************************************************************************/
-
-+#include
-
--main()
-+int main()
- {
- int i, old_i;
-
-@@ -35,4 +36,5 @@ main()
- i = (i << 1) | 1;
- }
- printf("%d\n", old_i);
-+ return 0;
- }
---- meschach/configure.in-dist 2005-10-12 18:04:20.000000000 +0200
-+++ meschach/configure.in 2005-10-12 18:08:26.000000000 +0200
-@@ -7,7 +7,7 @@
- dnl Brook Milligan's prototype check
- dnl Check if $(CC) supports prototypes
- define(LOCAL_HAVE_PROTOTYPES,
--[AC_TRY_COMPILE([function prototypes], ,
-+[AC_COMPILE_CHECK([function prototypes], ,
- [extern int test (int i, double x);],
- AC_DEFINE(HAVE_PROTOTYPES))])dnl
- dnl
-@@ -42,10 +42,10 @@
- dnl Brook Milligan's prototype check
- dnl Check if $(CC) supports prototypes in function declarations and structures
- define(LOCAL_HAVE_PROTOTYPES,
--[AC_TRY_COMPILE([function prototypes], ,
-+[AC_COMPILE_CHECK([function prototypes], ,
- [extern int test (int i, double x);],
- AC_DEFINE(HAVE_PROTOTYPES))
--AC_TRY_COMPILE([function prototypes in structures], ,
-+AC_COMPILE_CHECK([function prototypes in structures], ,
- [struct s1 {int (*f) (int a);};
- struct s2 {int (*f) (double a);};],
- AC_DEFINE(HAVE_PROTOTYPES_IN_STRUCT))])dnl
-@@ -60,30 +60,30 @@
- AC_SIZE_T
- AC_CONST
- AC_WORDS_BIGENDIAN
--AC_ARG_WITH(complex, AC_DEFINE(COMPLEX))
--AC_ARG_WITH(sparse, AC_DEFINE(SPARSE))
--AC_ARG_WITH(all, AC_DEFINE(COMPLEX))
--AC_ARG_WITH(all, AC_DEFINE(SPARSE))
--AC_ARG_WITH(unroll, AC_DEFINE(VUNROLL))
--AC_ARG_WITH(munroll, AC_DEFINE(MUNROLL))
--AC_ARG_WITH(segmem, AC_DEFINE(SEGMENTED))
--AC_ARG_WITH(float, AC_DEFINE(REAL_FLT))
--AC_ARG_WITH(double, AC_DEFINE(REAL_DBL))
-+AC_ARG_WITH(complex,,AC_DEFINE(COMPLEX))
-+AC_ARG_WITH(sparse,, AC_DEFINE(SPARSE))
-+AC_ARG_WITH(all,, AC_DEFINE(COMPLEX))
-+dnl AC_ARG_WITH(all, AC_DEFINE(SPARSE))
-+AC_ARG_WITH(unroll,, AC_DEFINE(VUNROLL))
-+AC_ARG_WITH(munroll,, AC_DEFINE(MUNROLL))
-+AC_ARG_WITH(segmem,, AC_DEFINE(SEGMENTED))
-+AC_ARG_WITH(float,, AC_DEFINE(REAL_FLT))
-+AC_ARG_WITH(double,, AC_DEFINE(REAL_DBL))
- LIBS="$LIBS -lm"
--AC_TRY_COMPILE([u_int],[#include
-+AC_COMPILE_CHECK([u_int],[#include
- #ifdef __STDC__
- #include
- #endif],[u_int i; i = 1;],AC_DEFINE(U_INT_DEF))
- echo 'computing machine epsilon(s)'
--echo $CC -o macheps dmacheps.c
--$CC -o macheps dmacheps.c
-+echo $CC $CFLAGS -o macheps dmacheps.c
-+$CC $CFLAGS -o macheps dmacheps.c
- AC_DEFINE_UNQUOTED(D_MACHEPS,`./macheps`)
--echo $CC -o macheps fmacheps.c
--$CC -o macheps fmacheps.c
-+echo $CC $CFLAGS -o macheps fmacheps.c
-+$CC $CFLAGS -o macheps fmacheps.c
- AC_DEFINE_UNQUOTED(F_MACHEPS,`./macheps`)
- echo computing M_MAX_INT
--echo $CC -o maxint maxint.c
--$CC -o maxint maxint.c
-+echo $CC $CFLAGS -o maxint maxint.c
-+$CC $CFLAGS -o maxint maxint.c
- AC_DEFINE_UNQUOTED(M_MAX_INT,`./maxint`)
- echo checking char '\\0' vs. float zeros
- AC_PROGRAM_EGREP(yes,[main() {
-@@ -94,7 +94,7 @@
- ],AC_DEFINE(CHAR0ISDBL0))
- AC_HAVE_FUNCS(bcopy bzero)
- LOCAL_HAVE_PROTOTYPES
--AC_CONFIG_FILES([makefile make.mex])
-+AC_CONFIG_FILES([makefile])
- AC_OUTPUT
- echo "Extensions to basic version: use configure --with-opt1 --with-opt2"
- echo " Option:"
---- meschach/dmacheps.c-dist 2005-10-12 18:14:04.000000000 +0200
-+++ meschach/dmacheps.c 2005-10-12 18:14:15.000000000 +0200
-@@ -34,7 +34,7 @@ double x;
- return y; /* prevents optimisation */
- }
-
--main()
-+int main()
- {
- static double deps, deps1, dtmp;
-
-@@ -43,4 +43,5 @@ main()
- deps = 0.5*deps;
-
- printf("%g\n", 2.0*deps);
-+ return 0;
- }
---- denoise.c-dist 2005-01-28 05:03:45.000000000 +0100
-+++ denoise.c 2005-10-05 18:08:15.000000000 +0200
-@@ -579,7 +579,7 @@ int denoise(struct sound_prefs *pPrefs,
-
- int print_noise_sample(struct sound_prefs *pPrefs, struct denoise_prefs *pDnprefs, long noise_start, long noise_end)
- {
-- int i, k ;
-+ int k ;
- FILE *fp ;
-
- fftw_real left_noise_max[DENOISE_MAX_FFT], right_noise_max[DENOISE_MAX_FFT], left_noise_avg[DENOISE_MAX_FFT] ;
-@@ -599,6 +599,7 @@ int print_noise_sample(struct sound_pref
- }
-
- fclose(fp) ;
-+ return 0;
- }
-
- void get_noise_sample(struct sound_prefs *pPrefs, struct denoise_prefs *pDnprefs, long noise_start, long noise_end,
---- pinknoise.c-dist 2005-01-10 04:12:14.000000000 +0100
-+++ pinknoise.c 2005-10-05 18:08:16.000000000 +0200
-@@ -206,7 +206,7 @@ void pinknoise(struct sound_prefs *p, lo
- for(i = 0 ; i < n ; i++) {
- long icurrent = current + i ;
- double p_last = (gfloat)(icurrent-first)/(last-first+1) ;
-- double p_first = 1.0 - p_last ;
-+ // double p_first = 1.0 - p_last ;
- double feather_p = 1.0 ;
- double wet_left, wet_right ;
-
-@@ -253,14 +253,14 @@ void pinknoise(struct sound_prefs *p, lo
-
- int pinknoise_dialog(struct sound_prefs current, struct view *v)
- {
-- GtkWidget *dlg, *maxtext, *dialog_table, *n_rows_entry ;
-+ GtkWidget *dlg, *dialog_table, *n_rows_entry ; // *maxtext,
- GtkWidget *amount_pink_entry ;
- GtkWidget *amount_white_entry ;
- GtkWidget *feather_width_entry ;
- int dclose = 0 ;
- int row = 0 ;
- int dres ;
-- char buf[200] ;
-+ // char buf[200] ;
-
- dialog_table = gtk_table_new(5,2,0) ;
-
-@@ -283,7 +283,7 @@ int pinknoise_dialog(struct sound_prefs
- dres = gwc_dialog_run(GTK_DIALOG(dlg)) ;
-
- if(dres == 0) {
-- int i ;
-+ // int i ;
- amount_pink = atof(gtk_entry_get_text((GtkEntry *)amount_pink_entry)) ;
- amount_white = atof(gtk_entry_get_text((GtkEntry *)amount_white_entry)) ;
- feather_width = atoi(gtk_entry_get_text((GtkEntry *)feather_width_entry)) ;
---- dethunk.c-dist 2005-01-21 01:21:05.000000000 +0100
-+++ dethunk.c 2005-10-05 18:09:05.000000000 +0200
-@@ -572,12 +572,13 @@ int AutoRegression(
- for(j = 0 ; j < autolen ; j++)
- data[i] += data[i - j - 1]*auto_coefs[j] ;
- }
-+ return 0;
- }
-
- int reverse_extrapolate(fftw_real data[], int firstbad, int lastbad, int siglen)
- {
-- int n_bad = lastbad - firstbad + 1 ;
-- int autolen = 60 ;
-+ // int n_bad = lastbad - firstbad + 1 ;
-+ // int autolen = 60 ;
- int i ;
- fftw_real *x = calloc(siglen, sizeof(fftw_real)) ;
-
-@@ -590,6 +591,7 @@ int reverse_extrapolate(fftw_real data[]
- data[i] = x[siglen-i-1] ;
-
- free(x) ;
-+ return 0;
- }
-
- void estimate_region(fftw_real data[], int firstbad, int lastbad, int siglen)
-@@ -627,9 +629,9 @@ void estimate_region(fftw_real data[], i
- int dethunk(struct sound_prefs *pPrefs,
- long first_sample, long last_sample, int channel_mask)
- {
-- long i ;
-+ // long i ;
- long n_samples = last_sample - first_sample + 1 ;
-- int cancel, k ;
-+ int cancel; //, k ;
- fftw_real *left, *right ;
- int FFT_SIZE = MIN(ORDER*2,(last_sample-first_sample+1)*4) ;
- int siglen = last_sample-first_sample+1+2*FFT_SIZE ;
+ #define MEMCOPY(from,to,n_items,type) \
+ MEM_COPY((char *)(from),(char *)(to),(unsigned)(n_items)*sizeof(type))
++++++ gwc-meschach-fix.dif ++++++
--- /var/tmp/diff_new_pack.aJQoHR/_old 2006-12-20 18:11:46.000000000 +0100
+++ /var/tmp/diff_new_pack.aJQoHR/_new 2006-12-20 18:11:46.000000000 +0100
@@ -1,20 +1,113 @@
---- meschach/configure.in-dist 2002-11-26 12:03:24.000000000 +0100
-+++ meschach/configure.in 2002-11-26 12:03:43.000000000 +0100
-@@ -74,14 +74,14 @@
+--- meschach/maxint.c-dist 2006-12-20 13:48:45.000000000 +0100
++++ meschach/maxint.c 2006-12-20 13:49:13.000000000 +0100
+@@ -23,8 +23,9 @@
+ **
+ ***************************************************************************/
+
++#include
+
+-main()
++int main()
+ {
+ int i, old_i;
+
+--- meschach/configure.in-dist 2002-11-26 16:09:31.000000000 +0100
++++ meschach/configure.in 2006-12-20 13:49:58.000000000 +0100
+@@ -7,7 +7,7 @@
+ dnl Brook Milligan's prototype check
+ dnl Check if $(CC) supports prototypes
+ define(LOCAL_HAVE_PROTOTYPES,
+-[AC_TRY_COMPILE([function prototypes], ,
++[AC_COMPILE_CHECK([function prototypes], ,
+ [extern int test (int i, double x);],
+ AC_DEFINE(HAVE_PROTOTYPES))])dnl
+ dnl
+@@ -42,10 +42,10 @@
+ dnl Brook Milligan's prototype check
+ dnl Check if $(CC) supports prototypes in function declarations and structures
+ define(LOCAL_HAVE_PROTOTYPES,
+-[AC_TRY_COMPILE([function prototypes], ,
++[AC_COMPILE_CHECK([function prototypes], ,
+ [extern int test (int i, double x);],
+ AC_DEFINE(HAVE_PROTOTYPES))
+-AC_TRY_COMPILE([function prototypes in structures], ,
++AC_COMPILE_CHECK([function prototypes in structures], ,
+ [struct s1 {int (*f) (int a);};
+ struct s2 {int (*f) (double a);};],
+ AC_DEFINE(HAVE_PROTOTYPES_IN_STRUCT))])dnl
+@@ -60,31 +60,39 @@
+ AC_SIZE_T
+ AC_CONST
+ AC_WORDS_BIGENDIAN
+-AC_ARG_WITH(complex, AC_DEFINE(COMPLEX))
+-AC_ARG_WITH(sparse, AC_DEFINE(SPARSE))
+-AC_ARG_WITH(all, AC_DEFINE(COMPLEX))
+-AC_ARG_WITH(all, AC_DEFINE(SPARSE))
+-AC_ARG_WITH(unroll, AC_DEFINE(VUNROLL))
+-AC_ARG_WITH(munroll, AC_DEFINE(MUNROLL))
+-AC_ARG_WITH(segmem, AC_DEFINE(SEGMENTED))
+-AC_ARG_WITH(float, AC_DEFINE(REAL_FLT))
+-AC_ARG_WITH(double, AC_DEFINE(REAL_DBL))
++AC_ARG_WITH(complex, [--with-complex incorporate complex functions],
++ AC_DEFINE(COMPLEX))
++AC_ARG_WITH(sparse, [--with-sparse incorporate sparse matrix functions],
++ AC_DEFINE(SPARSE))
++AC_ARG_WITH(all, [--with-all both of the above],
++ [AC_DEFINE(COMPLEX)
++ AC_DEFINE(SPARSE)])
++AC_ARG_WITH(unroll, [--with-unroll unroll low level loops on vectors],
++ AC_DEFINE(VUNROLL))
++AC_ARG_WITH(munroll, [--with-munroll unroll low level loops on matrices],
++ AC_DEFINE(MUNROLL))
++AC_ARG_WITH(segmem, [--with-segmem segmem],
++ AC_DEFINE(SEGMENTED))
++AC_ARG_WITH(float, [--with-float single precision],
++ AC_DEFINE(REAL_FLT))
++AC_ARG_WITH(double, [--with-double double precision (default)],
++ AC_DEFINE(REAL_DBL))
+ LIBS="$LIBS -lm"
+ AC_TRY_COMPILE([u_int],[#include
+ #ifdef __STDC__
+ #include
+ #endif],[u_int i; i = 1;],AC_DEFINE(U_INT_DEF))
echo 'computing machine epsilon(s)'
- echo $CC -o macheps dmacheps.c
- $CC -o macheps dmacheps.c
+-echo $CC -o macheps dmacheps.c
+-$CC -o macheps dmacheps.c
-AC_DEFINE_UNQUOTED(D_MACHEPS,`macheps`)
-+AC_DEFINE_UNQUOTED(D_MACHEPS,`./macheps`)
- echo $CC -o macheps fmacheps.c
- $CC -o macheps fmacheps.c
+-echo $CC -o macheps fmacheps.c
+-$CC -o macheps fmacheps.c
-AC_DEFINE_UNQUOTED(F_MACHEPS,`macheps`)
++echo $CC $CFLAGS -o macheps dmacheps.c
++$CC $CFLAGS -o macheps dmacheps.c
++AC_DEFINE_UNQUOTED(D_MACHEPS,`./macheps`)
++echo $CC $CFLAGS -o macheps fmacheps.c
++$CC $CFLAGS -o macheps fmacheps.c
+AC_DEFINE_UNQUOTED(F_MACHEPS,`./macheps`)
echo computing M_MAX_INT
- echo $CC -o maxint maxint.c
- $CC -o maxint maxint.c
+-echo $CC -o maxint maxint.c
+-$CC -o maxint maxint.c
-AC_DEFINE_UNQUOTED(M_MAX_INT,`maxint`)
++echo $CC $CFLAGS -o maxint maxint.c
++$CC $CFLAGS -o maxint maxint.c
+AC_DEFINE_UNQUOTED(M_MAX_INT,`./maxint`)
echo checking char '\\0' vs. float zeros
AC_PROGRAM_EGREP(yes,[main() {
char *cp = "\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0";
+@@ -94,16 +102,6 @@
+ ],AC_DEFINE(CHAR0ISDBL0))
+ AC_HAVE_FUNCS(bcopy bzero)
+ LOCAL_HAVE_PROTOTYPES
+-AC_CONFIG_FILES([makefile make.mex])
++AC_CONFIG_FILES([makefile])
+ AC_OUTPUT
+-echo "Extensions to basic version: use configure --with-opt1 --with-opt2"
+-echo " Option:"
+-echo " --with-complex incorporate complex functions"
+-echo " --with-sparse incorporate sparse matrix functions"
+-echo " --with-all both of the above"
+-echo " --with-unroll unroll low level loops on vectors"
+-echo " --with-munroll unroll low level loops on matrices"
+-echo " --with-float single precision"
+-echo " --with-double double precision (default)"
+-echo "Re-run configure with these options if you want them"
+ # configure.in copyright (C) Brook Milligan and David Stewart, 1993, 2002
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
---------------------------------------------------------------------
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org