public inbox for gsl-discuss@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] Add missing $(EXEEXT)
@ 2004-07-26 16:43 Andris Pavenis
  2004-07-27 11:00 ` Brian Gough
  0 siblings, 1 reply; 6+ messages in thread
From: Andris Pavenis @ 2004-07-26 16:43 UTC (permalink / raw)
  To: gsl-discuss

[-- Attachment #1: Type: text/plain, Size: 222 bytes --]

There are missing $(EXEEXT) in Makefile.am files in subdirectories of 
directory test. Attached patch fixes this problem.

After that GSL-1.5 builds OK for i586-pc-msdosdjgpp. I didn't get any 
testsuite failures.

Andris

[-- Attachment #2: gsl-1.5.diff --]
[-- Type: text/x-diff, Size: 22384 bytes --]

diff -ur3 gsl-1.5.orig/block/Makefile.am gsl-1.5/block/Makefile.am
--- gsl-1.5.orig/block/Makefile.am	2003-07-27 09:49:48.000000000 +0000
+++ gsl-1.5/block/Makefile.am	2004-07-24 18:31:30.000000000 +0000
@@ -6,7 +6,7 @@
 
 INCLUDES= -I$(top_builddir) -I$(top_srcdir)
 
-TESTS = test
+TESTS = test$(EXEEXT)
 
 test_LDADD = libgslblock.la ../ieee-utils/libgslieeeutils.la ../err/libgslerr.la ../test/libgsltest.la ../sys/libgslsys.la ../utils/libutils.la
 
diff -ur3 gsl-1.5.orig/cblas/Makefile.am gsl-1.5/cblas/Makefile.am
--- gsl-1.5.orig/cblas/Makefile.am	2003-07-27 09:49:48.000000000 +0000
+++ gsl-1.5/cblas/Makefile.am	2004-07-24 18:31:30.000000000 +0000
@@ -10,7 +10,7 @@
 noinst_HEADERS = tests.c tests.h cblas.h source_asum_c.h source_asum_r.h source_axpy_c.h source_axpy_r.h source_copy_c.h source_copy_r.h source_dot_c.h source_dot_r.h source_gbmv_c.h source_gbmv_r.h source_gemm_c.h source_gemm_r.h source_gemv_c.h source_gemv_r.h source_ger.h source_gerc.h source_geru.h source_hbmv.h source_hemm.h source_hemv.h source_her.h source_her2.h source_her2k.h source_herk.h source_hpmv.h source_hpr.h source_hpr2.h source_iamax_c.h source_iamax_r.h source_nrm2_c.h source_nrm2_r.h source_rot.h source_rotg.h source_rotm.h source_rotmg.h source_sbmv.h source_scal_c.h source_scal_c_s.h source_scal_r.h source_spmv.h source_spr.h source_spr2.h source_swap_c.h source_swap_r.h source_symm_c.h source_symm_r.h source_symv.h source_syr.h source_syr2.h source_syr2k_c.h source_syr2k_r.h source_syrk_c.h source_syrk_r.h source_tbmv_c.h source_tbmv_r.h source_tbsv_c.h source_tbsv_r.h source_tpmv_c.h source_tpmv_r.h source_tpsv_c.h source_tpsv_r.h source_trmm_c.h source_trmm_r.h source_trmv_c.h source_trmv_r.h source_trsm_c.h source_trsm_r.h source_trsv_c.h source_trsv_r.h hypot.c
 
 check_PROGRAMS = test
-TESTS = test
+TESTS = test$(EXEEXT)
 
 test_LDADD = libgslcblas.la ../ieee-utils/libgslieeeutils.la ../err/libgslerr.la ../test/libgsltest.la ../sys/libgslsys.la
 test_SOURCES = test.c test_amax.c test_asum.c test_axpy.c test_copy.c test_dot.c test_gbmv.c test_gemm.c test_gemv.c test_ger.c test_hbmv.c test_hemm.c test_hemv.c test_her.c test_her2.c test_her2k.c test_herk.c test_hpmv.c test_hpr.c test_hpr2.c test_nrm2.c test_rot.c test_rotg.c test_rotm.c test_rotmg.c test_sbmv.c test_scal.c test_spmv.c test_spr.c test_spr2.c test_swap.c test_symm.c test_symv.c test_syr.c test_syr2.c test_syr2k.c test_syrk.c test_tbmv.c test_tbsv.c test_tpmv.c test_tpsv.c test_trmm.c test_trmv.c test_trsm.c test_trsv.c
diff -ur3 gsl-1.5.orig/cdf/Makefile.am gsl-1.5/cdf/Makefile.am
--- gsl-1.5.orig/cdf/Makefile.am	2003-08-13 08:34:22.000000000 +0000
+++ gsl-1.5/cdf/Makefile.am	2004-07-24 18:31:32.000000000 +0000
@@ -9,7 +9,7 @@
 
 noinst_HEADERS = beta_inc.c rat_eval.h test_auto.c
 
-TESTS = test
+TESTS = test$(EXEEXT)
 
 check_PROGRAMS = test
 
diff -ur3 gsl-1.5.orig/cheb/Makefile.am gsl-1.5/cheb/Makefile.am
--- gsl-1.5.orig/cheb/Makefile.am	2003-07-27 09:49:48.000000000 +0000
+++ gsl-1.5/cheb/Makefile.am	2004-07-24 18:31:30.000000000 +0000
@@ -6,7 +6,7 @@
 
 libgslcheb_la_SOURCES =  deriv.c eval.c init.c integ.c
 
-TESTS = test
+TESTS = test$(EXEEXT)
 
 check_PROGRAMS = test
 
diff -ur3 gsl-1.5.orig/combination/Makefile.am gsl-1.5/combination/Makefile.am
--- gsl-1.5.orig/combination/Makefile.am	2003-07-27 09:54:18.000000000 +0000
+++ gsl-1.5/combination/Makefile.am	2004-07-24 18:31:30.000000000 +0000
@@ -8,7 +8,7 @@
 
 noinst_HEADERS = 
 
-TESTS = test
+TESTS = test$(EXEEXT)
 
 check_PROGRAMS = test
 
diff -ur3 gsl-1.5.orig/complex/Makefile.am gsl-1.5/complex/Makefile.am
--- gsl-1.5.orig/complex/Makefile.am	2003-07-27 09:49:48.000000000 +0000
+++ gsl-1.5/complex/Makefile.am	2004-07-24 18:31:30.000000000 +0000
@@ -7,7 +7,7 @@
 
 libgslcomplex_la_SOURCES = math.c
 
-TESTS = test
+TESTS = test$(EXEEXT)
 check_PROGRAMS = test
 
 test_SOURCES = test.c results.h results1.h results_real.h
diff -ur3 gsl-1.5.orig/const/Makefile.am gsl-1.5/const/Makefile.am
--- gsl-1.5.orig/const/Makefile.am	2004-05-27 12:03:06.000000000 +0000
+++ gsl-1.5/const/Makefile.am	2004-07-24 18:34:18.000000000 +0000
@@ -2,7 +2,7 @@
 
 INCLUDES= -I$(top_builddir)
 
-TESTS = test
+TESTS = test$(EXEEXT)
 
 check_PROGRAMS = test
 
diff -ur3 gsl-1.5.orig/deriv/Makefile.am gsl-1.5/deriv/Makefile.am
--- gsl-1.5.orig/deriv/Makefile.am	2004-03-20 23:07:20.000000000 +0000
+++ gsl-1.5/deriv/Makefile.am	2004-07-24 18:34:40.000000000 +0000
@@ -6,7 +6,7 @@
 
 pkginclude_HEADERS = gsl_deriv.h
 
-TESTS = test
+TESTS = test$(EXEEXT)
 check_PROGRAMS = test #demo
 
 test_SOURCES = test.c
diff -ur3 gsl-1.5.orig/dht/Makefile.am gsl-1.5/dht/Makefile.am
--- gsl-1.5.orig/dht/Makefile.am	2003-07-27 09:49:48.000000000 +0000
+++ gsl-1.5/dht/Makefile.am	2004-07-24 18:31:30.000000000 +0000
@@ -4,7 +4,7 @@
 
 INCLUDES= -I$(top_builddir)
 
-TESTS = test
+TESTS = test$(EXEEXT)
 
 check_PROGRAMS = test
 
diff -ur3 gsl-1.5.orig/diff/Makefile.am gsl-1.5/diff/Makefile.am
--- gsl-1.5.orig/diff/Makefile.am	2003-07-27 09:54:18.000000000 +0000
+++ gsl-1.5/diff/Makefile.am	2004-07-24 18:31:32.000000000 +0000
@@ -6,7 +6,7 @@
 
 pkginclude_HEADERS = gsl_diff.h
 
-TESTS = test
+TESTS = test$(EXEEXT)
 check_PROGRAMS = test #demo
 
 test_SOURCES = test.c
diff -ur3 gsl-1.5.orig/eigen/Makefile.am gsl-1.5/eigen/Makefile.am
--- gsl-1.5.orig/eigen/Makefile.am	2003-07-27 09:49:48.000000000 +0000
+++ gsl-1.5/eigen/Makefile.am	2004-07-24 18:31:30.000000000 +0000
@@ -8,7 +8,7 @@
 
 noinst_HEADERS =  qrstep.c 
 
-TESTS = test
+TESTS = test$(EXEEXT)
 
 test_LDADD = libgsleigen.la  ../test/libgsltest.la ../linalg/libgsllinalg.la ../permutation/libgslpermutation.la ../blas/libgslblas.la ../cblas/libgslcblas.la ../matrix/libgslmatrix.la ../vector/libgslvector.la ../block/libgslblock.la  ../complex/libgslcomplex.la ../ieee-utils/libgslieeeutils.la ../sys/libgslsys.la ../err/libgslerr.la ../utils/libutils.la
 
diff -ur3 gsl-1.5.orig/err/Makefile.am gsl-1.5/err/Makefile.am
--- gsl-1.5.orig/err/Makefile.am	2003-07-27 09:49:48.000000000 +0000
+++ gsl-1.5/err/Makefile.am	2004-07-24 18:31:30.000000000 +0000
@@ -6,7 +6,7 @@
 
 check_PROGRAMS = test
 
-TESTS = test
+TESTS = test$(EXEEXT)
 
 test_SOURCES = test.c
 test_LDADD = libgslerr.la ../test/libgsltest.la ../sys/libgslsys.la ../utils/libutils.la
diff -ur3 gsl-1.5.orig/fft/Makefile.am gsl-1.5/fft/Makefile.am
--- gsl-1.5.orig/fft/Makefile.am	2003-07-27 09:54:18.000000000 +0000
+++ gsl-1.5/fft/Makefile.am	2004-07-24 18:31:30.000000000 +0000
@@ -8,7 +8,7 @@
 
 noinst_HEADERS = c_pass.h hc_pass.h real_pass.h signals.h signals_source.c c_main.c c_init.c c_pass_2.c c_pass_3.c c_pass_4.c c_pass_5.c c_pass_6.c c_pass_7.c c_pass_n.c c_radix2.c bitreverse.c bitreverse.h factorize.c factorize.h hc_init.c hc_pass_2.c hc_pass_3.c hc_pass_4.c hc_pass_5.c hc_pass_n.c hc_radix2.c hc_unpack.c real.c real_init.c real_pass_2.c real_pass_3.c real_pass_4.c real_pass_5.c real_pass_n.c real_radix2.c real_unpack.c compare.h compare_source.c dft_source.c hc_main.c real_main.c test_complex_source.c test_real_source.c test_trap_source.c urand.c complex_internal.h
 
-TESTS = test
+TESTS = test$(EXEEXT)
 
 check_PROGRAMS = test
 
diff -ur3 gsl-1.5.orig/fit/Makefile.am gsl-1.5/fit/Makefile.am
--- gsl-1.5.orig/fit/Makefile.am	2003-07-27 09:49:48.000000000 +0000
+++ gsl-1.5/fit/Makefile.am	2004-07-24 18:31:30.000000000 +0000
@@ -8,7 +8,7 @@
 
 check_PROGRAMS = test #demo
 
-TESTS = test
+TESTS = test$(EXEEXT)
 
 test_SOURCES = test.c
 test_LDADD = libgslfit.la ../ieee-utils/libgslieeeutils.la ../err/libgslerr.la ../test/libgsltest.la ../utils/libutils.la ../sys/libgslsys.la
Only in gsl-1.5: gsl-1.4.diff
diff -ur3 gsl-1.5.orig/histogram/Makefile.am gsl-1.5/histogram/Makefile.am
--- gsl-1.5.orig/histogram/Makefile.am	2003-07-27 09:54:18.000000000 +0000
+++ gsl-1.5/histogram/Makefile.am	2004-07-24 18:31:32.000000000 +0000
@@ -9,7 +9,7 @@
 noinst_HEADERS = urand.c find.c find2d.c
 
 check_PROGRAMS = test
-TESTS = test
+TESTS = test$(EXEEXT)
 
 EXTRA_DIST = urand.c
 
diff -ur3 gsl-1.5.orig/ieee-utils/Makefile.am gsl-1.5/ieee-utils/Makefile.am
--- gsl-1.5.orig/ieee-utils/Makefile.am	2003-07-27 09:54:18.000000000 +0000
+++ gsl-1.5/ieee-utils/Makefile.am	2004-07-24 18:31:30.000000000 +0000
@@ -8,7 +8,7 @@
 
 INCLUDES= -I$(top_builddir)
 
-TESTS = test
+TESTS = test$(EXEEXT)
 check_PROGRAMS = test
 test_LDADD = libgslieeeutils.la ../err/libgslerr.la ../test/libgsltest.la ../sys/libgslsys.la ../utils/libutils.la
 test_SOURCES = test.c
diff -ur3 gsl-1.5.orig/integration/Makefile.am gsl-1.5/integration/Makefile.am
--- gsl-1.5.orig/integration/Makefile.am	2003-07-27 09:49:48.000000000 +0000
+++ gsl-1.5/integration/Makefile.am	2004-07-24 18:31:32.000000000 +0000
@@ -7,7 +7,7 @@
 pkginclude_HEADERS = gsl_integration.h
 noinst_HEADERS = qpsrt.c qpsrt2.c qelg.c qc25c.c qc25s.c qc25f.c ptsort.c util.c err.c positivity.c append.c initialise.c set_initial.c reset.c
 
-TESTS = test
+TESTS = test$(EXEEXT)
 check_PROGRAMS = test
 
 test_SOURCES = test.c tests.c tests.h
diff -ur3 gsl-1.5.orig/interpolation/Makefile.am gsl-1.5/interpolation/Makefile.am
--- gsl-1.5.orig/interpolation/Makefile.am	2003-07-27 09:49:48.000000000 +0000
+++ gsl-1.5/interpolation/Makefile.am	2004-07-24 18:31:32.000000000 +0000
@@ -10,7 +10,7 @@
 
 INCLUDES= -I$(top_builddir)
 
-TESTS = test
+TESTS = test$(EXEEXT)
 
 test_LDADD = libgslinterpolation.la ../poly/libgslpoly.la ../linalg/libgsllinalg.la ../permutation/libgslpermutation.la ../blas/libgslblas.la ../matrix/libgslmatrix.la ../vector/libgslvector.la ../block/libgslblock.la ../complex/libgslcomplex.la ../cblas/libgslcblas.la ../ieee-utils/libgslieeeutils.la  ../err/libgslerr.la ../test/libgsltest.la ../sys/libgslsys.la ../utils/libutils.la
 
diff -ur3 gsl-1.5.orig/linalg/Makefile.am gsl-1.5/linalg/Makefile.am
--- gsl-1.5.orig/linalg/Makefile.am	2003-07-27 09:50:24.000000000 +0000
+++ gsl-1.5/linalg/Makefile.am	2004-07-24 18:31:30.000000000 +0000
@@ -8,7 +8,7 @@
 
 noinst_HEADERS =  givens.c apply_givens.c svdstep.c tridiag.h 
 
-TESTS = test
+TESTS = test$(EXEEXT)
 
 check_PROGRAMS = test
 
diff -ur3 gsl-1.5.orig/matrix/Makefile.am gsl-1.5/matrix/Makefile.am
--- gsl-1.5.orig/matrix/Makefile.am	2003-07-27 09:49:48.000000000 +0000
+++ gsl-1.5/matrix/Makefile.am	2004-07-24 18:31:30.000000000 +0000
@@ -6,7 +6,7 @@
 
 INCLUDES= -I$(top_builddir) -I$(top_srcdir)
 
-TESTS = test test_static 
+TESTS = test$(EXEEXT) test_static$(EXEEXT) 
 
 test_LDADD = libgslmatrix.la ../vector/libgslvector.la ../block/libgslblock.la ../ieee-utils/libgslieeeutils.la  ../err/libgslerr.la ../test/libgsltest.la ../sys/libgslsys.la ../utils/libutils.la
 test_static_LDADD = libgslmatrix.la ../vector/libgslvector.la ../block/libgslblock.la ../ieee-utils/libgslieeeutils.la  ../err/libgslerr.la ../test/libgsltest.la ../sys/libgslsys.la ../utils/libutils.la
diff -ur3 gsl-1.5.orig/min/Makefile.am gsl-1.5/min/Makefile.am
--- gsl-1.5.orig/min/Makefile.am	2003-07-27 09:49:48.000000000 +0000
+++ gsl-1.5/min/Makefile.am	2004-07-24 18:31:32.000000000 +0000
@@ -10,7 +10,7 @@
 
 check_PROGRAMS = test
 
-TESTS = test
+TESTS = test$(EXEEXT)
 
 test_SOURCES = test.c test_funcs.c test.h
 test_LDADD = libgslmin.la ../ieee-utils/libgslieeeutils.la ../err/libgslerr.la ../test/libgsltest.la ../utils/libutils.la ../sys/libgslsys.la
diff -ur3 gsl-1.5.orig/monte/Makefile.am gsl-1.5/monte/Makefile.am
--- gsl-1.5.orig/monte/Makefile.am	2003-07-27 09:49:48.000000000 +0000
+++ gsl-1.5/monte/Makefile.am	2004-07-24 18:31:32.000000000 +0000
@@ -6,7 +6,7 @@
 
 INCLUDES= -I$(top_builddir) -I$(top_srcdir)
 
-TESTS = test
+TESTS = test$(EXEEXT)
 
 check_PROGRAMS = test #demo
 
diff -ur3 gsl-1.5.orig/multifit/Makefile.am gsl-1.5/multifit/Makefile.am
--- gsl-1.5.orig/multifit/Makefile.am	2003-07-27 09:49:48.000000000 +0000
+++ gsl-1.5/multifit/Makefile.am	2004-07-24 18:31:30.000000000 +0000
@@ -10,7 +10,7 @@
 
 check_PROGRAMS = test #demo
 
-TESTS = test
+TESTS = test$(EXEEXT)
 
 test_SOURCES = test.c
 test_LDADD = libgslmultifit.la ../linalg/libgsllinalg.la ../permutation/libgslpermutation.la ../blas/libgslblas.la ../cblas/libgslcblas.la ../matrix/libgslmatrix.la ../vector/libgslvector.la ../block/libgslblock.la  ../complex/libgslcomplex.la ../ieee-utils/libgslieeeutils.la ../err/libgslerr.la ../test/libgsltest.la ../utils/libutils.la ../sys/libgslsys.la
diff -ur3 gsl-1.5.orig/multimin/Makefile.am gsl-1.5/multimin/Makefile.am
--- gsl-1.5.orig/multimin/Makefile.am	2003-07-27 09:49:48.000000000 +0000
+++ gsl-1.5/multimin/Makefile.am	2004-07-24 18:31:32.000000000 +0000
@@ -10,7 +10,7 @@
 
 check_PROGRAMS = test #demo
 
-TESTS = test 
+TESTS = test$(EXEEXT) 
 
 test_SOURCES = test.c test_funcs.c test_funcs.h
 test_LDADD = libgslmultimin.la ../min/libgslmin.la ../blas/libgslblas.la ../cblas/libgslcblas.la ../linalg/libgsllinalg.la ../permutation/libgslpermutation.la ../matrix/libgslmatrix.la ../vector/libgslvector.la ../block/libgslblock.la ../complex/libgslcomplex.la ../ieee-utils/libgslieeeutils.la ../err/libgslerr.la ../test/libgsltest.la ../sys/libgslsys.la ../utils/libutils.la
diff -ur3 gsl-1.5.orig/multiroots/Makefile.am gsl-1.5/multiroots/Makefile.am
--- gsl-1.5.orig/multiroots/Makefile.am	2003-07-27 09:49:48.000000000 +0000
+++ gsl-1.5/multiroots/Makefile.am	2004-07-24 18:31:32.000000000 +0000
@@ -12,7 +12,7 @@
 
 check_PROGRAMS = test
 
-TESTS = test
+TESTS = test$(EXEEXT)
 
 test_SOURCES = test.c test_funcs.c test_funcs.h
 test_LDADD = libgslmultiroots.la ../linalg/libgsllinalg.la ../blas/libgslblas.la ../cblas/libgslcblas.la ../permutation/libgslpermutation.la ../matrix/libgslmatrix.la ../vector/libgslvector.la ../block/libgslblock.la ../complex/libgslcomplex.la ../ieee-utils/libgslieeeutils.la  ../err/libgslerr.la ../test/libgsltest.la ../sys/libgslsys.la ../utils/libutils.la
diff -ur3 gsl-1.5.orig/ntuple/Makefile.am gsl-1.5/ntuple/Makefile.am
--- gsl-1.5.orig/ntuple/Makefile.am	2003-07-27 09:54:18.000000000 +0000
+++ gsl-1.5/ntuple/Makefile.am	2004-07-24 18:31:32.000000000 +0000
@@ -6,7 +6,7 @@
 
 libgslntuple_la_SOURCES = ntuple.c
 
-TESTS = test
+TESTS = test$(EXEEXT)
 
 check_PROGRAMS = test #demo demo1
 
diff -ur3 gsl-1.5.orig/ode-initval/Makefile.am gsl-1.5/ode-initval/Makefile.am
--- gsl-1.5.orig/ode-initval/Makefile.am	2003-07-27 09:49:48.000000000 +0000
+++ gsl-1.5/ode-initval/Makefile.am	2004-07-24 18:31:32.000000000 +0000
@@ -10,7 +10,7 @@
 
 check_PROGRAMS = test
 
-TESTS = test
+TESTS = test$(EXEEXT)
 
 test_LDADD = libgslodeiv.la ../ieee-utils/libgslieeeutils.la  ../err/libgslerr.la ../test/libgsltest.la ../sys/libgslsys.la ../linalg/libgsllinalg.la ../blas/libgslblas.la ../cblas/libgslcblas.la ../matrix/libgslmatrix.la ../permutation/libgslpermutation.la ../vector/libgslvector.la ../block/libgslblock.la ../complex/libgslcomplex.la ../utils/libutils.la
 
diff -ur3 gsl-1.5.orig/permutation/Makefile.am gsl-1.5/permutation/Makefile.am
--- gsl-1.5.orig/permutation/Makefile.am	2003-07-27 09:54:18.000000000 +0000
+++ gsl-1.5/permutation/Makefile.am	2004-07-24 18:31:30.000000000 +0000
@@ -8,7 +8,7 @@
 
 noinst_HEADERS = permute_source.c
 
-TESTS = test
+TESTS = test$(EXEEXT)
 
 check_PROGRAMS = test
 
diff -ur3 gsl-1.5.orig/poly/Makefile.am gsl-1.5/poly/Makefile.am
--- gsl-1.5.orig/poly/Makefile.am	2003-07-27 09:54:18.000000000 +0000
+++ gsl-1.5/poly/Makefile.am	2004-07-24 18:31:30.000000000 +0000
@@ -8,7 +8,7 @@
 
 noinst_HEADERS = balance.c companion.c norm.c qr.c
 
-TESTS = test
+TESTS = test$(EXEEXT)
 
 check_PROGRAMS = test
 
diff -ur3 gsl-1.5.orig/qrng/Makefile.am gsl-1.5/qrng/Makefile.am
--- gsl-1.5.orig/qrng/Makefile.am	2003-07-27 09:54:18.000000000 +0000
+++ gsl-1.5/qrng/Makefile.am	2004-07-24 18:31:30.000000000 +0000
@@ -6,7 +6,7 @@
 
 libgslqrng_la_SOURCES =	gsl_qrng.h qrng.c niederreiter-2.c sobol.c
 
-TESTS = test
+TESTS = test$(EXEEXT)
 check_PROGRAMS = test
 
 test_SOURCES = test.c
diff -ur3 gsl-1.5.orig/randist/Makefile.am gsl-1.5/randist/Makefile.am
--- gsl-1.5.orig/randist/Makefile.am	2003-07-27 09:49:48.000000000 +0000
+++ gsl-1.5/randist/Makefile.am	2004-07-24 18:31:30.000000000 +0000
@@ -6,7 +6,7 @@
 
 libgslrandist_la_SOURCES = bernoulli.c beta.c bigauss.c binomial.c cauchy.c chisq.c dirichlet.c discrete.c erlang.c exponential.c exppow.c fdist.c flat.c gamma.c gauss.c gausstail.c geometric.c gumbel.c hyperg.c laplace.c levy.c logarithmic.c logistic.c lognormal.c multinomial.c nbinomial.c pareto.c pascal.c poisson.c rayleigh.c shuffle.c sphere.c tdist.c weibull.c landau.c binomial_tpe.c
 
-TESTS = test
+TESTS = test$(EXEEXT)
 
 check_PROGRAMS = test
 
diff -ur3 gsl-1.5.orig/rng/Makefile.am gsl-1.5/rng/Makefile.am
--- gsl-1.5.orig/rng/Makefile.am	2003-07-27 09:54:18.000000000 +0000
+++ gsl-1.5/rng/Makefile.am	2004-07-24 18:31:30.000000000 +0000
@@ -13,7 +13,7 @@
 test_SOURCES = test.c
 test_LDADD = libgslrng.la ../ieee-utils/libgslieeeutils.la ../err/libgslerr.la ../test/libgsltest.la ../sys/libgslsys.la ../utils/libutils.la
 
-TESTS = test
+TESTS = test$(EXEEXT)
 check_PROGRAMS = test
 
 # benchmark_SOURCES = benchmark.c 
diff -ur3 gsl-1.5.orig/roots/Makefile.am gsl-1.5/roots/Makefile.am
--- gsl-1.5.orig/roots/Makefile.am	2003-07-27 09:49:48.000000000 +0000
+++ gsl-1.5/roots/Makefile.am	2004-07-24 18:31:32.000000000 +0000
@@ -12,7 +12,7 @@
 
 check_PROGRAMS = test
 
-TESTS = test
+TESTS = test$(EXEEXT)
 
 test_SOURCES = test.c test_funcs.c test.h
 test_LDADD = libgslroots.la ../ieee-utils/libgslieeeutils.la  ../err/libgslerr.la ../test/libgsltest.la ../sys/libgslsys.la ../utils/libutils.la
diff -ur3 gsl-1.5.orig/siman/Makefile.am gsl-1.5/siman/Makefile.am
--- gsl-1.5.orig/siman/Makefile.am	2003-07-27 09:54:18.000000000 +0000
+++ gsl-1.5/siman/Makefile.am	2004-07-24 18:31:30.000000000 +0000
@@ -3,7 +3,7 @@
 check_PROGRAMS = test siman_tsp
 noinst_LTLIBRARIES = libgslsiman.la
 
-TESTS = test
+TESTS = test$(EXEEXT)
 EXTRA_DIST = siman_test_driver.sh
 
 test_SOURCES = test.c
diff -ur3 gsl-1.5.orig/sort/Makefile.am gsl-1.5/sort/Makefile.am
--- gsl-1.5.orig/sort/Makefile.am	2003-07-27 09:54:18.000000000 +0000
+++ gsl-1.5/sort/Makefile.am	2004-07-24 18:31:30.000000000 +0000
@@ -7,7 +7,7 @@
 libgslsort_la_SOURCES = sort.c sortind.c sortvec.c sortvecind.c subset.c subsetind.c
 noinst_HEADERS = sortvec_source.c sortvecind_source.c subset_source.c subsetind_source.c test_source.c test_heapsort.c 
 
-TESTS = test
+TESTS = test$(EXEEXT)
 
 check_PROGRAMS = test
 
diff -ur3 gsl-1.5.orig/specfunc/Makefile.am gsl-1.5/specfunc/Makefile.am
--- gsl-1.5.orig/specfunc/Makefile.am	2003-07-27 09:49:48.000000000 +0000
+++ gsl-1.5/specfunc/Makefile.am	2004-07-24 18:31:30.000000000 +0000
@@ -8,7 +8,7 @@
 
 libgslspecfunc_la_SOURCES = airy.c airy_der.c airy_zero.c atanint.c bessel.c bessel.h bessel_I0.c bessel_I1.c bessel_In.c bessel_Inu.c bessel_J0.c bessel_J1.c bessel_Jn.c bessel_Jnu.c bessel_K0.c bessel_K1.c bessel_Kn.c bessel_Knu.c bessel_Y0.c bessel_Y1.c bessel_Yn.c bessel_Ynu.c bessel_amp_phase.c bessel_amp_phase.h bessel_i.c bessel_j.c bessel_k.c bessel_olver.c bessel_temme.c bessel_y.c bessel_zero.c bessel_sequence.c beta.c beta_inc.c clausen.c coulomb.c coupling.c coulomb_bound.c dawson.c debye.c dilog.c elementary.c ellint.c elljac.c erfc.c exp.c expint.c expint3.c fermi_dirac.c gegenbauer.c gamma.c gamma_inc.c hyperg_0F1.c hyperg_2F0.c hyperg_1F1.c hyperg_2F1.c hyperg_U.c hyperg.c laguerre.c lambert.c legendre_H3d.c legendre_Qn.c legendre_con.c legendre_poly.c log.c poch.c pow_int.c psi.c recurse.h result.c shint.c sinint.c synchrotron.c transport.c trig.c zeta.c
 
-TESTS = test
+TESTS = test$(EXEEXT)
 
 check_PROGRAMS = test
 
diff -ur3 gsl-1.5.orig/statistics/Makefile.am gsl-1.5/statistics/Makefile.am
--- gsl-1.5.orig/statistics/Makefile.am	2003-07-27 09:54:18.000000000 +0000
+++ gsl-1.5/statistics/Makefile.am	2004-07-24 18:31:30.000000000 +0000
@@ -11,7 +11,7 @@
 noinst_HEADERS = mean_source.c variance_source.c covariance_source.c absdev_source.c skew_source.c kurtosis_source.c lag1_source.c p_variance_source.c minmax_source.c ttest_source.c median_source.c quantiles_source.c wmean_source.c wvariance_source.c wabsdev_source.c wskew_source.c wkurtosis_source.c test_float_source.c test_int_source.c
 
 check_PROGRAMS = test
-TESTS = test
+TESTS = test$(EXEEXT)
 
 test_SOURCES = test.c test_nist.c
 test_LDADD = libgslstatistics.la ../sort/libgslsort.la ../ieee-utils/libgslieeeutils.la ../err/libgslerr.la ../test/libgsltest.la ../sys/libgslsys.la ../utils/libutils.la
diff -ur3 gsl-1.5.orig/sum/Makefile.am gsl-1.5/sum/Makefile.am
--- gsl-1.5.orig/sum/Makefile.am	2003-07-27 09:49:48.000000000 +0000
+++ gsl-1.5/sum/Makefile.am	2004-07-24 18:31:30.000000000 +0000
@@ -6,7 +6,7 @@
 
 libgslsum_la_SOURCES = levin_u.c levin_utrunc.c work_u.c work_utrunc.c
 
-TESTS = test
+TESTS = test$(EXEEXT)
 
 check_PROGRAMS = test
 
diff -ur3 gsl-1.5.orig/sys/Makefile.am gsl-1.5/sys/Makefile.am
--- gsl-1.5.orig/sys/Makefile.am	2003-07-27 09:51:02.000000000 +0000
+++ gsl-1.5/sys/Makefile.am	2004-07-24 18:31:30.000000000 +0000
@@ -7,6 +7,6 @@
 INCLUDES = -I$(top_builddir)
 
 check_PROGRAMS = test
-TESTS = test
+TESTS = test$(EXEEXT)
 test_SOURCES = test.c
 test_LDADD = libgslsys.la ../ieee-utils/libgslieeeutils.la ../err/libgslerr.la ../test/libgsltest.la libgslsys.la ../utils/libutils.la
diff -ur3 gsl-1.5.orig/vector/Makefile.am gsl-1.5/vector/Makefile.am
--- gsl-1.5.orig/vector/Makefile.am	2003-07-27 09:54:18.000000000 +0000
+++ gsl-1.5/vector/Makefile.am	2004-07-24 18:31:30.000000000 +0000
@@ -6,7 +6,7 @@
 
 INCLUDES= -I$(top_builddir) -I$(top_srcdir)
 
-TESTS = test test_static
+TESTS = test$(EXEEXT) test_static$(EXEEXT)
 
 test_LDADD = libgslvector.la ../block/libgslblock.la ../ieee-utils/libgslieeeutils.la ../err/libgslerr.la ../test/libgsltest.la ../sys/libgslsys.la ../utils/libutils.la
 test_static_LDADD = libgslvector.la ../block/libgslblock.la ../ieee-utils/libgslieeeutils.la ../err/libgslerr.la ../test/libgsltest.la ../sys/libgslsys.la ../utils/libutils.la

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] Add missing $(EXEEXT)
  2004-07-26 16:43 [PATCH] Add missing $(EXEEXT) Andris Pavenis
@ 2004-07-27 11:00 ` Brian Gough
  2004-07-27 12:17   ` Andris Pavenis
  0 siblings, 1 reply; 6+ messages in thread
From: Brian Gough @ 2004-07-27 11:00 UTC (permalink / raw)
  To: Andris Pavenis; +Cc: gsl-discuss

Andris Pavenis writes:
 > There are missing $(EXEEXT) in Makefile.am files in subdirectories of 
 > directory test. Attached patch fixes this problem.
 > 
 > After that GSL-1.5 builds OK for i586-pc-msdosdjgpp. I didn't get any 
 > testsuite failures.

Thanks for the patch. What about other programs like gsl-histogram and
gsl-randist that are in the build -- do they need $(EXEEXT) also?

-- 
Brian Gough

Network Theory Ltd,
Commercial support for GSL --- http://www.network-theory.co.uk/gsl/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] Add missing $(EXEEXT)
  2004-07-27 11:00 ` Brian Gough
