[351] | 1 | # -*- Autoconf -*- |
---|
[107] | 2 | # Process this file with autoconf to produce a configure script. |
---|
| 3 | |
---|
| 4 | AC_PREREQ(2.57) |
---|
[576] | 5 | AC_INIT([Duchamp], [1.2-beta], [Matthew.Whiting@csiro.au]) |
---|
[168] | 6 | AC_CONFIG_SRCDIR([src/duchamp.hh]) |
---|
[110] | 7 | AC_CONFIG_HEADER([src/config.h]) |
---|
[343] | 8 | AC_PREFIX_DEFAULT(/usr/local) |
---|
[107] | 9 | |
---|
| 10 | # Checks for programs. |
---|
| 11 | AC_PROG_CXX |
---|
| 12 | AC_PROG_CC |
---|
| 13 | AC_PROG_CPP |
---|
[351] | 14 | AC_PROG_F77 |
---|
[338] | 15 | AC_PROG_LN_S |
---|
| 16 | AC_CHECK_PROGS(INSTALL, install) |
---|
[107] | 17 | |
---|
[343] | 18 | # Check for maths library -- will add -lm to $LIBS |
---|
[107] | 19 | AC_CHECK_LIB([m], [log]) |
---|
| 20 | |
---|
| 21 | # Checks for header files. |
---|
| 22 | AC_HEADER_STDC |
---|
[215] | 23 | AC_CHECK_HEADERS([unistd.h time.h math.h iostream fstream sstream iomanip vector string algorithm functional]) |
---|
[168] | 24 | if test "x$ac_cv_header_stdc" = xno; then |
---|
| 25 | AC_MSG_ERROR([ |
---|
| 26 | ------------------------------------------------------------------- |
---|
| 27 | An ANSI standard C library is required to build Duchamp. |
---|
| 28 | One of the ANSI C header files it requires is missing or unusable. |
---|
[107] | 29 | |
---|
[168] | 30 | ERROR: Duchamp configuration failure. |
---|
| 31 | -------------------------------------------------------------------], [1]) |
---|
| 32 | fi |
---|
| 33 | |
---|
[107] | 34 | # Checks for typedefs, structures, and compiler characteristics. |
---|
| 35 | AC_HEADER_STDBOOL |
---|
| 36 | AC_C_CONST |
---|
| 37 | AC_C_INLINE |
---|
| 38 | |
---|
[168] | 39 | # Utilities. |
---|
| 40 | AC_PROG_RANLIB |
---|
| 41 | |
---|
[107] | 42 | # Checks for library functions. |
---|
| 43 | AC_FUNC_STRTOD |
---|
| 44 | AC_CHECK_FUNCS([floor pow sqrt strtol log atan fabs]) |
---|
| 45 | |
---|
| 46 | # Extra places to look for third-party include files and libraries. |
---|
| 47 | INCDIRS="$INCDIRS \ |
---|
| 48 | /usr/include \ |
---|
| 49 | /usr/local/include \ |
---|
| 50 | /usr/local/pgplot \ |
---|
| 51 | /usr/local/cfitsio \ |
---|
| 52 | /usr/local/wcslib \ |
---|
| 53 | /local/pgplot \ |
---|
[110] | 54 | /local/cfitsio \ |
---|
| 55 | /opt/local/include" |
---|
[107] | 56 | |
---|
| 57 | LIBDIRS="$LIBDIRS \ |
---|
| 58 | /usr/lib \ |
---|
| 59 | /usr/local/lib \ |
---|
| 60 | /usr/local/pgplot \ |
---|
| 61 | /usr/local/cfitsio \ |
---|
| 62 | /usr/local/wcslib \ |
---|
| 63 | /local/lib \ |
---|
| 64 | /local/pgplot \ |
---|
| 65 | /local/cfitsio \ |
---|
[110] | 66 | /opt/SUNWspro/lib \ |
---|
| 67 | /opt/local/lib" |
---|
[107] | 68 | |
---|
| 69 | AC_MSG_NOTICE(LIBDIRS) |
---|
| 70 | |
---|
| 71 | for LIBDIR in $LIBDIRS ; do |
---|
| 72 | AC_CHECK_FILE([$LIBDIR], [LDFLAGS="$LDFLAGS -L$LIBDIR"], [continue]) |
---|
| 73 | done |
---|
| 74 | |
---|
| 75 | ########################################################################## |
---|
| 76 | # Search for PGPLOT |
---|
[338] | 77 | # use --with-cfitsio=directory to specify a particular PGPLOT directory. |
---|
| 78 | # or --without-pgplot or --with-pgplot=no to do without it |
---|
| 79 | # else do the normal searching for libraries. |
---|
[107] | 80 | |
---|
[338] | 81 | AC_MSG_NOTICE([ -- PGPLOT -- ]) |
---|
| 82 | AC_ARG_WITH(pgplot, |
---|
| 83 | [ |
---|
| 84 | AC_HELP_STRING([--with-pgplot=no], |
---|
| 85 | [Compile without PGPLOT graphics capabilities.]) |
---|
| 86 | AC_HELP_STRING([--without-pgplot], |
---|
| 87 | [Compile without PGPLOT graphics capabilities.]) |
---|
| 88 | AC_HELP_STRING([--with-pgplot=<dir>], |
---|
| 89 | [Compile with PGPLOT graphics capabilities, using the directory <dir> to specify the PGPLOT library.]), |
---|
| 90 | ], |
---|
| 91 | [ |
---|
| 92 | if test "x$withval" != xno; then |
---|
| 93 | AC_MSG_NOTICE([Using directory "$withval"]) |
---|
| 94 | PGPLOTINCDIRS=$withval |
---|
| 95 | PGPLOTLIBDIRS=$withval |
---|
| 96 | LDFLAGS="$LDFLAGS -L$withval" |
---|
| 97 | fi |
---|
| 98 | ], |
---|
| 99 | [ |
---|
| 100 | PGPLOTINCDIRS=$INCDIRS |
---|
| 101 | PGPLOTLIBDIRS=$LIBDIRS |
---|
| 102 | ]) |
---|
[107] | 103 | |
---|
[342] | 104 | if test "x$PGPLOTLIBDIRS" = x; then |
---|
[338] | 105 | #the argument to --with-pgplot was no, so we don't look for it. |
---|
| 106 | AC_MSG_NOTICE([Not enabling PGPLOT use.]) |
---|
[384] | 107 | #This is the command to do the linking stage of the compilation |
---|
| 108 | #If no pgplot, we can just link with g++ (or equivalent) |
---|
| 109 | LINKER=$CXX |
---|
| 110 | # AC_CHECK_LIB([stdc++], [main], [PGPLOTLIB="-lstdc++"]) |
---|
| 111 | # if test "x$F77" = xgfortran; then |
---|
| 112 | # PGPLOTLIB="$PGPLOTLIB -bind_at_load" |
---|
| 113 | # fi |
---|
[338] | 114 | else |
---|
[107] | 115 | |
---|
[343] | 116 | #Set up the PGPLOT-related libraries and includes. |
---|
| 117 | |
---|
[338] | 118 | for INCDIR in $PGPLOTINCDIRS ; do |
---|
| 119 | AC_CHECK_FILE([$INCDIR/cpgplot.h], [PGPLOTINC=-I$INCDIR; break]) |
---|
| 120 | INCDIR=$INCDIR/pgplot |
---|
| 121 | AC_CHECK_FILE([$INCDIR/cpgplot.h], [PGPLOTINC=-I$INCDIR; break]) |
---|
| 122 | done |
---|
| 123 | |
---|
| 124 | # PGPLOT compiled with a SUN compiler but linked with something else. |
---|
[351] | 125 | AC_CHECK_LIB([sunmath], [cosd], [EXTRAPGLIB="-lsunmath $EXTRAPGLIB"], |
---|
| 126 | [], [$EXTRAPGLIB $LIBS]) |
---|
| 127 | AC_CHECK_LIB([M77], [iand_], [EXTRAPGLIB="-lM77 $EXTRAPGLIB"], |
---|
| 128 | [], [$EXTRAPGLIB $LIBS]) |
---|
| 129 | AC_CHECK_LIB([F77], [f77_init], [EXTRAPGLIB="-lF77 $EXTRAPGLIB"], |
---|
| 130 | [], [$EXTRAPGLIB $LIBS]) |
---|
[338] | 131 | |
---|
| 132 | # Search for X11 includes and libraries. |
---|
[501] | 133 | AC_PATH_XTRA |
---|
| 134 | # returns C compiler flags needed for X to X_CFLAGS and the X linker flags to X_LIBS |
---|
| 135 | if test "x$X_LIBS" != x; then |
---|
| 136 | LDFLAGS="$LDFLAGS $X_LIBS" |
---|
| 137 | EXTRAPGLIB="$X_LIBS -lX11 $EXTRAPGLIB" |
---|
[338] | 138 | fi |
---|
[351] | 139 | |
---|
| 140 | # # Add pgplot libraries, if they exist to the lib path |
---|
| 141 | # for LIBDIR in $PGPLOTLIBDIRS ; do |
---|
| 142 | # AC_CHECK_FILE([$LIBDIR/libcpgplot.a], [PGPLOTLIB="-L$LIBDIR $PGPLOTLIB"; break]) |
---|
| 143 | # done |
---|
[338] | 144 | |
---|
| 145 | # It is possible that other libraries may be required depending on what |
---|
| 146 | # graphics drivers were installed with PGPLOT. |
---|
[351] | 147 | AC_CHECK_LIB([z], [deflate], [EXTRAPGLIB="$EXTRAPGLIB -lz"], |
---|
| 148 | [], [$EXTRAPGLIB $LIBS]) |
---|
| 149 | AC_CHECK_LIB([png], [png_error], [EXTRAPGLIB="$EXTRAPGLIB -lpng"], |
---|
| 150 | [], [$EXTRAPGLIB $LIBS]) |
---|
[343] | 151 | |
---|
[351] | 152 | AC_LANG(Fortran 77) |
---|
| 153 | AC_CHECK_LIB([pgplot], [pgopen], [PGPLOTLIB="-lpgplot"], |
---|
[352] | 154 | [], [$PGPLOTLIB $EXTRAPGLIB]) |
---|
[351] | 155 | AC_LANG(C) |
---|
[352] | 156 | # Checks for extra libraries needed by PGPLOT -- will add -lg2c -lstdc++ to $LIBS |
---|
| 157 | AC_CHECK_LIB([g2c], [gerror_]) |
---|
| 158 | AC_CHECK_LIB([stdc++], [main]) |
---|
[351] | 159 | if test "x$F77" = xgfortran; then |
---|
| 160 | PGPLOTLIB="-lcpgplot $PGPLOTLIB" |
---|
| 161 | AC_MSG_NOTICE([ Using gfortran, so manually adding -lcpgplot to PGPLOTLIB string.]) |
---|
| 162 | else |
---|
| 163 | AC_CHECK_LIB([cpgplot], [cpgopen], [PGPLOTLIB="-lcpgplot $PGPLOTLIB"], |
---|
| 164 | [], [$PGPLOTLIB $LIBS $EXTRAPGLIB]) |
---|
| 165 | fi |
---|
[338] | 166 | |
---|
| 167 | # If PGPLOT is not present, we give a warning message but still continue. |
---|
| 168 | # The compilation is able to work without the PGPLOT-dependent files. |
---|
| 169 | if test "x$PGPLOTLIB" = x; then |
---|
| 170 | AC_MSG_NOTICE([ |
---|
| 171 | ------------------------------------------------------- |
---|
| 172 | WARNING! PGPLOT could not be found. |
---|
| 173 | Compiling Duchamp without graphics capabilities. |
---|
| 174 | -------------------------------------------------------]) |
---|
[384] | 175 | #We have no pgplot, so we just link with g++ (or equivalent) |
---|
| 176 | LINKER=$CXX |
---|
[338] | 177 | else |
---|
[384] | 178 | #We are using pgplot, so link with the fortran compiler. |
---|
| 179 | LINKER=$F77 |
---|
[351] | 180 | PGPLOTLIB="$PGPLOTLIB $EXTRAPGLIB $LIBS" |
---|
[338] | 181 | AC_MSG_NOTICE([PGPLOT appears to be available.]) |
---|
| 182 | AC_DEFINE([HAVE_PGPLOT], [1], [Define to 1 if PGPLOT is available.]) |
---|
| 183 | for LIBDIR in $PGPLOTLIBDIRS ; do |
---|
[351] | 184 | AC_CHECK_FILE([$LIBDIR/libcpgplot.a], [PGPLOTLIB="-L$LIBDIR $PGPLOTLIB"; break]) |
---|
[338] | 185 | done |
---|
[351] | 186 | if test "x$F77" = xgfortran; then |
---|
| 187 | PGPLOTLIB="$PGPLOTLIB -bind_at_load" |
---|
| 188 | fi |
---|
[338] | 189 | fi |
---|
[107] | 190 | |
---|
| 191 | fi |
---|
| 192 | |
---|
[384] | 193 | AC_SUBST([LINKER]) |
---|
[107] | 194 | AC_SUBST([PGPLOTINC]) |
---|
| 195 | AC_SUBST([PGPLOTLIB]) |
---|
| 196 | ########################################################################## |
---|
| 197 | |
---|
| 198 | ########################################################################## |
---|
| 199 | # Search for CFITSIO. |
---|
[338] | 200 | # use --with-cfitsio=directory to specify a particular CFITSIO directory. |
---|
| 201 | # else do the normal searching for libraries. |
---|
| 202 | |
---|
| 203 | AC_MSG_NOTICE([ -- CFITSIO -- ]) |
---|
| 204 | AC_ARG_WITH(cfitsio, |
---|
| 205 | AC_HELP_STRING([--with-cfitsio=<dir>], |
---|
| 206 | [The CFITSIO library and include files are in directory <dir>.]), |
---|
| 207 | [ #if we specify a directory... |
---|
| 208 | if test "x$withval" = xno; then |
---|
| 209 | AC_MSG_NOTICE([ |
---|
| 210 | The CFITSIO library is required. |
---|
| 211 | Ignoring the "--with-cfitsio=no" and searching for the library.], [1]) |
---|
| 212 | CFITSIOINCDIRS=$INCDIRS |
---|
| 213 | CFITSIOLIBDIRS=$LIBDIRS |
---|
| 214 | else |
---|
| 215 | AC_MSG_NOTICE([Using directory "$withval"]) |
---|
[342] | 216 | CFITSIOINCDIRS="$withval \ |
---|
| 217 | $withval/include" |
---|
| 218 | CFITSIOLIBDIRS="$withval \ |
---|
| 219 | $withval/lib" |
---|
[351] | 220 | for LIBDIR in $CFITSIOLIBDIRS ; do |
---|
| 221 | AC_CHECK_FILE([$LIBDIR], [LDFLAGS="$LDFLAGS -L$LIBDIR"], [continue]) |
---|
| 222 | done |
---|
| 223 | for INCDIR in $CFITSIOINCDIRS ; do |
---|
| 224 | AC_CHECK_FILE([$INCDIR], [CPPFLAGS="$CPPFLAGS -I$INCDIR"], [continue]) |
---|
| 225 | done |
---|
[338] | 226 | fi |
---|
| 227 | ], |
---|
| 228 | [ # if directory not specified, go searching. |
---|
| 229 | CFITSIOINCDIRS=$INCDIRS |
---|
| 230 | CFITSIOLIBDIRS=$LIBDIRS |
---|
| 231 | ]) |
---|
| 232 | |
---|
| 233 | for INCDIR in $CFITSIOINCDIRS ; do |
---|
[107] | 234 | AC_CHECK_FILE([$INCDIR/fitsio.h], [CFITSIOINC=-I$INCDIR; break]) |
---|
| 235 | INCDIR=$INCDIR/cfitsio |
---|
| 236 | AC_CHECK_FILE([$INCDIR/fitsio.h], [CFITSIOINC=-I$INCDIR; break]) |
---|
| 237 | done |
---|
| 238 | |
---|
[351] | 239 | AC_CHECK_LIB([socket], [recv], [CFITSIOLIB="$CFITSIOLIB -lsocket"], [], [$LIBS]) |
---|
| 240 | AC_CHECK_LIB([cfitsio], [ffopen], [CFITSIOLIB="$CFITSIOLIB -lcfitsio"], [], |
---|
[107] | 241 | [$CFITSIOLIB $LIBS]) |
---|
| 242 | |
---|
[320] | 243 | # CFITSIO is essential for Duchamp, so exit with error message if it |
---|
| 244 | # is not present. |
---|
[107] | 245 | if test "x$CFITSIOINC" = x -o "x$CFITSIOLIB" = x; then |
---|
| 246 | AC_MSG_ERROR([ |
---|
| 247 | ------------------------------------------------------- |
---|
| 248 | Could not find the CFITSIO library. |
---|
| 249 | |
---|
| 250 | ERROR: Duchamp configuration failure. |
---|
| 251 | -------------------------------------------------------], [1]) |
---|
| 252 | else |
---|
| 253 | AC_MSG_NOTICE([CFITSIO appears to be available.]) |
---|
| 254 | AC_DEFINE([HAVE_CFITSIO], [1], [Define to 1 if CFITSIO is available.]) |
---|
[351] | 255 | for LIBDIR in $CFITSIOLIBDIRS ; do |
---|
| 256 | AC_CHECK_FILE([$LIBDIR/libcfitsio.a], [CFITSIOLIB="-L$LIBDIR $CFITSIOLIB"; break]) |
---|
| 257 | LIBDIR=$LIBDIR/cfitsio |
---|
| 258 | AC_CHECK_FILE([$LIBDIR/libcfitsio.a], [CFITSIOLIB="-L$LIBDIR $CFITSIOLIB"; break]) |
---|
| 259 | done |
---|
| 260 | |
---|
[107] | 261 | fi |
---|
| 262 | |
---|
| 263 | AC_SUBST([CFITSIOINC]) |
---|
| 264 | AC_SUBST([CFITSIOLIB]) |
---|
| 265 | ########################################################################## |
---|
| 266 | |
---|
| 267 | ########################################################################## |
---|
| 268 | # Search for WCSLIB. |
---|
[351] | 269 | # use --with-wcslib=directory to specify a particular WCSLIB directory. |
---|
[338] | 270 | # else do the normal searching for libraries. |
---|
| 271 | |
---|
| 272 | AC_MSG_NOTICE([ -- WCSLIB -- ]) |
---|
[402] | 273 | WCSINCDIR="" |
---|
[338] | 274 | AC_ARG_WITH(wcslib, |
---|
| 275 | AC_HELP_STRING([--with-wcslib=<dir>], |
---|
| 276 | [The WCSLIB library and include files are in directory <dir>.]), |
---|
| 277 | [ #if we specify a directory... |
---|
| 278 | if test "x$withval" = xno; then |
---|
| 279 | AC_MSG_NOTICE([ |
---|
| 280 | The WCSLIB library is required. |
---|
| 281 | Ignoring the "--with-wcslib=no" and searching for the library.], [1]) |
---|
[351] | 282 | WCSINCDIRS=$INCDIRS |
---|
| 283 | WCSLIBDIRS=$LIBDIRS |
---|
[338] | 284 | else |
---|
| 285 | AC_MSG_NOTICE([Using directory "$withval"]) |
---|
| 286 | WCSINCDIRS="$withval \ |
---|
| 287 | $withval/include" |
---|
| 288 | WCSLIBDIRS="$withval \ |
---|
| 289 | $withval/lib" |
---|
[351] | 290 | for LIBDIR in $WCSLIBDIRS ; do |
---|
| 291 | AC_CHECK_FILE([$LIBDIR], [LDFLAGS="$LDFLAGS -L$LIBDIR"], [continue]) |
---|
| 292 | done |
---|
| 293 | for INCDIR in $WCSINCDIRS ; do |
---|
[402] | 294 | AC_CHECK_FILE([$INCDIR/wcslib], |
---|
| 295 | [CPPFLAGS="$CPPFLAGS -I$INCDIR"; WCSINCDIR=$INCDIR; break], |
---|
| 296 | [continue]) |
---|
[351] | 297 | done |
---|
[338] | 298 | fi |
---|
| 299 | ], |
---|
| 300 | [ # if directory not specified, go searching. |
---|
| 301 | WCSINCDIRS=$INCDIRS |
---|
| 302 | WCSLIBDIRS=$LIBDIRS |
---|
| 303 | ]) |
---|
| 304 | |
---|
[107] | 305 | |
---|
[402] | 306 | if test "x$WCSINCDIR" = x; then |
---|
| 307 | for INCBASE in $WCSINCDIRS ; do |
---|
[492] | 308 | AC_CHECK_FILE([$INCBASE/wcslib/wcs.h], [WCSINC="-I$INCBASE -I$INCBASE/wcslib $WCSINC"; break]) |
---|
[351] | 309 | done |
---|
[402] | 310 | else |
---|
[492] | 311 | AC_CHECK_FILE([$WCSINCDIR/wcslib/wcs.h], [WCSINC="-I$WCSINCDIR -I$WCSINCDIR/wcslib $WCSINC"]) |
---|
[402] | 312 | fi |
---|
[349] | 313 | |
---|
[402] | 314 | |
---|
[351] | 315 | # Look for libwcs.a, and libpgsbox.a |
---|
| 316 | AC_CHECK_LIB([wcs], [wcss2p], [WCSLIB="$WCSLIB -lwcs"], [], |
---|
[267] | 317 | [$WCSLIB $LIBS $CFITSIOLIB $PGPLOTLIB]) |
---|
[351] | 318 | if test "x$F77" = xgfortran; then |
---|
| 319 | WCSLIB="$WCSLIB -lpgsbox" |
---|
| 320 | AC_MSG_NOTICE([ Using gfortran, so manually adding -lpgsbox to WCSLIB string.]) |
---|
| 321 | else |
---|
| 322 | AC_CHECK_LIB([pgsbox], [cpgsbox], [WCSLIB="$WCSLIB -lpgsbox"], [], |
---|
| 323 | [$WCSLIB $LIBS $CFITSIOLIB $PGPLOTLIB]) |
---|
| 324 | fi |
---|
[107] | 325 | |
---|
[320] | 326 | # WCSLIB is essential for Duchamp, so exit with error message if it |
---|
| 327 | # is not present. Need at least libwcs to be available -- libpgsbox will |
---|
| 328 | # depend on PGPLOT being available, but is not critical. |
---|
[107] | 329 | if test "x$WCSINC" = x -o "x$WCSLIB" = x; then |
---|
| 330 | AC_MSG_ERROR([ |
---|
| 331 | ------------------------------------------------------- |
---|
| 332 | Could not find the WCSLIB library. |
---|
| 333 | |
---|
| 334 | ERROR: Duchamp configuration failure. |
---|
| 335 | -------------------------------------------------------], [1]) |
---|
| 336 | else |
---|
| 337 | AC_MSG_NOTICE([WCSLIB appears to be available.]) |
---|
| 338 | AC_DEFINE([HAVE_WCSLIB], [1], [Define to 1 if WCSLIB is available.]) |
---|
[351] | 339 | # Now add the -L statements to start of WCSLIB. |
---|
| 340 | # Search for libwcs.a, and, if we find it, search for libpgsbox in same directory and |
---|
| 341 | # then in other directories, keeping the appropriate order of -L calls. |
---|
| 342 | |
---|
[402] | 343 | DIRLIST=". \ |
---|
| 344 | wcs \ |
---|
| 345 | wcslib" |
---|
| 346 | |
---|
[351] | 347 | for LIBBASE in $WCSLIBDIRS ; do |
---|
| 348 | for DIR in $DIRLIST; do |
---|
| 349 | if test "x$DIR" = x.; then |
---|
| 350 | LIBDIR=$LIBBASE |
---|
| 351 | else |
---|
| 352 | LIBDIR="$LIBBASE/$DIR" |
---|
| 353 | fi |
---|
| 354 | AC_CHECK_FILE([$LIBDIR/libwcs.a], |
---|
| 355 | [WCSLIBFRONT="-L$LIBDIR"; |
---|
| 356 | AC_CHECK_FILE([$LIBDIR/libpgsbox.a], [], [ |
---|
| 357 | for LIBBASE2 in $WCSLIBDIRS ; do |
---|
| 358 | for DIR2 in $DIRLIST; do |
---|
| 359 | if test "x$DIR" = x.; then |
---|
| 360 | LIBDIR=$LIBBASE |
---|
| 361 | else |
---|
| 362 | LIBDIR="$LIBBASE/$DIR" |
---|
| 363 | fi |
---|
| 364 | AC_CHECK_FILE([$LIBDIR2/libpgsbox.a], |
---|
| 365 | [WCSLIBFRONT="$WCSLIB -L$LIBDIR2"; break]) |
---|
| 366 | done |
---|
| 367 | done]) |
---|
| 368 | break]) |
---|
| 369 | done |
---|
| 370 | done |
---|
| 371 | WCSLIB="$WCSLIBFRONT $WCSLIB" |
---|
[107] | 372 | fi |
---|
| 373 | |
---|
| 374 | AC_SUBST([WCSINC]) |
---|
| 375 | AC_SUBST([WCSLIB]) |
---|
| 376 | ########################################################################## |
---|
| 377 | |
---|
| 378 | AC_SUBST([LDFLAGS]) |
---|
| 379 | |
---|
| 380 | AC_CONFIG_FILES([Makefile]) |
---|
| 381 | AC_OUTPUT |
---|