index 73bdc9d..75a03dd 100644 (file)
   Reks, 22 June 2012
   1. Rebranded to cads software group
  *--------------------------------------------------------------------------*/
+
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <math.h>
 #include <string.h>
 
-/*Maximum number of elements in a text line*/
+/* Maximum number of elements in a text line                     */
 #define MAX_TEXT 150
 
-/*Define the parameters for reading the zodiacal file*/
+/* Define the parameters for reading the zodiacal file           */
 #define ZOD_XSIZE 19                            /*Number of rows */
 #define ZOD_YSIZE 10                        /* Number of Columns */
 #define ZOD_SPEC 25763                     /* Number of elements */
 #define DEFAULT_ZOD_FILE "leinert_dist.txt"   /* Leinert's model */
 #define DEFAULT_SPEC_FILE "zodiacal_spec.txt"  /* Solar Spectrum */
 #define DEFAULT_OUT_FILE "zodiacal_output.txt"    /* Output file */
+
+/* path to input data files, if we were GNU-built by autotools   */
+#ifndef CADSDATA
+#define CADSDATA ' '
+#endif
+
 /* this is something else */
 #define INITVAL -400