Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Gebhardt, Albrecht
akima
Commits
1bb6e43a
Commit
1bb6e43a
authored
Jun 21, 2011
by
agebhard
Browse files
..
parent
467b9900
Changes
3
Expand all
Show whitespace changes
Inline
Side-by-side
acinclude.m4
View file @
1bb6e43a
...
...
@@ -10,23 +10,23 @@ if test -z "${R_HOME}" ; then
R_HOME=`R RHOME`
fi
if test -z "${R_HOME}" ; then
echo "Cannot find the R distribution!"
exit 1
fi
CC=`"${R_HOME}/bin/R" CMD config CC`
F77=`"${R_HOME}/bin/R" CMD config F77`
PKG_CFLAGS=`"${R_HOME}/bin/R" CMD config CFLAGS`
PKG_FFLAGS=`"${R_HOME}/bin/R" CMD config FFLAGS`
<<<<<<< acinclude.m4
case "${host_cpu}-${host_os}" in
x86*-solaris*)
=======
case "${host}" in
x*-sun-solaris*)
>>>>>>> 1.2
dnl use a hard coded call to src/tripack.f through R
dnl to determine wether it returns all NA.
dnl then retry with -xO5
dnl
dnl skip gcc:
if test "${ac_cv_fc_compiler_gnu}" != yes; then
cat >conftest.R <<EOT
check <- function(){
dyn.load("src/tripack.so")
...
...
@@ -143,9 +143,11 @@ dnl strip out all -xO[1234] flags, add one -xO5 flag instead
fi
fi
fi
;;
fi
;;
*)
echo -n "not running on x*-solaris*"
echo -n "not running on x86*-solaris*"
;;
esac
]) # AC_CACHE_CHECK
...
...
configure
View file @
1bb6e43a
This diff is collapsed.
Click to expand it.
configure.ac
View file @
1bb6e43a
# package/configure.in
AC_PREREQ(2.50)
A
M
_INIT
_AUTOMAKE("
akima
",
0.5-5)
AC_
INIT
(src/tripack.f)
A
C
_INIT
([
akima
],[
0.5-5
]
)
AC_
CONFIG_SRCDIR
(src/tripack.f)
#if you want to use more macros
#AC_CONFIG_MACRO_DIR([m4])
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment