config/pac.m4
 configure.ac
 configure

Work on long integers: defined configure stuff.
psblas3-type-indexed
Salvatore Filippone 13 years ago
parent 62ae695d5f
commit d52fb8ed43

@ -329,7 +329,7 @@ AC_MSG_RESULT(no)
dnl @synopsis PAC_ARG_SERIAL_MPI dnl @synopsis PAC_ARG_SERIAL_MPI
dnl dnl
dnl Test for --with-serial-mpi={yes|no} dnl Test for --enable-serial
dnl dnl
dnl dnl
dnl dnl
@ -359,6 +359,38 @@ fi
] ]
) )
dnl @synopsis PAC_ARG_LONG_INTEGERS
dnl
dnl Test for --enable-long-integers
dnl
dnl
dnl
dnl Example use:
dnl
dnl
dnl @author Salvatore Filippone <salvatore.filippone@uniroma2.it>
dnl
AC_DEFUN([PAC_ARG_LONG_INTEGERS],
[
AC_MSG_CHECKING([whether we want long (8 bytes) integers])
AC_ARG_ENABLE(long-integers,
AC_HELP_STRING([--enable-long-integers],
[Specify usage of 64 bits integers. ]),
[
pac_cv_long_integers="yes";
]
dnl ,
dnl [pac_cv_long_integers="no";]
)
if test x"$pac_cv_long_integers" == x"yes" ; then
AC_MSG_RESULT([yes.])
else
pac_cv_long_integers="no";
AC_MSG_RESULT([no.])
fi
]
)
dnl @synopsis PAC_FORTRAN_HAVE_PSBLAS( [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]) dnl @synopsis PAC_FORTRAN_HAVE_PSBLAS( [ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]])
dnl dnl
dnl Will try to compile and link a program using the PSBLAS library dnl Will try to compile and link a program using the PSBLAS library

26
configure vendored

@ -752,6 +752,7 @@ with_library_path
with_include_path with_include_path
with_module_path with_module_path
enable_dependency_tracking enable_dependency_tracking
enable_long_integers
with_blas with_blas
with_lapack with_lapack
with_rsb with_rsb
@ -1397,6 +1398,7 @@ Optional Features:
in serial mode. in serial mode.
--disable-dependency-tracking speeds up one-time build --disable-dependency-tracking speeds up one-time build
--enable-dependency-tracking do not reject slow dependency extractors --enable-dependency-tracking do not reject slow dependency extractors
--enable-long-integers Specify usage of 64 bits integers.
Optional Packages: Optional Packages:
--with-PACKAGE[=ARG] use PACKAGE [ARG=yes] --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
@ -6588,6 +6590,30 @@ rm -f conftest*
fi fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we want long (8 bytes) integers" >&5
$as_echo_n "checking whether we want long (8 bytes) integers... " >&6; }
# Check whether --enable-long-integers was given.
if test "${enable_long_integers+set}" = set; then :
enableval=$enable_long_integers;
pac_cv_long_integers="yes";
fi
if test x"$pac_cv_long_integers" == x"yes" ; then
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes." >&5
$as_echo "yes." >&6; }
else
pac_cv_long_integers="no";
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no." >&5
$as_echo "no." >&6; }
fi
if test x"$pac_cv_long_integers" == x"yes" ; then
FDEFINES="$psblas_cv_define_prepend-DLONG_INTEGERS $FDEFINES";
fi
# #
# Tests for support of various Fortran features; some of them are critical, # Tests for support of various Fortran features; some of them are critical,
# some optional # some optional

@ -516,6 +516,10 @@ else
) )
fi fi
PAC_ARG_LONG_INTEGERS
if test x"$pac_cv_long_integers" == x"yes" ; then
FDEFINES="$psblas_cv_define_prepend-DLONG_INTEGERS $FDEFINES";
fi
# #
# Tests for support of various Fortran features; some of them are critical, # Tests for support of various Fortran features; some of them are critical,

Loading…
Cancel
Save