index a8581db..9ccb9d4 100644 (file)
@@ -1,30 +1,25 @@
-AC_PREREQ([2.68])
 AC_INIT([CADS_zodiacal_model], [1.0], [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_zodiacal_model, 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([stdio.h stdlib.h string.h math.h])
 
 # Checks for typedefs, structures, and compiler characteristics.
 
 # Checks for library functions.
 AC_FUNC_MALLOC
 
-LIBS="$LIBS -lm -Wall -pedantic"
-
 #---------------------------------------------------------------------#
 #           Now we check for libnova headers and library              #
 #---------------------------------------------------------------------#