--- octave/configure.orig Wed Dec 15 08:48:58 2004 +++ octave/configure Wed Dec 15 08:49:14 2004 @@ -9367,235 +9367,6 @@ LIBS="$save_LIBS" fi -# BLAS in ATLAS library? (http://math-atlas.sourceforge.net/) -if test $acx_blas_ok = no; then - echo "$as_me:$LINENO: checking for ATL_xerbla in -latlas" >&5 -echo $ECHO_N "checking for ATL_xerbla in -latlas... $ECHO_C" >&6 -if test "${ac_cv_lib_atlas_ATL_xerbla+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-latlas $LIBS" -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -/* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -#endif -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char ATL_xerbla (); -#ifdef F77_DUMMY_MAIN - -# ifdef __cplusplus - extern "C" -# endif - int F77_DUMMY_MAIN() { return 1; } - -#endif -int -main () -{ -ATL_xerbla (); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_cv_lib_atlas_ATL_xerbla=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -ac_cv_lib_atlas_ATL_xerbla=no -fi -rm -f conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -echo "$as_me:$LINENO: result: $ac_cv_lib_atlas_ATL_xerbla" >&5 -echo "${ECHO_T}$ac_cv_lib_atlas_ATL_xerbla" >&6 -if test $ac_cv_lib_atlas_ATL_xerbla = yes; then - as_ac_Lib=`echo "ac_cv_lib_f77blas_$sgemm" | $as_tr_sh` -echo "$as_me:$LINENO: checking for $sgemm in -lf77blas" >&5 -echo $ECHO_N "checking for $sgemm in -lf77blas... $ECHO_C" >&6 -if eval "test \"\${$as_ac_Lib+set}\" = set"; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lf77blas -latlas $LIBS" -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -/* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -#endif -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char $sgemm (); -#ifdef F77_DUMMY_MAIN - -# ifdef __cplusplus - extern "C" -# endif - int F77_DUMMY_MAIN() { return 1; } - -#endif -int -main () -{ -$sgemm (); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - eval "$as_ac_Lib=yes" -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -eval "$as_ac_Lib=no" -fi -rm -f conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5 -echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6 -if test `eval echo '${'$as_ac_Lib'}'` = yes; then - echo "$as_me:$LINENO: checking for cblas_dgemm in -lcblas" >&5 -echo $ECHO_N "checking for cblas_dgemm in -lcblas... $ECHO_C" >&6 -if test "${ac_cv_lib_cblas_cblas_dgemm+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - ac_check_lib_save_LIBS=$LIBS -LIBS="-lcblas -lf77blas -latlas $LIBS" -cat >conftest.$ac_ext <<_ACEOF -/* confdefs.h. */ -_ACEOF -cat confdefs.h >>conftest.$ac_ext -cat >>conftest.$ac_ext <<_ACEOF -/* end confdefs.h. */ - -/* Override any gcc2 internal prototype to avoid an error. */ -#ifdef __cplusplus -extern "C" -#endif -/* We use char because int might match the return type of a gcc2 - builtin and then its argument prototype would still apply. */ -char cblas_dgemm (); -#ifdef F77_DUMMY_MAIN - -# ifdef __cplusplus - extern "C" -# endif - int F77_DUMMY_MAIN() { return 1; } - -#endif -int -main () -{ -cblas_dgemm (); - ; - return 0; -} -_ACEOF -rm -f conftest.$ac_objext conftest$ac_exeext -if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 - (eval $ac_link) 2>conftest.er1 - ac_status=$? - grep -v '^ *+' conftest.er1 >conftest.err - rm -f conftest.er1 - cat conftest.err >&5 - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; } && - { ac_try='test -s conftest$ac_exeext' - { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 - (eval $ac_try) 2>&5 - ac_status=$? - echo "$as_me:$LINENO: \$? = $ac_status" >&5 - (exit $ac_status); }; }; then - ac_cv_lib_cblas_cblas_dgemm=yes -else - echo "$as_me: failed program was:" >&5 -sed 's/^/| /' conftest.$ac_ext >&5 - -ac_cv_lib_cblas_cblas_dgemm=no -fi -rm -f conftest.err conftest.$ac_objext \ - conftest$ac_exeext conftest.$ac_ext -LIBS=$ac_check_lib_save_LIBS -fi -echo "$as_me:$LINENO: result: $ac_cv_lib_cblas_cblas_dgemm" >&5 -echo "${ECHO_T}$ac_cv_lib_cblas_cblas_dgemm" >&6 -if test $ac_cv_lib_cblas_cblas_dgemm = yes; then - acx_blas_ok=yes - BLAS_LIBS="-lcblas -lf77blas -latlas" -fi - -fi - -fi - -fi - # BLAS in Apple vecLib framework? (Mac OS X) if test $acx_blas_ok = no; then vlib_flags="-framework vecLib" @@ -17175,8 +16946,8 @@ ### Check for dyld first since OS X can have a non-standard libdl if test "${ac_cv_header_Mach_O_dyld_h+set}" = set; then - echo "$as_me:$LINENO: checking for Mach-O/dyld.h" >&5 -echo $ECHO_N "checking for Mach-O/dyld.h... $ECHO_C" >&6 + echo "$as_me:$LINENO: checking for mach-o/dyld.h" >&5 +echo $ECHO_N "checking for mach-o/dyld.h... $ECHO_C" >&6 if test "${ac_cv_header_Mach_O_dyld_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 fi @@ -17184,8 +16955,8 @@ echo "${ECHO_T}$ac_cv_header_Mach_O_dyld_h" >&6 else # Is the header compilable? -echo "$as_me:$LINENO: checking Mach-O/dyld.h usability" >&5 -echo $ECHO_N "checking Mach-O/dyld.h usability... $ECHO_C" >&6 +echo "$as_me:$LINENO: checking mach-o/dyld.h usability" >&5 +echo $ECHO_N "checking mach-o/dyld.h usability... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF @@ -17193,7 +16964,7 @@ cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ $ac_includes_default -#include +#include _ACEOF rm -f conftest.$ac_objext if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 @@ -17228,15 +16999,15 @@ echo "${ECHO_T}$ac_header_compiler" >&6 # Is the header present? -echo "$as_me:$LINENO: checking Mach-O/dyld.h presence" >&5 -echo $ECHO_N "checking Mach-O/dyld.h presence... $ECHO_C" >&6 +echo "$as_me:$LINENO: checking mach-o/dyld.h presence" >&5 +echo $ECHO_N "checking mach-o/dyld.h presence... $ECHO_C" >&6 cat >conftest.$ac_ext <<_ACEOF /* confdefs.h. */ _ACEOF cat confdefs.h >>conftest.$ac_ext cat >>conftest.$ac_ext <<_ACEOF /* end confdefs.h. */ -#include +#include _ACEOF if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 @@ -17270,25 +17041,25 @@ # So? What about this header? case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in yes:no: ) - { echo "$as_me:$LINENO: WARNING: Mach-O/dyld.h: accepted by the compiler, rejected by the preprocessor!" >&5 -echo "$as_me: WARNING: Mach-O/dyld.h: accepted by the compiler, rejected by the preprocessor!" >&2;} - { echo "$as_me:$LINENO: WARNING: Mach-O/dyld.h: proceeding with the compiler's result" >&5 -echo "$as_me: WARNING: Mach-O/dyld.h: proceeding with the compiler's result" >&2;} + { echo "$as_me:$LINENO: WARNING: mach-o/dyld.h: accepted by the compiler, rejected by the preprocessor!" >&5 +echo "$as_me: WARNING: mach-o/dyld.h: accepted by the compiler, rejected by the preprocessor!" >&2;} + { echo "$as_me:$LINENO: WARNING: mach-o/dyld.h: proceeding with the compiler's result" >&5 +echo "$as_me: WARNING: mach-o/dyld.h: proceeding with the compiler's result" >&2;} ac_header_preproc=yes ;; no:yes:* ) - { echo "$as_me:$LINENO: WARNING: Mach-O/dyld.h: present but cannot be compiled" >&5 -echo "$as_me: WARNING: Mach-O/dyld.h: present but cannot be compiled" >&2;} - { echo "$as_me:$LINENO: WARNING: Mach-O/dyld.h: check for missing prerequisite headers?" >&5 -echo "$as_me: WARNING: Mach-O/dyld.h: check for missing prerequisite headers?" >&2;} - { echo "$as_me:$LINENO: WARNING: Mach-O/dyld.h: see the Autoconf documentation" >&5 -echo "$as_me: WARNING: Mach-O/dyld.h: see the Autoconf documentation" >&2;} - { echo "$as_me:$LINENO: WARNING: Mach-O/dyld.h: section \"Present But Cannot Be Compiled\"" >&5 -echo "$as_me: WARNING: Mach-O/dyld.h: section \"Present But Cannot Be Compiled\"" >&2;} - { echo "$as_me:$LINENO: WARNING: Mach-O/dyld.h: proceeding with the preprocessor's result" >&5 -echo "$as_me: WARNING: Mach-O/dyld.h: proceeding with the preprocessor's result" >&2;} - { echo "$as_me:$LINENO: WARNING: Mach-O/dyld.h: in the future, the compiler will take precedence" >&5 -echo "$as_me: WARNING: Mach-O/dyld.h: in the future, the compiler will take precedence" >&2;} + { echo "$as_me:$LINENO: WARNING: mach-o/dyld.h: present but cannot be compiled" >&5 +echo "$as_me: WARNING: mach-o/dyld.h: present but cannot be compiled" >&2;} + { echo "$as_me:$LINENO: WARNING: mach-o/dyld.h: check for missing prerequisite headers?" >&5 +echo "$as_me: WARNING: mach-o/dyld.h: check for missing prerequisite headers?" >&2;} + { echo "$as_me:$LINENO: WARNING: mach-o/dyld.h: see the Autoconf documentation" >&5 +echo "$as_me: WARNING: mach-o/dyld.h: see the Autoconf documentation" >&2;} + { echo "$as_me:$LINENO: WARNING: mach-o/dyld.h: section \"Present But Cannot Be Compiled\"" >&5 +echo "$as_me: WARNING: mach-o/dyld.h: section \"Present But Cannot Be Compiled\"" >&2;} + { echo "$as_me:$LINENO: WARNING: mach-o/dyld.h: proceeding with the preprocessor's result" >&5 +echo "$as_me: WARNING: mach-o/dyld.h: proceeding with the preprocessor's result" >&2;} + { echo "$as_me:$LINENO: WARNING: mach-o/dyld.h: in the future, the compiler will take precedence" >&5 +echo "$as_me: WARNING: mach-o/dyld.h: in the future, the compiler will take precedence" >&2;} ( cat <<\_ASBOX ## ------------------------------------------ ## @@ -17299,8 +17070,8 @@ sed "s/^/$as_me: WARNING: /" >&2 ;; esac -echo "$as_me:$LINENO: checking for Mach-O/dyld.h" >&5 -echo $ECHO_N "checking for Mach-O/dyld.h... $ECHO_C" >&6 +echo "$as_me:$LINENO: checking for mach-o/dyld.h" >&5 +echo $ECHO_N "checking for mach-o/dyld.h... $ECHO_C" >&6 if test "${ac_cv_header_Mach_O_dyld_h+set}" = set; then echo $ECHO_N "(cached) $ECHO_C" >&6 else