1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
|
m4_define([OVERRIDE_PREFIX],[/usr/])
AC_DEFUN([STAR_DEFAULTS],[
AC_DEFINE([NOSTARUTIL], 1, [The starutil package is not available in Debian])
# Create a PACKAGE_VERSION_INTEGER variable, which contains the
# package's version number as an integer major*1e6+minor*1e3+release.
eval [`echo $VERSION | sed -e 's/\([0-9]*\)[^0-9]*\([0-9]*\)[^0-9]*\([0-9]*\).*/PACKAGE_VERSION_MAJOR=\1; PACKAGE_VERSION_MINOR=\2; PACKAGE_VERSION_RELEASE=\3;/'`]
test -n "$PACKAGE_VERSION_MAJOR" || PACKAGE_VERSION_MAJOR=0
test -n "$PACKAGE_VERSION_MINOR" || PACKAGE_VERSION_MINOR=0
test -n "$PACKAGE_VERSION_RELEASE" || PACKAGE_VERSION_RELEASE=0
PACKAGE_VERSION_INTEGER=`expr $PACKAGE_VERSION_MAJOR \* 1000000 + $PACKAGE_VERSION_MINOR \* 1000 + $PACKAGE_VERSION_RELEASE`
AC_SUBST(PACKAGE_VERSION_MAJOR)
AC_SUBST(PACKAGE_VERSION_MINOR)
AC_SUBST(PACKAGE_VERSION_RELEASE)
AC_SUBST(PACKAGE_VERSION_INTEGER)
])
# Dummy declaration of starlink intedependencies
AC_DEFUN([STAR_DECLARE_DEPENDENCIES], [])
# Perform the check that configures f77.h.in for the return type of REAL
# Fortran functions. On 64-bit g77 with f2c compatibility this is double
# not float.
AC_DEFUN([STAR_CNF_F2C_COMPATIBLE], [
AC_SUBST([REAL_FUNCTION_TYPE], double)
])
# Determine the type of Fortran character string lengths.
AC_DEFUN([STAR_CNF_TRAIL_TYPE], [
AC_SUBST([TRAIL_TYPE], int)
])
# Declare the message file.
AC_DEFUN([STAR_MESSGEN], [])
# Declare the documentation.
# For Debian, this must be explicitely set in the patched Makefile.am
# since we don't use Starlink's automake here.
AC_DEFUN([STAR_LATEX_DOCUMENTATION], [
AC_SUBST([STARDOCS], [$1])
])
AC_DEFUN([STAR_PREDIST_SOURCES], [])
AC_DEFUN([STAR_PLATFORM_SOURCES], [
for _t in $1; do
(cd ${srcdir}; rm -f ${_t}; cp -p ${_t}default ${_t})
done
])
# We ignore any starlinks programs here since we don' install the whole
# Starlink bootstrap chain.
AC_DEFUN([STAR_CHECK_PROGS], [])
|