X-Git-Url: https://cads.iiap.res.in/gitview/?p=fits2jpeg.git;a=blobdiff_plain;f=configure.ac;h=770550dc482a96f817abaec39bbc57955a537104;hp=dd6b85e78527d89257e0094fe215d158605d49a7;hb=c217f20a424f31d11946263980a8f14ca7a79a0e;hpb=60d065b23a2bdd48da5b8ef3ce591b7b0313c979 diff --git a/configure.ac b/configure.ac index dd6b85e..770550d 100644 --- a/configure.ac +++ b/configure.ac @@ -13,15 +13,16 @@ AC_PROG_MAKE_SET # Checks for libraries. # Checks for header files. -AC_CHECK_HEADERS([stdio.h stdlib.h string.h math.h float.h ctype.h libgen.h dirent.h]) +AC_CHECK_HEADERS([string.h math.h float.h ctype.h libgen.h dirent.h]) # Checks for typedefs, structures, and compiler characteristics. + # Checks for library functions. AC_FUNC_MALLOC LIBS="$LIBS -L/usr/lib64 -L/usr/lib -lm -ljpeg -lcfitsio" -CFLAGS="-ansi $CFLAGS -I/usr/include -I/usr/include/cfitsio" +CFLAGS="-ansi -Wall $CFLAGS -I/usr/include -I/usr/include/cfitsio" #---------------------------------------------------------------------# # Now we check for cfitsio headers and library # #---------------------------------------------------------------------#