@ 2004-07-27 12:17   ` Andris Pavenis
  2004-07-28 10:30     ` Brian Gough
  0 siblings, 1 reply; 6+ messages in thread
From: Andris Pavenis @ 2004-07-27 12:17 UTC (permalink / raw)
  To: gsl-discuss

On Tuesday 27 July 2004 13:52, Brian Gough wrote:
> Andris Pavenis writes:
>  > There are missing $(EXEEXT) in Makefile.am files in subdirectories of
>  > directory test. Attached patch fixes this problem.
>  >
>  > After that GSL-1.5 builds OK for i586-pc-msdosdjgpp. I didn't get any
>  > testsuite failures.
>
> Thanks for the patch. What about other programs like gsl-histogram and
> gsl-randist that are in the build -- do they need $(EXEEXT) also?

Both gsl-histogram and gsl-randist were built and I didn't noticed problems
for i586-pc-msdoddjgpp (where EXEEXT=.exe)

So perhaps the patch is enough.

Andris

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] Add missing $(EXEEXT)
  2004-07-27 12:17   ` Andris Pavenis
@ 2004-07-28 10:30     ` Brian Gough
  2004-07-29  7:41       ` Andris Pavenis
  0 siblings, 1 reply; 6+ messages in thread
From: Brian Gough @ 2004-07-28 10:30 UTC (permalink / raw)
  To: Andris Pavenis; +Cc: gsl-discuss

Andris Pavenis writes:
 > Both gsl-histogram and gsl-randist were built and I didn't noticed problems
 > for i586-pc-msdoddjgpp (where EXEEXT=.exe)
 > 
 > So perhaps the patch is enough.

Looking at automake more closely, I think this is an missing feature
in automake -- it adds EXEEXT automatically to bin_PROGRAMS and
check_PROGRAMS but not to TESTS.  It will affect all programs using
Automake.  If you are working on msdosdjgpp a lot, it could help to
send a bug report to the automake maintainers with a small example so
that all GNU packages will compile with djgpp in future.  Please
CC:gsl-discuss on the message if you do that.

I will keep the patch until the next release of GSL and if Automake
does not handle it automatically at that time then I will add the
patch.

-- 
Brian Gough

Network Theory Ltd,
Commercial support for GSL --- http://www.network-theory.co.uk/gsl/

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] Add missing $(EXEEXT)
  2004-07-28 10:30     ` Brian Gough
