? pslib-0.7.0-cfitsio_cflags.patch
RCS file: /usr/local/cvs/repositories/pan-starrs/datasys/IPP/psLib/configure.ac,v
retrieving revision 1.44
diff -u -r1.44 configure.ac
|
|
|
|
| 153 | 153 | [CFITSIO_LDFLAGS="-L$withval"]) |
| 154 | 154 | PSLIB_CFLAGS="${PSLIB_CFLAGS=} ${CFITSIO_CFLAGS}" |
| 155 | 155 | PSLIB_LIBS="${PSLIB_LIBS=} $CFITSIO_LDFLAGS -lcfitsio" |
| | 156 | TMP_CFLAGS=${CFLAGS} |
| | 157 | CFLAGS=${CFITSIO_CFLAGS} |
| 156 | 158 | AC_CHECK_HEADERS([fitsio.h],[], |
| 157 | 159 | [AC_MSG_ERROR([CFITSIO is required. Obtain it at http://heasarc.gsfc.nasa.gov/docs/software/fitsio or use --with-cfitsio to specify location.])]) |
| | 160 | CFLAGS=${TMP_CFLAGS} |
| 158 | 161 | |
| 159 | 162 | AC_SUBST([CFITSIO_CFLAGS]) |
| 160 | 163 | |
| … |
… |
|
| 171 | 174 | [FFTW3_LDFLAGS="-L$withval"]) |
| 172 | 175 | PSLIB_CFLAGS="${PSLIB_CFLAGS=} ${FFTW3_CFLAGS}" |
| 173 | 176 | PSLIB_LIBS="${PSLIB_LIBS=} $FFTW3_LDFLAGS -lfftw3f" |
| 174 | | AC_MSG_CHECKING([FFTW header files]) |
| | 177 | TMP_CFLAGS=${CFLAGS} |
| | 178 | CFLAGS=${FFTW3_CFLAGS} |
| 175 | 179 | AC_CHECK_HEADERS([fftw3.h],[], |
| 176 | 180 | [AC_MSG_ERROR([FFTW version 3 with float support is required. Obtain it at http://www.fftw.org/or use --with-fftw3 to specify location.])]) |
| | 181 | CFLAGS=${TMP_CFLAGS} |
| 177 | 182 | |
| 178 | 183 | AC_SUBST([FFTW3_CFLAGS]) |
| 179 | 184 | |