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: Wed, 08 Aug 2007 16:31:28 +0000

CVSROOT:        /cvsroot/libcvd
Module name:    libcvd
Changes by:     Edward Rosten <edrosten>        07/08/08 16:31:28

Modified files:
        .              : configure configure.in 

Log message:
        --without-lapack, and "missing programs" list.

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

Patches:
Index: configure
===================================================================
RCS file: /cvsroot/libcvd/libcvd/configure,v
retrieving revision 1.89
retrieving revision 1.90
diff -u -b -r1.89 -r1.90
--- configure   8 Aug 2007 16:12:24 -0000       1.89
+++ configure   8 Aug 2007 16:31:28 -0000       1.90
@@ -882,6 +882,7 @@
   --without-optimize      compile without optimizations
   --with-optimize=flags   compile with optimization flags
   --with-TooN=directory   Specify location for TooN
+  --without-lapack        Disable BLAS and LAPACK.
   --with-acml[=directory] Use BLAS and LAPACK routines from the ACML library 
[located in the specified directory]
   --without-firewire     compile without firewire (dvbuffer) support
   --without-v4l1         compile without v4l1 support
@@ -5399,9 +5400,16 @@
 # Check for BLAS and LAPACK support
 #
 lapack=no
+
+# Check whether --with-lapack or --without-lapack was given.
+if test "${with_lapack+set}" = set; then
+  withval="$with_lapack"
+  lapack=never
+fi;
+
 acml=no
 
-if test "$toon" = yes && test "$host_vendor" == apple
+if test "$toon" = yes && test "$host_vendor" == apple && test "$lapack" != 
never
 then
 
        save_LIBS="$LIBS"
@@ -10375,9 +10383,14 @@
 
 
 echo
-echo Programs
+echo Programs:
 echo $progs | sed -e's!progs/!!g'
 echo
+echo Missing programs:
+progs1="`echo "$progs" | tr ' ' '\n' `"
+echo "$progs1 $D_PROGS" |  awk '{print $1}' | sort | uniq -u | sed 
-e's!progs/!!'g  | tr '\n' ' '; echo
+echo
+
 echo Debug:
 echo CPPFLAGS="$CPPFLAGS"
 echo CXXFLAGS="$CXXFLAGS"

Index: configure.in
===================================================================
RCS file: /cvsroot/libcvd/libcvd/configure.in,v
retrieving revision 1.89
retrieving revision 1.90
diff -u -b -r1.89 -r1.90
--- configure.in        8 Aug 2007 16:12:23 -0000       1.89
+++ configure.in        8 Aug 2007 16:31:28 -0000       1.90
@@ -573,9 +573,11 @@
 # Check for BLAS and LAPACK support
 #
 lapack=no
+AC_ARG_WITH(lapack, [  --without-lapack        Disable BLAS and LAPACK.], 
[lapack=never])
+
 acml=no
 
-if test "$toon" = yes && test "$host_vendor" == apple
+if test "$toon" = yes && test "$host_vendor" == apple && test "$lapack" != 
never
 then
        
        save_LIBS="$LIBS"
@@ -1250,9 +1252,14 @@
 changequote([,])
 
 echo
-echo Programs
+echo Programs:
 echo $progs | sed -e's!progs/!!g'
 echo 
+echo Missing programs:
+progs1="`echo "$progs" | tr ' ' '\n' `"
+echo "$progs1 $D_PROGS" |  awk '{print $1}' | sort | uniq -u | sed 
-e's!progs/!!'g  | tr '\n' ' '; echo
+echo
+
 echo Debug:
 echo CPPFLAGS="$CPPFLAGS"
 echo CXXFLAGS="$CXXFLAGS"




reply via email to

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