@ 2004-07-29  7:41       ` Andris Pavenis
  2004-07-29 11:00         ` Brian Gough
  0 siblings, 1 reply; 6+ messages in thread
From: Andris Pavenis @ 2004-07-29  7:41 UTC (permalink / raw)
  To: Brian Gough; +Cc: gsl-discuss

[-- Attachment #1: Type: text/plain, Size: 1172 bytes --]

On Wednesday 28 July 2004 13:16, Brian Gough wrote:
> Andris Pavenis writes:
>  > Both gsl-histogram and gsl-randist were built and I didn't noticed
>  > problems for i586-pc-msdoddjgpp (where EXEEXT=.exe)
>  >
>  > So perhaps the patch is enough.
>
> Looking at automake more closely, I think this is an missing feature
> in automake -- it adds EXEEXT automatically to bin_PROGRAMS and
> check_PROGRAMS but not to TESTS.  It will affect all programs using
> Automake.  If you are working on msdosdjgpp a lot, it could help to
> send a bug report to the automake maintainers with a small example so
> that all GNU packages will compile with djgpp in future.  Please
> CC:gsl-discuss on the message if you do that.

I don't think so. 

But also my earlier patch was not the best possible.

A new patch (tested for Linux and DJGPP) attached:
- list of test programs specified only once per Makefile.am (not twice as earlier)
- no need to specify $(EXEEXT) in Makefile.am (automake does all needed)

Only noticed difference after patch is that also tests/siman/siman_tsp$(EXEEXT)
is run by 'make check' (it was not earlier).  But I don't think, that it is a problem.

Andris

[-- Attachment #2: gsl-15~1.dif --]
[-- Type: text/x-diff, Size: 22539 bytes --]

diff -ur3 gsl-1.5.orig/block/Makefile.am gsl-1.5/block/Makefile.am
--- gsl-1.5.orig/block/Makefile.am	2003-07-27 12:49:48.000000000 +0300
+++ gsl-1.5/block/Makefile.am	2004-07-28 20:48:06.000000000 +0300
@@ -6,7 +6,7 @@
 
 INCLUDES= -I$(top_builddir) -I$(top_srcdir)
 
-TESTS = test
+TESTS = $(check_PROGRAMS)
 
 test_LDADD = libgslblock.la ../ieee-utils/libgslieeeutils.la ../err/libgslerr.la ../test/libgsltest.la ../sys/libgslsys.la ../utils/libutils.la
 
diff -ur3 gsl-1.5.orig/cblas/Makefile.am gsl-1.5/cblas/Makefile.am
--- gsl-1.5.orig/cblas/Makefile.am	2003-07-27 12:49:48.000000000 +0300
+++ gsl-1.5/cblas/Makefile.am	2004-07-28 20:48:06.000000000 +0300
@@ -10,7 +10,7 @@
 noinst_HEADERS = tests.c tests.h cblas.h source_asum_c.h source_asum_r.h source_axpy_c.h source_axpy_r.h source_copy_c.h source_copy_r.h source_dot_c.h source_dot_r.h source_gbmv_c.h source_gbmv_r.h source_gemm_c.h source_gemm_r.h source_gemv_c.h source_gemv_r.h source_ger.h source_gerc.h source_geru.h source_hbmv.h source_hemm.h source_hemv.h source_her.h source_her2.h source_her2k.h source_herk.h source_hpmv.h source_hpr.h source_hpr2.h source_iamax_c.h source_iamax_r.h source_nrm2_c.h source_nrm2_r.h source_rot.h source_rotg.h source_rotm.h source_rotmg.h source_sbmv.h source_scal_c.h source_scal_c_s.h source_scal_r.h source_spmv.h source_spr.h source_spr2.h source_swap_c.h source_swap_r.h source_symm_c.h source_symm_r.h source_symv.h source_syr.h source_syr2.h source_syr2k_c.h source_syr2k_r.h source_syrk_c.h source_syrk_r.h source_tbmv_c.h source_tbmv_r.h source_tbsv_c.h source_tbsv_r.h source_tpmv_c.h source_tpmv_r.h source_tpsv_c.h source_tpsv_r.h source_trmm_c.h source_trmm_r.h source_trmv_c.h source_trmv_r.h source_trsm_c.h source_trsm_r.h source_trsv_c.h source_trsv_r.h hypot.c
 
 check_PROGRAMS = test
-TESTS = test
+TESTS = $(check_PROGRAMS)
 
 test_LDADD = libgslcblas.la ../ieee-utils/libgslieeeutils.la ../err/libgslerr.la ../test/libgsltest.la ../sys/libgslsys.la
 test_SOURCES = test.c test_amax.c test_asum.c test_axpy.c test_copy.c test_dot.c test_gbmv.c test_gemm.c test_gemv.c test_ger.c test_hbmv.c test_hemm.c test_hemv.c test_her.c test_her2.c test_her2k.c test_herk.c test_hpmv.c test_hpr.c test_hpr2.c test_nrm2.c test_rot.c test_rotg.c test_rotm.c test_rotmg.c test_sbmv.c test_scal.c test_spmv.c test_spr.c test_spr2.c test_swap.c test_symm.c test_symv.c test_syr.c test_syr2.c test_syr2k.c test_syrk.c test_tbmv.c test_tbsv.c test_tpmv.c test_tpsv.c test_trmm.c test_trmv.c test_trsm.c test_trsv.c
diff -ur3 gsl-1.5.orig/cdf/Makefile.am gsl-1.5/cdf/Makefile.am
--- gsl-1.5.orig/cdf/Makefile.am	2003-08-13 11:34:22.000000000 +0300
+++ gsl-1.5/cdf/Makefile.am	2004-07-28 20:48:06.000000000 +0300
@@ -9,7 +9,7 @@
 
 noinst_HEADERS = beta_inc.c rat_eval.h test_auto.c
 
-TESTS = test
+TESTS = $(check_PROGRAMS)
 
 check_PROGRAMS = test
 
diff -ur3 gsl-1.5.orig/cheb/Makefile.am gsl-1.5/cheb/Makefile.am
--- gsl-1.5.orig/cheb/Makefile.am	2003-07-27 12:49:48.000000000 +0300
+++ gsl-1.5/cheb/Makefile.am	2004-07-28 20:48:06.000000000 +0300
@@ -6,7 +6,7 @@
 
 libgslcheb_la_SOURCES =  deriv.c eval.c init.c integ.c
 
-TESTS = test
+TESTS = $(check_PROGRAMS)
 
 check_PROGRAMS = test
 
diff -ur3 gsl-1.5.orig/combination/Makefile.am gsl-1.5/combination/Makefile.am
--- gsl-1.5.orig/combination/Makefile.am	2003-07-27 12:54:19.000000000 +0300
+++ gsl-1.5/combination/Makefile.am	2004-07-28 20:48:06.000000000 +0300
@@ -8,7 +8,7 @@
 
 noinst_HEADERS = 
 
-TESTS = test
+TESTS = $(check_PROGRAMS)
 
 check_PROGRAMS = test
 
diff -ur3 gsl-1.5.orig/complex/Makefile.am gsl-1.5/complex/Makefile.am
--- gsl-1.5.orig/complex/Makefile.am	2003-07-27 12:49:48.000000000 +0300
+++ gsl-1.5/complex/Makefile.am	2004-07-28 20:48:06.000000000 +0300
@@ -7,7 +7,7 @@
 
 libgslcomplex_la_SOURCES = math.c
 
-TESTS = test
+TESTS = $(check_PROGRAMS)
 check_PROGRAMS = test
 
 test_SOURCES = test.c results.h results1.h results_real.h
diff -ur3 gsl-1.5.orig/const/Makefile.am gsl-1.5/const/Makefile.am
--- gsl-1.5.orig/const/Makefile.am	2004-05-27 15:03:07.000000000 +0300
+++ gsl-1.5/const/Makefile.am	2004-07-28 20:48:06.000000000 +0300
@@ -2,7 +2,7 @@
 
 INCLUDES= -I$(top_builddir)
 
-TESTS = test
+TESTS = $(check_PROGRAMS)
 
 check_PROGRAMS = test
 
diff -ur3 gsl-1.5.orig/deriv/Makefile.am gsl-1.5/deriv/Makefile.am
--- gsl-1.5.orig/deriv/Makefile.am	2004-03-21 01:07:20.000000000 +0200
+++ gsl-1.5/deriv/Makefile.am	2004-07-28 20:48:06.000000000 +0300
@@ -6,7 +6,7 @@
 
 pkginclude_HEADERS = gsl_deriv.h
 
-TESTS = test
+TESTS = $(check_PROGRAMS)
 check_PROGRAMS = test #demo
 
 test_SOURCES = test.c
diff -ur3 gsl-1.5.orig/dht/Makefile.am gsl-1.5/dht/Makefile.am
--- gsl-1.5.orig/dht/Makefile.am	2003-07-27 12:49:48.000000000 +0300
+++ gsl-1.5/dht/Makefile.am	2004-07-28 20:48:06.000000000 +0300
@@ -4,7 +4,7 @@
 
 INCLUDES= -I$(top_builddir)
 
-TESTS = test
+TESTS = $(check_PROGRAMS)
 
 check_PROGRAMS = test
 
diff -ur3 gsl-1.5.orig/diff/Makefile.am gsl-1.5/diff/Makefile.am
--- gsl-1.5.orig/diff/Makefile.am	2003-07-27 12:54:19.000000000 +0300
+++ gsl-1.5/diff/Makefile.am	2004-07-28 20:48:06.000000000 +0300
@@ -6,7 +6,7 @@
 
 pkginclude_HEADERS = gsl_diff.h
 
-TESTS = test
+TESTS = $(check_PROGRAMS)
 check_PROGRAMS = test #demo
 
 test_SOURCES = test.c
diff -ur3 gsl-1.5.orig/eigen/Makefile.am gsl-1.5/eigen/Makefile.am
--- gsl-1.5.orig/eigen/Makefile.am	2003-07-27 12:49:48.000000000 +0300
+++ gsl-1.5/eigen/Makefile.am	2004-07-28 20:48:06.000000000 +0300
@@ -8,7 +8,7 @@
 
 noinst_HEADERS =  qrstep.c 
 
-TESTS = test
+TESTS = $(check_PROGRAMS)
 
 test_LDADD = libgsleigen.la  ../test/libgsltest.la ../linalg/libgsllinalg.la ../permutation/libgslpermutation.la ../blas/libgslblas.la ../cblas/libgslcblas.la ../matrix/libgslmatrix.la ../vector/libgslvector.la ../block/libgslblock.la  ../complex/libgslcomplex.la ../ieee-utils/libgslieeeutils.la ../sys/libgslsys.la ../err/libgslerr.la ../utils/libutils.la
 
diff -ur3 gsl-1.5.orig/err/Makefile.am gsl-1.5/err/Makefile.am
--- gsl-1.5.orig/err/Makefile.am	2003-07-27 12:49:48.000000000 +0300
+++ gsl-1.5/err/Makefile.am	2004-07-28 20:48:06.000000000 +0300
@@ -6,7 +6,7 @@
 
 check_PROGRAMS = test
 
-TESTS = test
+TESTS = $(check_PROGRAMS)
 
 test_SOURCES = test.c
 test_LDADD = libgslerr.la ../test/libgsltest.la ../sys/libgslsys.la ../utils/libutils.la
diff -ur3 gsl-1.5.orig/fft/Makefile.am gsl-1.5/fft/Makefile.am
--- gsl-1.5.orig/fft/Makefile.am	2003-07-27 12:54:19.000000000 +0300
+++ gsl-1.5/fft/Makefile.am	2004-07-28 20:48:06.000000000 +0300
@@ -8,7 +8,7 @@
 
 noinst_HEADERS = c_pass.h hc_pass.h real_pass.h signals.h signals_source.c c_main.c c_init.c c_pass_2.c c_pass_3.c c_pass_4.c c_pass_5.c c_pass_6.c c_pass_7.c c_pass_n.c c_radix2.c bitreverse.c bitreverse.h factorize.c factorize.h hc_init.c hc_pass_2.c hc_pass_3.c hc_pass_4.c hc_pass_5.c hc_pass_n.c hc_radix2.c hc_unpack.c real.c real_init.c real_pass_2.c real_pass_3.c real_pass_4.c real_pass_5.c real_pass_n.c real_radix2.c real_unpack.c compare.h compare_source.c dft_source.c hc_main.c real_main.c test_complex_source.c test_real_source.c test_trap_source.c urand.c complex_internal.h
 
-TESTS = test
+TESTS = $(check_PROGRAMS)
 
 check_PROGRAMS = test
 
diff -ur3 gsl-1.5.orig/fit/Makefile.am gsl-1.5/fit/Makefile.am
--- gsl-1.5.orig/fit/Makefile.am	2003-07-27 12:49:48.000000000 +0300
+++ gsl-1.5/fit/Makefile.am	2004-07-28 20:48:06.000000000 +0300
@@ -8,7 +8,7 @@
 
 check_PROGRAMS = test #demo
 
-TESTS = test
+TESTS = $(check_PROGRAMS)
 
 test_SOURCES = test.c
 test_LDADD = libgslfit.la ../ieee-utils/libgslieeeutils.la ../err/libgslerr.la ../test/libgsltest.la ../utils/libutils.la ../sys/libgslsys.la
Only in gsl-1.5/gsl: Makefile
Only in gsl-1.5.orig: gsl_version.h
diff -ur3 gsl-1.5.orig/histogram/Makefile.am gsl-1.5/histogram/Makefile.am
--- gsl-1.5.orig/histogram/Makefile.am	2003-07-27 12:54:19.000000000 +0300
+++ gsl-1.5/histogram/Makefile.am	2004-07-28 20:48:06.000000000 +0300
@@ -9,7 +9,7 @@
 noinst_HEADERS = urand.c find.c find2d.c
 
 check_PROGRAMS = test
-TESTS = test
+TESTS = $(check_PROGRAMS)
 
 EXTRA_DIST = urand.c
 
diff -ur3 gsl-1.5.orig/ieee-utils/Makefile.am gsl-1.5/ieee-utils/Makefile.am
--- gsl-1.5.orig/ieee-utils/Makefile.am	2003-07-27 12:54:19.000000000 +0300
+++ gsl-1.5/ieee-utils/Makefile.am	2004-07-28 20:48:06.000000000 +0300
@@ -8,7 +8,7 @@
 
 INCLUDES= -I$(top_builddir)
 
-TESTS = test
+TESTS = $(check_PROGRAMS)
 check_PROGRAMS = test
 test_LDADD = libgslieeeutils.la ../err/libgslerr.la ../test/libgsltest.la ../sys/libgslsys.la ../utils/libutils.la
 test_SOURCES = test.c
diff -ur3 gsl-1.5.orig/integration/Makefile.am gsl-1.5/integration/Makefile.am
--- gsl-1.5.orig/integration/Makefile.am	2003-07-27 12:49:48.000000000 +0300
+++ gsl-1.5/integration/Makefile.am	2004-07-28 20:48:06.000000000 +0300
@@ -7,7 +7,7 @@
 pkginclude_HEADERS = gsl_integration.h
 noinst_HEADERS = qpsrt.c qpsrt2.c qelg.c qc25c.c qc25s.c qc25f.c ptsort.c util.c err.c positivity.c append.c initialise.c set_initial.c reset.c
 
-TESTS = test
+TESTS = $(check_PROGRAMS)
 check_PROGRAMS = test
 
 test_SOURCES = test.c tests.c tests.h
diff -ur3 gsl-1.5.orig/interpolation/Makefile.am gsl-1.5/interpolation/Makefile.am
--- gsl-1.5.orig/interpolation/Makefile.am	2003-07-27 12:49:48.000000000 +0300
+++ gsl-1.5/interpolation/Makefile.am	2004-07-28 20:48:06.000000000 +0300
@@ -10,7 +10,7 @@
 
 INCLUDES= -I$(top_builddir)
 
-TESTS = test
+TESTS = $(check_PROGRAMS)
 
 test_LDADD = libgslinterpolation.la ../poly/libgslpoly.la ../linalg/libgsllinalg.la ../permutation/libgslpermutation.la ../blas/libgslblas.la ../matrix/libgslmatrix.la ../vector/libgslvector.la ../block/libgslblock.la ../complex/libgslcomplex.la ../cblas/libgslcblas.la ../ieee-utils/libgslieeeutils.la  ../err/libgslerr.la ../test/libgsltest.la ../sys/libgslsys.la ../utils/libutils.la
 
diff -ur3 gsl-1.5.orig/linalg/Makefile.am gsl-1.5/linalg/Makefile.am
--- gsl-1.5.orig/linalg/Makefile.am	2003-07-27 12:50:25.000000000 +0300
+++ gsl-1.5/linalg/Makefile.am	2004-07-28 20:48:06.000000000 +0300
@@ -8,7 +8,7 @@
 
 noinst_HEADERS =  givens.c apply_givens.c svdstep.c tridiag.h 
 
-TESTS = test
+TESTS = $(check_PROGRAMS)
 
 check_PROGRAMS = test
 
diff -ur3 gsl-1.5.orig/matrix/Makefile.am gsl-1.5/matrix/Makefile.am
--- gsl-1.5.orig/matrix/Makefile.am	2003-07-27 12:49:48.000000000 +0300
+++ gsl-1.5/matrix/Makefile.am	2004-07-28 20:48:06.000000000 +0300
@@ -6,7 +6,7 @@
 
 INCLUDES= -I$(top_builddir) -I$(top_srcdir)
 
-TESTS = test test_static 
+TESTS = $(check_PROGRAMS) 
 
 test_LDADD = libgslmatrix.la ../vector/libgslvector.la ../block/libgslblock.la ../ieee-utils/libgslieeeutils.la  ../err/libgslerr.la ../test/libgsltest.la ../sys/libgslsys.la ../utils/libutils.la
 test_static_LDADD = libgslmatrix.la ../vector/libgslvector.la ../block/libgslblock.la ../ieee-utils/libgslieeeutils.la  ../err/libgslerr.la ../test/libgsltest.la ../sys/libgslsys.la ../utils/libutils.la
diff -ur3 gsl-1.5.orig/min/Makefile.am gsl-1.5/min/Makefile.am
--- gsl-1.5.orig/min/Makefile.am	2003-07-27 12:49:48.000000000 +0300
+++ gsl-1.5/min/Makefile.am	2004-07-28 20:48:06.000000000 +0300
@@ -10,7 +10,7 @@
 
 check_PROGRAMS = test
 
-TESTS = test
+TESTS = $(check_PROGRAMS)
 
 test_SOURCES = test.c test_funcs.c test.h
 test_LDADD = libgslmin.la ../ieee-utils/libgslieeeutils.la ../err/libgslerr.la ../test/libgsltest.la ../utils/libutils.la ../sys/libgslsys.la
diff -ur3 gsl-1.5.orig/monte/Makefile.am gsl-1.5/monte/Makefile.am
--- gsl-1.5.orig/monte/Makefile.am	2003-07-27 12:49:48.000000000 +0300
+++ gsl-1.5/monte/Makefile.am	2004-07-28 20:48:06.000000000 +0300
@@ -6,7 +6,7 @@
 
 INCLUDES= -I$(top_builddir) -I$(top_srcdir)
 
-TESTS = test
+TESTS = $(check_PROGRAMS)
 
 check_PROGRAMS = test #demo
 
diff -ur3 gsl-1.5.orig/multifit/Makefile.am gsl-1.5/multifit/Makefile.am
--- gsl-1.5.orig/multifit/Makefile.am	2003-07-27 12:49:48.000000000 +0300
+++ gsl-1.5/multifit/Makefile.am	2004-07-28 20:48:06.000000000 +0300
@@ -10,7 +10,7 @@
 
 check_PROGRAMS = test #demo
 
-TESTS = test
+TESTS = $(check_PROGRAMS)
 
 test_SOURCES = test.c
 test_LDADD = libgslmultifit.la ../linalg/libgsllinalg.la ../permutation/libgslpermutation.la ../blas/libgslblas.la ../cblas/libgslcblas.la ../matrix/libgslmatrix.la ../vector/libgslvector.la ../block/libgslblock.la  ../complex/libgslcomplex.la ../ieee-utils/libgslieeeutils.la ../err/libgslerr.la ../test/libgsltest.la ../utils/libutils.la ../sys/libgslsys.la
diff -ur3 gsl-1.5.orig/multimin/Makefile.am gsl-1.5/multimin/Makefile.am
--- gsl-1.5.orig/multimin/Makefile.am	2003-07-27 12:49:48.000000000 +0300
+++ gsl-1.5/multimin/Makefile.am	2004-07-28 20:48:06.000000000 +0300
@@ -10,7 +10,7 @@
 
 check_PROGRAMS = test #demo
 
-TESTS = test 
+TESTS = $(check_PROGRAMS) 
 
 test_SOURCES = test.c test_funcs.c test_funcs.h
 test_LDADD = libgslmultimin.la ../min/libgslmin.la ../blas/libgslblas.la ../cblas/libgslcblas.la ../linalg/libgsllinalg.la ../permutation/libgslpermutation.la ../matrix/libgslmatrix.la ../vector/libgslvector.la ../block/libgslblock.la ../complex/libgslcomplex.la ../ieee-utils/libgslieeeutils.la ../err/libgslerr.la ../test/libgsltest.la ../sys/libgslsys.la ../utils/libutils.la
diff -ur3 gsl-1.5.orig/multiroots/Makefile.am gsl-1.5/multiroots/Makefile.am
--- gsl-1.5.orig/multiroots/Makefile.am	2003-07-27 12:49:48.000000000 +0300
+++ gsl-1.5/multiroots/Makefile.am	2004-07-28 20:48:06.000000000 +0300
@@ -12,7 +12,7 @@
 
 check_PROGRAMS = test
 
-TESTS = test
+TESTS = $(check_PROGRAMS)
 
 test_SOURCES = test.c test_funcs.c test_funcs.h
 test_LDADD = libgslmultiroots.la ../linalg/libgsllinalg.la ../blas/libgslblas.la ../cblas/libgslcblas.la ../permutation/libgslpermutation.la ../matrix/libgslmatrix.la ../vector/libgslvector.la ../block/libgslblock.la ../complex/libgslcomplex.la ../ieee-utils/libgslieeeutils.la  ../err/libgslerr.la ../test/libgsltest.la ../sys/libgslsys.la ../utils/libutils.la
diff -ur3 gsl-1.5.orig/ntuple/Makefile.am gsl-1.5/ntuple/Makefile.am
--- gsl-1.5.orig/ntuple/Makefile.am	2003-07-27 12:54:19.000000000 +0300
+++ gsl-1.5/ntuple/Makefile.am	2004-07-28 20:48:06.000000000 +0300
@@ -6,7 +6,7 @@
 
 libgslntuple_la_SOURCES = ntuple.c
 
-TESTS = test
+TESTS = $(check_PROGRAMS)
 
 check_PROGRAMS = test #demo demo1
 
diff -ur3 gsl-1.5.orig/ode-initval/Makefile.am gsl-1.5/ode-initval/Makefile.am
--- gsl-1.5.orig/ode-initval/Makefile.am	2003-07-27 12:49:48.000000000 +0300
+++ gsl-1.5/ode-initval/Makefile.am	2004-07-28 20:48:06.000000000 +0300
@@ -10,7 +10,7 @@
 
 check_PROGRAMS = test
 
-TESTS = test
+TESTS = $(check_PROGRAMS)
 
 test_LDADD = libgslodeiv.la ../ieee-utils/libgslieeeutils.la  ../err/libgslerr.la ../test/libgsltest.la ../sys/libgslsys.la ../linalg/libgsllinalg.la ../blas/libgslblas.la ../cblas/libgslcblas.la ../matrix/libgslmatrix.la ../permutation/libgslpermutation.la ../vector/libgslvector.la ../block/libgslblock.la ../complex/libgslcomplex.la ../utils/libutils.la
 
diff -ur3 gsl-1.5.orig/permutation/Makefile.am gsl-1.5/permutation/Makefile.am
--- gsl-1.5.orig/permutation/Makefile.am	2003-07-27 12:54:19.000000000 +0300
+++ gsl-1.5/permutation/Makefile.am	2004-07-28 20:48:06.000000000 +0300
@@ -8,7 +8,7 @@
 
 noinst_HEADERS = permute_source.c
 
-TESTS = test
+TESTS = $(check_PROGRAMS)
 
 check_PROGRAMS = test
 
diff -ur3 gsl-1.5.orig/poly/Makefile.am gsl-1.5/poly/Makefile.am
--- gsl-1.5.orig/poly/Makefile.am	2003-07-27 12:54:19.000000000 +0300
+++ gsl-1.5/poly/Makefile.am	2004-07-28 20:48:06.000000000 +0300
@@ -8,7 +8,7 @@
 
 noinst_HEADERS = balance.c companion.c norm.c qr.c
 
-TESTS = test
+TESTS = $(check_PROGRAMS)
 
 check_PROGRAMS = test
 
diff -ur3 gsl-1.5.orig/qrng/Makefile.am gsl-1.5/qrng/Makefile.am
--- gsl-1.5.orig/qrng/Makefile.am	2003-07-27 12:54:19.000000000 +0300
+++ gsl-1.5/qrng/Makefile.am	2004-07-28 20:48:06.000000000 +0300
@@ -6,7 +6,7 @@
 
 libgslqrng_la_SOURCES =	gsl_qrng.h qrng.c niederreiter-2.c sobol.c
 
-TESTS = test
+TESTS = $(check_PROGRAMS)
 check_PROGRAMS = test
 
 test_SOURCES = test.c
diff -ur3 gsl-1.5.orig/randist/Makefile.am gsl-1.5/randist/Makefile.am
--- gsl-1.5.orig/randist/Makefile.am	2003-07-27 12:49:48.000000000 +0300
+++ gsl-1.5/randist/Makefile.am	2004-07-28 20:48:06.000000000 +0300
@@ -6,7 +6,7 @@
 
 libgslrandist_la_SOURCES = bernoulli.c beta.c bigauss.c binomial.c cauchy.c chisq.c dirichlet.c discrete.c erlang.c exponential.c exppow.c fdist.c flat.c gamma.c gauss.c gausstail.c geometric.c gumbel.c hyperg.c laplace.c levy.c logarithmic.c logistic.c lognormal.c multinomial.c nbinomial.c pareto.c pascal.c poisson.c rayleigh.c shuffle.c sphere.c tdist.c weibull.c landau.c binomial_tpe.c
 
-TESTS = test
+TESTS = $(check_PROGRAMS)
 
 check_PROGRAMS = test
 
diff -ur3 gsl-1.5.orig/rng/Makefile.am gsl-1.5/rng/Makefile.am
--- gsl-1.5.orig/rng/Makefile.am	2003-07-27 12:54:19.000000000 +0300
+++ gsl-1.5/rng/Makefile.am	2004-07-28 20:48:06.000000000 +0300
@@ -13,7 +13,7 @@
 test_SOURCES = test.c
 test_LDADD = libgslrng.la ../ieee-utils/libgslieeeutils.la ../err/libgslerr.la ../test/libgsltest.la ../sys/libgslsys.la ../utils/libutils.la
 
-TESTS = test
+TESTS = $(check_PROGRAMS)
 check_PROGRAMS = test
 
 # benchmark_SOURCES = benchmark.c 
diff -ur3 gsl-1.5.orig/roots/Makefile.am gsl-1.5/roots/Makefile.am
--- gsl-1.5.orig/roots/Makefile.am	2003-07-27 12:49:48.000000000 +0300
+++ gsl-1.5/roots/Makefile.am	2004-07-28 20:48:06.000000000 +0300
@@ -12,7 +12,7 @@
 
 check_PROGRAMS = test
 
-TESTS = test
+TESTS = $(check_PROGRAMS)
 
 test_SOURCES = test.c test_funcs.c test.h
 test_LDADD = libgslroots.la ../ieee-utils/libgslieeeutils.la  ../err/libgslerr.la ../test/libgsltest.la ../sys/libgslsys.la ../utils/libutils.la
diff -ur3 gsl-1.5.orig/siman/Makefile.am gsl-1.5/siman/Makefile.am
--- gsl-1.5.orig/siman/Makefile.am	2003-07-27 12:54:19.000000000 +0300
+++ gsl-1.5/siman/Makefile.am	2004-07-28 20:48:06.000000000 +0300
@@ -3,7 +3,7 @@
 check_PROGRAMS = test siman_tsp
 noinst_LTLIBRARIES = libgslsiman.la
 
-TESTS = test
+TESTS = $(check_PROGRAMS)
 EXTRA_DIST = siman_test_driver.sh
 
 test_SOURCES = test.c
diff -ur3 gsl-1.5.orig/sort/Makefile.am gsl-1.5/sort/Makefile.am
--- gsl-1.5.orig/sort/Makefile.am	2003-07-27 12:54:19.000000000 +0300
+++ gsl-1.5/sort/Makefile.am	2004-07-28 20:48:06.000000000 +0300
@@ -7,7 +7,7 @@
 libgslsort_la_SOURCES = sort.c sortind.c sortvec.c sortvecind.c subset.c subsetind.c
 noinst_HEADERS = sortvec_source.c sortvecind_source.c subset_source.c subsetind_source.c test_source.c test_heapsort.c 
 
-TESTS = test
+TESTS = $(check_PROGRAMS)
 
 check_PROGRAMS = test
 
diff -ur3 gsl-1.5.orig/specfunc/Makefile.am gsl-1.5/specfunc/Makefile.am
--- gsl-1.5.orig/specfunc/Makefile.am	2003-07-27 12:49:48.000000000 +0300
+++ gsl-1.5/specfunc/Makefile.am	2004-07-28 20:48:06.000000000 +0300
@@ -8,7 +8,7 @@
 
 libgslspecfunc_la_SOURCES = airy.c airy_der.c airy_zero.c atanint.c bessel.c bessel.h bessel_I0.c bessel_I1.c bessel_In.c bessel_Inu.c bessel_J0.c bessel_J1.c bessel_Jn.c bessel_Jnu.c bessel_K0.c bessel_K1.c bessel_Kn.c bessel_Knu.c bessel_Y0.c bessel_Y1.c bessel_Yn.c bessel_Ynu.c bessel_amp_phase.c bessel_amp_phase.h bessel_i.c bessel_j.c bessel_k.c bessel_olver.c bessel_temme.c bessel_y.c bessel_zero.c bessel_sequence.c beta.c beta_inc.c clausen.c coulomb.c coupling.c coulomb_bound.c dawson.c debye.c dilog.c elementary.c ellint.c elljac.c erfc.c exp.c expint.c expint3.c fermi_dirac.c gegenbauer.c gamma.c gamma_inc.c hyperg_0F1.c hyperg_2F0.c hyperg_1F1.c hyperg_2F1.c hyperg_U.c hyperg.c laguerre.c lambert.c legendre_H3d.c legendre_Qn.c legendre_con.c legendre_poly.c log.c poch.c pow_int.c psi.c recurse.h result.c shint.c sinint.c synchrotron.c transport.c trig.c zeta.c
 
-TESTS = test
+TESTS = $(check_PROGRAMS)
 
 check_PROGRAMS = test
 
diff -ur3 gsl-1.5.orig/statistics/Makefile.am gsl-1.5/statistics/Makefile.am
--- gsl-1.5.orig/statistics/Makefile.am	2003-07-27 12:54:19.000000000 +0300
+++ gsl-1.5/statistics/Makefile.am	2004-07-28 20:48:06.000000000 +0300
@@ -11,7 +11,7 @@
 noinst_HEADERS = mean_source.c variance_source.c covariance_source.c absdev_source.c skew_source.c kurtosis_source.c lag1_source.c p_variance_source.c minmax_source.c ttest_source.c median_source.c quantiles_source.c wmean_source.c wvariance_source.c wabsdev_source.c wskew_source.c wkurtosis_source.c test_float_source.c test_int_source.c
 
 check_PROGRAMS = test
-TESTS = test
+TESTS = $(check_PROGRAMS)
 
 test_SOURCES = test.c test_nist.c
 test_LDADD = libgslstatistics.la ../sort/libgslsort.la ../ieee-utils/libgslieeeutils.la ../err/libgslerr.la ../test/libgsltest.la ../sys/libgslsys.la ../utils/libutils.la
diff -ur3 gsl-1.5.orig/sum/Makefile.am gsl-1.5/sum/Makefile.am
--- gsl-1.5.orig/sum/Makefile.am	2003-07-27 12:49:48.000000000 +0300
+++ gsl-1.5/sum/Makefile.am	2004-07-28 20:48:06.000000000 +0300
@@ -6,7 +6,7 @@
 
 libgslsum_la_SOURCES = levin_u.c levin_utrunc.c work_u.c work_utrunc.c
 
-TESTS = test
+TESTS = $(check_PROGRAMS)
 
 check_PROGRAMS = test
 
diff -ur3 gsl-1.5.orig/sys/Makefile.am gsl-1.5/sys/Makefile.am
--- gsl-1.5.orig/sys/Makefile.am	2003-07-27 12:51:03.000000000 +0300
+++ gsl-1.5/sys/Makefile.am	2004-07-28 20:48:06.000000000 +0300
@@ -7,6 +7,6 @@
 INCLUDES = -I$(top_builddir)
 
 check_PROGRAMS = test
-TESTS = test
+TESTS = $(check_PROGRAMS)
 test_SOURCES = test.c
 test_LDADD = libgslsys.la ../ieee-utils/libgslieeeutils.la ../err/libgslerr.la ../test/libgsltest.la libgslsys.la ../utils/libutils.la
diff -ur3 gsl-1.5.orig/vector/Makefile.am gsl-1.5/vector/Makefile.am
--- gsl-1.5.orig/vector/Makefile.am	2003-07-27 12:54:19.000000000 +0300
+++ gsl-1.5/vector/Makefile.am	2004-07-28 20:48:06.000000000 +0300
@@ -6,7 +6,7 @@
 
 INCLUDES= -I$(top_builddir) -I$(top_srcdir)
 
-TESTS = test test_static
+TESTS = $(check_PROGRAMS)
 
 test_LDADD = libgslvector.la ../block/libgslblock.la ../ieee-utils/libgslieeeutils.la ../err/libgslerr.la ../test/libgsltest.la ../sys/libgslsys.la ../utils/libutils.la
 test_static_LDADD = libgslvector.la ../block/libgslblock.la ../ieee-utils/libgslieeeutils.la ../err/libgslerr.la ../test/libgsltest.la ../sys/libgslsys.la ../utils/libutils.la

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: [PATCH] Add missing $(EXEEXT)
  2004-07-29  7:41       ` Andris Pavenis
@ 2004-07-29 11:00         ` Brian Gough
  0 siblings, 0 replies; 6+ messages in thread
From: Brian Gough @ 2004-07-29 11:00 UTC (permalink / raw)
  To: Andris Pavenis; +Cc: gsl-discuss

Andris Pavenis writes:
 > But also my earlier patch was not the best possible.
 > 

Thanks, the new approach is the right way to do it... I will apply
that.

-- 
Brian Gough

Network Theory Ltd,
Publishing Free Software Manuals --- http://www.network-theory.co.uk/

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2004-07-29 11:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-26 16:43 [PATCH] Add missing $(EXEEXT) Andris Pavenis
2004-07-27 11:00 ` Brian Gough
2004-07-27 12:17   ` Andris Pavenis
2004-07-28 10:30     ` Brian Gough
2004-07-29  7:41       ` Andris Pavenis
2004-07-29 11:00         ` Brian Gough

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).