aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xsrc/configure.linux.orig68
-rwxr-xr-xsrc/configure.linux64.orig74
-rwxr-xr-xsrc/configure.macosx.orig78
-rwxr-xr-xsrc/configure.solaris.orig98
4 files changed, 0 insertions, 318 deletions
diff --git a/src/configure.linux.orig b/src/configure.linux.orig
deleted file mode 100755
index c8cf8ef..0000000
--- a/src/configure.linux.orig
+++ /dev/null
@@ -1,68 +0,0 @@
-#!/bin/sh
-
-echo "***********************************"
-echo "***** Preparing Makefiles *********"
-echo "******** for Linux ****************"
-echo "***********************************"
-
-cp Makefile.Linux Makefile
-cp fuv/Makefile.Linux fuv/Makefile
-cp fes/Makefile.Linux fes/Makefile
-cp analysis/Makefile.Linux analysis/Makefile
-cp libcf/Makefile.Linux libcf/Makefile
-cp cal/jitter/Makefile.Linux cal/jitter/Makefile
-cp slalib/mk.sv slalib/mk
-
-echo "***********************************"
-echo "***** Configuring cfitsio *********"
-echo "***********************************"
-
-
-cd cfitsio
-./configure
-cd ..
-
-echo "***********************************"
-echo "***** Done configuring cfitsio ****"
-echo "***********************************"
-
-FC=""
-for ac_prog in gfortran g77
-do
-# Extract the first word of "$ac_prog", so it can be a program name with args.
- set dummy $ac_prog; ac_word=$2
- echo "checking for $ac_word..."
- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
- ac_dummy="$PATH"
- for ac_dir in $ac_dummy; do
- test -z "$ac_dir" && ac_dir=.
- if test -f $ac_dir/$ac_word; then
- FC="$ac_prog"
- break
- fi
- done
- IFS="$ac_save_ifs"
- if test -n "$FC"; then
- echo " yes"
- else
- echo " no"
- fi
- test -n "$FC" && break
-done
-test -n "$FC" || FC="nope"
-
-if test $FC = 'nope' ; then
- echo "Warning: No acceptable fortran compiler was found. Please install one from the GNU compilers."
- echo "Read INSTALLING_CalFUSEv3.2.1 for details."
-else
- if test $FC = 'g77' ; then
- for mk in Makefile fuv/Makefile analysis/Makefile libcf/Makefile cal/jitter/Makefile
- do
- mv $mk ${mk}.sv
- sed -e "s/-lgfortran/-lg2c/g" ${mk}.sv > $mk
- done
- sed -e "s/gfortran/g77/g" slalib/mk.sv > slalib/mk
- fi
- echo
- echo "Type 'make clean' then 'make -e install'"
-fi
diff --git a/src/configure.linux64.orig b/src/configure.linux64.orig
deleted file mode 100755
index e0c989b..0000000
--- a/src/configure.linux64.orig
+++ /dev/null
@@ -1,74 +0,0 @@
-#!/bin/sh
-
-echo "***********************************"
-echo "***** Preparing Makefiles *********"
-echo "******** for Linux 64 *************"
-echo "***********************************"
-
-cp Makefile.Linux64 Makefile
-cp fuv/Makefile.Linux64 fuv/Makefile
-cp fes/Makefile.Linux64 fes/Makefile
-cp analysis/Makefile.Linux64 analysis/Makefile
-cp libcf/Makefile.Linux64 libcf/Makefile
-cp cal/jitter/Makefile.Linux64 cal/jitter/Makefile
-cp slalib/mk.sv slalib/mk
-
-FC=""
-for ac_prog in gfortran g77
-do
-# Extract the first word of "$ac_prog", so it can be a program name with args.
- set dummy $ac_prog; ac_word=$2
- echo "checking for $ac_word..."
- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
- ac_dummy="$PATH"
- for ac_dir in $ac_dummy; do
- test -z "$ac_dir" && ac_dir=.
- if test -f $ac_dir/$ac_word; then
- FC="$ac_prog"
- break
- fi
- done
- IFS="$ac_save_ifs"
- if test -n "$FC"; then
- echo " yes"
- else
- echo " no"
- fi
- test -n "$FC" && break
-done
-test -n "$FC" || FC="nope"
-
-if test $FC = 'nope' ; then
- echo "Warning: No acceptable fortran compiler was found. Please install one from the GNU compilers."
- echo " Read INSTALLING_CalFUSEv3.2.1 for details."
-else
- echo "checking for cfitsio..."
- if ! test -d /usr/include/cfitsio ; then
- echo " no"
- echo ""
- echo "Warning: CFITSIO was not found in /usr/include"
- echo " Please install CFITSIO for Linux 64 as explained in the installation notes"
- echo " If you already did so and still get this message, please copy the cfitsio"
- echo " repertory in '/usr/include'"
- echo " If you don't have permission to do so, follow the instructions in the"
- echo " Installation notes."
- echo ""
- else
- echo " yes"
- cp /usr/include/cfitsio/* ../include/
- cp /usr/include/cfitsio/* ../include/cfitsio/
-
- if test $FC = 'g77' ; then
- for mk in Makefile fuv/Makefile analysis/Makefile libcf/Makefile cal/jitter/Makefile
- do
- mv $mk ${mk}.sv
- sed -e "s/-lgfortran/-lg2c/g" ${mk}.sv > $mk
-#cfit mv $mk ${mk}.sv2
-#cfit sed -e "s#-lcfitsio#-lcfitsio -L/usr/include/cfitsio/lib#g" ${mk}.sv2 > $mk
- done
- sed -e "s/gfortran/g77/g" slalib/mk.sv > slalib/mk
- fi
- echo
- echo "Type 'make clean' then 'make -e install'"
- fi
-fi
diff --git a/src/configure.macosx.orig b/src/configure.macosx.orig
deleted file mode 100755
index e391b24..0000000
--- a/src/configure.macosx.orig
+++ /dev/null
@@ -1,78 +0,0 @@
-#!/bin/sh
-
-echo "***********************************"
-echo "***** Preparing Makefiles *********"
-echo "******** for Mac OS X *************"
-echo "***********************************"
-
-cp Makefile.MacOSX Makefile
-cp fuv/Makefile.MacOSX fuv/Makefile
-# cp fes/Makefile.MacOSX fes/Makefile
-cp analysis/Makefile.MacOSX analysis/Makefile
-cp libcf/Makefile.MacOSX libcf/Makefile
-cp cal/jitter/Makefile.MacOSX cal/jitter/Makefile
-cp slalib/mk.sv slalib/mk
-
-echo "***********************************"
-echo "***** Configuring cfitsio *********"
-echo "***********************************"
-
-
-cd cfitsio
-./configure
-cd ..
-
-echo "***********************************"
-echo "***** Done configuring cfitsio ****"
-echo "***********************************"
-echo
-
-FC=""
-for ac_prog in gfortran g77
-do
-# Extract the first word of "$ac_prog", so it can be a program name with args.
- set dummy $ac_prog; ac_word=$2
- echo "checking for $ac_word..."
- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
- ac_dummy="$PATH"
- for ac_dir in $ac_dummy; do
- test -z "$ac_dir" && ac_dir=.
- if test -f $ac_dir/$ac_word; then
- FC="$ac_prog"
- break
- fi
- done
- IFS="$ac_save_ifs"
- if test -n "$FC"; then
- echo " yes"
- else
- echo " no"
- fi
- test -n "$FC" && break
-done
-test -n "$FC" || FC="nope"
-
-if test $FC = 'nope' ; then
- echo "Warning: No acceptable fortran compiler was found. Please install one from the GNU compilers."
- echo "Read INSTALLING_CalFUSEv3.2.1 for details."
-else
- if test $FC = 'g77' ; then
- for mk in Makefile fuv/Makefile analysis/Makefile libcf/Makefile cal/jitter/Makefile
- do
- mv $mk ${mk}.sv
- sed -e "s/-lgfortran/-lg2c/g" ${mk}.sv > $mk
- done
- sed -e "s/gfortran/g77/g" slalib/mk.sv > slalib/mk
- fi
- if ! test -d /sw/lib ; then
- libfort=""
- test -d /usr/local/lib && libfort="-L\/usr\/local\/lib\/ "
- for mk in Makefile fuv/Makefile analysis/Makefile libcf/Makefile cal/jitter/Makefile
- do
- mv $mk ${mk}.sv2
- sed -e "s/-L\/sw\/lib\/ /${libfort}/g" ${mk}.sv2 > ${mk}
- done
- fi
- echo
- echo "Type 'make clean' then 'make -e install'"
-fi
diff --git a/src/configure.solaris.orig b/src/configure.solaris.orig
deleted file mode 100755
index 5818ee9..0000000
--- a/src/configure.solaris.orig
+++ /dev/null
@@ -1,98 +0,0 @@
-#!/bin/sh
-
-echo "***********************************"
-echo "***** Preparing Makefiles *********"
-echo "******** for Solaris **************"
-echo "***********************************"
-
-cp Makefile.Solaris Makefile
-cp fuv/Makefile.Solaris fuv/Makefile
-cp fes/Makefile.Solaris fes/Makefile
-cp analysis/Makefile.Solaris analysis/Makefile
-cp libcf/Makefile.Solaris libcf/Makefile
-cp cal/jitter/Makefile.Solaris cal/jitter/Makefile
-cp slalib/mk.sv slalib/mk
-
-echo "***********************************"
-echo "***** Configuring cfitsio *********"
-echo "***********************************"
-
-cd cfitsio
-./configure
-cd ..
-
-echo "***********************************"
-echo "***** Done configuring cfitsio ****"
-echo "***********************************"
-
-FC=""
-for ac_prog in f77 g77 gfortran f90
-do
-# Extract the first word of "$ac_prog", so it can be a program name with args.
- set dummy $ac_prog; ac_word=$2
- echo "checking for $ac_word..."
- IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
- ac_dummy="$PATH"
- for ac_dir in $ac_dummy; do
- test -z "$ac_dir" && ac_dir=.
- if test -f $ac_dir/$ac_word; then
- FC="$ac_prog"
- break
- fi
- done
- IFS="$ac_save_ifs"
- if test -n "$FC"; then
- echo " yes"
- else
- echo " no"
- fi
- test -n "$FC" && break
-done
-test -n "$FC" || FC="nope"
-
-if test $FC = 'nope' ; then
- echo "Warning: No acceptable fortran 77 compiler was found."
- echo "Please install one either from the GNU compilers GCC, either from Sun Studio."
- echo "Read INSTALLING_CalFUSEv3.2.1 for details."
-else
- FFLAGS="-fno-second-underscore -O -fPIC"
- if test $FC = 'f90' ; then
- for mk in Makefile analysis/Makefile cal/jitter/Makefile fes/Makefile
- do
- mv $mk ${mk}.sv
- sed -e "s/-lM77 -lF77/-lfui -lfsu/g" ${mk}.sv > $mk
- done
- FFLAGS="-f77 -ftrap=%none -O -PIC"
- fi
- if test $FC = 'gfortran' ; then
- for mk in Makefile analysis/Makefile cal/jitter/Makefile fes/Makefile
- do
- mv $mk ${mk}.sv
- sed -e "s/-lM77 -lF77/-lgfortran/g" ${mk}.sv > $mk
- done
- fi
- if test $FC = 'g77' ; then
- for mk in Makefile analysis/Makefile cal/jitter/Makefile fes/Makefile
- do
- mv $mk ${mk}.sv
- sed -e "s/-lM77 -lF77/-lg2c/g" ${mk}.sv > $mk
- done
- fi
- if test $FC = 'f77' ; then
- if f77 2> /dev/null | grep -c f90 ; then
- for mk in Makefile analysis/Makefile cal/jitter/Makefile fes/Makefile
- do
- mv $mk ${mk}.sv
- sed -e "s/-lM77 -lF77/-lfui -lfsu/g" ${mk}.sv > $mk
- done
- fi
- else
- sed -e "s/f77/${FC}/g" slalib/mk.sv > slalib/mk.sv2
- sed -e "s/FFLAGS='-O -PIC'/FFLAGS='${FFLAGS}'/g" slalib/mk.sv2 > slalib/mk
- rm -f slalib/mk.sv2
- fi
- echo
- echo "Type 'make clean' then 'make -e install'"
-fi
-
-