Commit 8c0b0283e2cf3b79e24ba1550559ca786f7ee565
1 parent
ba8b32a2
add OpenSuSe special cfitsio directory
Showing
1 changed file
with
3 additions
and
1 deletions
configure.ac
| @@ -313,7 +313,9 @@ if test "x$with_cfitsio" = "xyes"; then | @@ -313,7 +313,9 @@ if test "x$with_cfitsio" = "xyes"; then | ||
| 313 | esac | 313 | esac |
| 314 | 314 | ||
| 315 | # Check for cfitsio library and headers | 315 | # Check for cfitsio library and headers |
| 316 | - AC_FIND_LIB_HEADER([cfitsio], [ffpss], [fitsio.h cfitsio/fitsio.h], | 316 | + # cfitsio/fitsio.h is for Scientific Linux |
| 317 | + # libcfitsio0/fitsio.h is for OpenSuse | ||
| 318 | + AC_FIND_LIB_HEADER([cfitsio], [ffpss], [fitsio.h cfitsio/fitsio.h libcfitsio0/fitsio.h], | ||
| 317 | [has_cfitsio="yes"], [], [${cfitsio_deps}]) | 319 | [has_cfitsio="yes"], [], [${cfitsio_deps}]) |
| 318 | 320 | ||
| 319 | # Add cfitsio dependencies | 321 | # Add cfitsio dependencies |