X-Git-Url: https://cads.iiap.res.in/gitview/?p=fits2jpeg.git;a=blobdiff_plain;f=configure.ac;h=303f90a6c336ffabc211d8c014225dc6d8c8ded3;hp=1c311e0cde3f0ebf39b7fcfa7790696ed2c19a8c;hb=HEAD;hpb=918351fd101a778b92288afa9fc13e15bd5a4f86 diff --git a/configure.ac b/configure.ac index 1c311e0..303f90a 100644 --- a/configure.ac +++ b/configure.ac @@ -1,32 +1,29 @@ -AC_PREREQ([2.68]) -AC_INIT([CADS_fits2jpeg], [1.0], [cads@iiap.res.in]) +AC_INIT([CADS_fits2jpeg], [2.1], [cads@iiap.res.in]) +AC_LANG_C +AM_INIT_AUTOMAKE([-Wall -Werror]) AC_CONFIG_SRCDIR([config.h.in]) AC_CONFIG_HEADERS([config.h]) -AM_INIT_AUTOMAKE(CADS_fits2jpeg, 1.0) # Checks for programs. -AC_PROG_CXX AC_PROG_CC -AC_PROG_CPP AC_PROG_INSTALL AC_PROG_LN_S AC_PROG_MAKE_SET -AC_PROG_RANLIB # Checks for libraries. # Checks for header files. -AC_CHECK_HEADERS([stdlib.h string.h]) +#AC_CHECK_HEADERS([string.h math.h float.h ctype.h libgen.h dirent.h]) +#AC_CHECK_HEADERS([sys/stat.h sys/types.h]) # Checks for typedefs, structures, and compiler characteristics. + # Checks for library functions. AC_FUNC_MALLOC -LIBS="$LIBS -lm -Wall -pedantic" - 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 # #---------------------------------------------------------------------#