fix --without-cfitsio
oops, was broken, thanks Mike
This commit is contained in:
parent
b748961743
commit
f000d93042
@ -1,5 +1,6 @@
|
||||
10/8/11 started 7.26.2
|
||||
- oops, im_benchmark.c had some stuff turned off
|
||||
- configure option --without-cfitsio was broken (thanks Mike)
|
||||
|
||||
26/7/11 started 7.26.1
|
||||
- doc fixups
|
||||
|
@ -56,10 +56,24 @@
|
||||
#endif /*HAVE_CONFIG_H*/
|
||||
#include <vips/intl.h>
|
||||
|
||||
#ifdef HAVE_CFITSIO
|
||||
#ifndef HAVE_CFITSIO
|
||||
|
||||
#include <vips/vips.h>
|
||||
|
||||
/* We call this from format_dispatch.c so we need a stub.
|
||||
*/
|
||||
int
|
||||
im_fits2vips( const char *filename, VipsImage *out )
|
||||
{
|
||||
im_error( "im_fits2vips", "%s",
|
||||
_( "FITS support disabled" ) );
|
||||
|
||||
return( -1 );
|
||||
}
|
||||
|
||||
#else /*HAVE_CFITSIO*/
|
||||
|
||||
#include <stdio.h>
|
||||
#include <assert.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user