"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "configure.in" between
cfitsio-3.49.tar.gz and cfitsio-4.0.0.tar.gz

About: CFITSIO is a library of C and Fortran subroutines for reading and writing data files in the FITS (Flexible Image Transport System) data format.

configure.in  (cfitsio-3.49):configure.in  (cfitsio-4.0.0)
skipping to change at line 17 skipping to change at line 17
# #
dnl Process this file with autoconf to produce a configure script. dnl Process this file with autoconf to produce a configure script.
AC_INIT AC_INIT
AC_CONFIG_SRCDIR([fitscore.c]) AC_CONFIG_SRCDIR([fitscore.c])
AC_CANONICAL_TARGET([]) AC_CANONICAL_TARGET([])
#-------------------------------------------------------------------- #--------------------------------------------------------------------
# CFITSIO Version Numbers: # CFITSIO Version Numbers:
#-------------------------------------------------------------------- #--------------------------------------------------------------------
AC_SUBST(CFITSIO_MAJOR,3) AC_SUBST(CFITSIO_MAJOR,4)
AC_SUBST(CFITSIO_MINOR,49) AC_SUBST(CFITSIO_MINOR,0)
AC_SUBST(CFITSIO_MICRO,0)
# Increment soname each time the interface changes: # Increment soname each time the interface changes:
AC_SUBST(CFITSIO_SONAME,9) AC_SUBST(CFITSIO_SONAME,9)
#-------------------------------------------------------------------- #--------------------------------------------------------------------
# Command options # Command options
#-------------------------------------------------------------------- #--------------------------------------------------------------------
ADD_CURL=yes ADD_CURL=yes
AC_ARG_ENABLE( AC_ARG_ENABLE(
curl, curl,
skipping to change at line 412 skipping to change at line 413
CFITSIO_SHLIB_SONAME="" CFITSIO_SHLIB_SONAME=""
lhea_shlib_cflags= lhea_shlib_cflags=
case $EXT in case $EXT in
cygwin|mingw32) cygwin|mingw32)
SHLIB_LD="$CC -shared" SHLIB_LD="$CC -shared"
SHLIB_SUFFIX=".dll" SHLIB_SUFFIX=".dll"
;; ;;
darwin) darwin)
changequote(,) changequote(,)
SHLIB_SUFFIX=".dylib" SHLIB_SUFFIX=".dylib"
CFITSIO_SHLIB="lib\${PACKAGE}.\${CFITSIO_SONAME}.\${CFITSIO_MAJOR}.\${CFITSI O_MINOR}\${SHLIB_SUFFIX}" CFITSIO_SHLIB="lib\${PACKAGE}.\${CFITSIO_SONAME}.\${CFITSIO_MAJOR}.\${CFITSI O_MINOR}.\${CFITSIO_MICRO}\${SHLIB_SUFFIX}"
CFITSIO_SHLIB_SONAME="lib\${PACKAGE}.\${CFITSIO_SONAME}\${SHLIB_SUFFIX}" CFITSIO_SHLIB_SONAME="lib\${PACKAGE}.\${CFITSIO_SONAME}\${SHLIB_SUFFIX}"
case $host in case $host in
*darwin[56789]*) *darwin[56789]*)
SHLIB_LD="$CC -dynamiclib -install_name lib\${PACKAGE}.\${CFITSIO_SO NAME}\${SHLIB_SUFFIX} -compatibility_version \${CFITSIO_SONAME} -current_version \${CFITSIO_SONAME}.\${CFITSIO_MAJOR}.\${CFITSIO_MINOR}" SHLIB_LD="$CC -dynamiclib -install_name lib\${PACKAGE}.\${CFITSIO_SO NAME}\${SHLIB_SUFFIX} -compatibility_version \${CFITSIO_SONAME} -current_version \${CFITSIO_SONAME}.\${CFITSIO_MAJOR}.\${CFITSIO_MINOR}.\${CFITSIO_MICRO}"
;; ;;
*) *)
# Build 'Universal' binaries (i386 & x86_64 architectures) and # Build 'Universal' binaries (i386 & x86_64 architectures) and
# use rpath token on Darwin 10.x or newer: # use rpath token on Darwin 10.x or newer:
SHLIB_LD="$CC -dynamiclib $C_UNIV_SWITCH -headerpad_max_install_name s -install_name @rpath/lib\${PACKAGE}.\${CFITSIO_SONAME}\${SHLIB_SUFFIX} -compat ibility_version \${CFITSIO_SONAME} -current_version \${CFITSIO_SONAME}.\${CFITSI O_MAJOR}.\${CFITSIO_MINOR}" SHLIB_LD="$CC -dynamiclib $C_UNIV_SWITCH -headerpad_max_install_name s -install_name @rpath/lib\${PACKAGE}.\${CFITSIO_SONAME}\${SHLIB_SUFFIX} -compat ibility_version \${CFITSIO_SONAME} -current_version \${CFITSIO_SONAME}.\${CFITSI O_MAJOR}.\${CFITSIO_MINOR}.\${CFITSIO_MICRO}"
;; ;;
esac esac
changequote([,]) changequote([,])
lhea_shlib_cflags="-fPIC -fno-common" lhea_shlib_cflags="-fPIC -fno-common"
;; ;;
haiku) haiku)
SHLIB_LD=":" SHLIB_LD=":"
CFITSIO_SHLIB="lib\${PACKAGE}\${SHLIB_SUFFIX}.\${CFITSIO_SONAME}.\${CFITSIO_ MAJOR}.\${CFITSIO_MINOR}" CFITSIO_SHLIB="lib\${PACKAGE}\${SHLIB_SUFFIX}.\${CFITSIO_SONAME}.\${CFITSIO_ MAJOR}.\${CFITSIO_MINOR}.\${CFITSIO_MICRO}"
CFITSIO_SHLIB_SONAME="lib\${PACKAGE}\${SHLIB_SUFFIX}.\${CFITSIO_SONAME}" CFITSIO_SHLIB_SONAME="lib\${PACKAGE}\${SHLIB_SUFFIX}.\${CFITSIO_SONAME}"
;; ;;
hpu) hpu)
SHLIB_LD="ld -b" SHLIB_LD="ld -b"
SHLIB_SUFFIX=".sl" SHLIB_SUFFIX=".sl"
;; ;;
lnx) lnx)
SHLIB_LD=":" SHLIB_LD=":"
CFITSIO_SHLIB="lib\${PACKAGE}\${SHLIB_SUFFIX}.\${CFITSIO_SONAME}.\${CFITSIO_ MAJOR}.\${CFITSIO_MINOR}" CFITSIO_SHLIB="lib\${PACKAGE}\${SHLIB_SUFFIX}.\${CFITSIO_SONAME}.\${CFITSIO_ MAJOR}.\${CFITSIO_MINOR}.\${CFITSIO_MICRO}"
CFITSIO_SHLIB_SONAME="lib\${PACKAGE}\${SHLIB_SUFFIX}.\${CFITSIO_SONAME}" CFITSIO_SHLIB_SONAME="lib\${PACKAGE}\${SHLIB_SUFFIX}.\${CFITSIO_SONAME}"
;; ;;
osf) osf)
SHLIB_LD="ld -shared -expect_unresolved '*'" SHLIB_LD="ld -shared -expect_unresolved '*'"
LD_FLAGS="-taso" LD_FLAGS="-taso"
;; ;;
sol) sol)
SHLIB_LD="/usr/ccs/bin/ld -G" SHLIB_LD="/usr/ccs/bin/ld -G"
lhea_shlib_cflags="-KPIC" lhea_shlib_cflags="-KPIC"
;; ;;
skipping to change at line 508 skipping to change at line 509
else else
AC_MSG_WARN(curl-config not found. Disabling curl support.) AC_MSG_WARN(curl-config not found. Disabling curl support.)
# Incomplete stubs for possible future use: # Incomplete stubs for possible future use:
# AC_CHECK_LIB([curl],[main],[], # AC_CHECK_LIB([curl],[main],[],
# [AC_MSG_WARN(Not building curl support for CFITSIO)]) # [AC_MSG_WARN(Not building curl support for CFITSIO)])
# AC_CHECK_HEADER(curl.h,[]) # AC_CHECK_HEADER(curl.h,[])
fi fi
fi fi
AC_SUBST(LIBS_CURL) AC_SUBST(LIBS_CURL)
# ZLIB (required):
AC_CHECK_LIB([z], [inflateEnd], [],[AC_MSG_ERROR(Unable to locate zlib compressi
on library)])
# GSIFTP flags: # GSIFTP flags:
if test "x$GSIFTP_PATH" != x -a "x$GSIFTP_FLAVOUR" != x; then if test "x$GSIFTP_PATH" != x -a "x$GSIFTP_FLAVOUR" != x; then
CFLAGS="$CFLAGS -I${GSIFTP_PATH}/include/${GSIFTP_FLAVOUR}" CFLAGS="$CFLAGS -I${GSIFTP_PATH}/include/${GSIFTP_FLAVOUR}"
LIBS="$LIBS -L${GSIFTP_PATH}/lib -lglobus_ftp_client_${GSIFTP_FLAVOUR}" LIBS="$LIBS -L${GSIFTP_PATH}/lib -lglobus_ftp_client_${GSIFTP_FLAVOUR}"
fi fi
# BZIP2 flags: # BZIP2 flags:
if test "x$BZIP2_PATH" != x; then if test "x$BZIP2_PATH" != x; then
CFLAGS="$CFLAGS -I${BZIP2_PATH}/include" CFLAGS="$CFLAGS -I${BZIP2_PATH}/include"
LIBS="$LIBS -L${BZIP2_PATH}/lib -lbz2" LIBS="$LIBS -L${BZIP2_PATH}/lib -lbz2"
 End of changes. 7 change blocks. 
7 lines changed or deleted 12 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)