1#----------------------------------------------------------------------------- 2# Process this file with autoconf-2.53 or later to produce a configure script. 3#----------------------------------------------------------------------------- 4# Author: Mark Calabretta, Australia Telescope National Facility, CSIRO. 5# http://www.atnf.csiro.au/people/Mark.Calabretta 6# $Id: configure.ac,v 7.7 2021/07/12 06:36:49 mcalabre Exp $ 7#----------------------------------------------------------------------------- 8 9AC_INIT([WCSLIB], [7.7], [mark@calabretta.id.au], [wcslib-7.7]) 10AC_PREREQ([2.53]) 11AC_REVISION([$Revision: 7.7 $]) 12AC_SUBST([PACKAGE_VERSION]) 13AC_DEFINE_UNQUOTED([WCSLIB_VERSION], [$PACKAGE_VERSION], [Define wcslib version]) 14 15# Library version number, same as package version. 16LIBVER="$PACKAGE_VERSION" 17AC_SUBST([LIBVER]) 18 19AC_CONFIG_SRCDIR([C/wcs.h]) 20AC_CONFIG_AUX_DIR([config]) 21 22# Get the system type. 23AC_CANONICAL_HOST 24ARCH="${host_cpu}-$host_os" 25AC_SUBST([ARCH]) 26 27 28# Look for Flex. 29AC_ARG_ENABLE([flex], [AS_HELP_STRING([--disable-flex], 30 [don't apply flex (use pre-generated sources)])], []) 31if test "x$enable_flex" = xno ; then 32 FLEX= 33 AC_MSG_WARN([Generation of flex sources disabled by request, using 34 pre-generated sources.]) 35 36else 37 AC_CHECK_PROG([FLEX], [flex], [flex], [], [], []) 38 if test "x$FLEX" = xflex ; then 39 # Version 2.6.0 or later is required. 40 V=`flex --version | awk '{print $2}'` 41 W=`echo $V | awk -F. '{if ((($1*100 + $2)*100 + $3) < 20600) print "no"}'` 42 if test "x$W" != x ; then 43 AC_MSG_WARN([Flex version $V is too old, ignored.]) 44 FLEX= 45 else 46 AC_MSG_NOTICE([Using Flex version $V.]) 47 fi 48 fi 49 50 if test "x$FLEX" = x ; then 51 AC_MSG_WARN([Flex version 2.6.0 or later does not appear to be 52 available, will use pre-generated sources.]) 53 fi 54fi 55 56 57# Look for an ANSI C compiler. 58AC_PROG_CPP 59AC_PROG_CC 60AC_PROG_CC_STDC 61AC_C_CONST 62AC_TYPE_SIZE_T 63if test "x$ac_cv_prog_cc_stdc" = xno -o \ 64 "x$ac_cv_c_const" = xno -o \ 65 "x$ac_cv_type_size_t" = xno; then 66 AC_MSG_ERROR([ 67 ------------------------------------------------------- 68 An ANSI standard C library is required to build WCSLIB. 69 70 ERROR: WCSLIB configuration failure. 71 -------------------------------------------------------], [1]) 72fi 73 74# Check for data types (suggested by autoscan - off_t is only required by 75# fitshdr). 76AC_TYPE_OFF_T 77AC_TYPE_INT8_T 78AC_TYPE_INT16_T 79AC_TYPE_INT32_T 80AC_TYPE_UINT8_T 81AC_TYPE_UINT16_T 82AC_TYPE_UINT32_T 83 84# Check for ANSI C headers. 85AC_HEADER_STDC 86AC_CHECK_HEADERS([ctype.h errno.h limits.h locale.h math.h setjmp.h stdarg.h \ 87 stdio.h stdlib.h string.h]) 88if test "x$ac_cv_header_stdc" = xno; then 89 AC_MSG_ERROR([ 90 ------------------------------------------------------------------- 91 An ANSI standard C library is required to build WCSLIB. One of the 92 ANSI C header files it requires is missing or unusable. 93 94 ERROR: WCSLIB configuration failure. 95 -------------------------------------------------------------------], [1]) 96fi 97 98# Flex uses fileno() and other POSIX features whose prototypes are only 99# available from glibc's stdio.h with an appropriate preprocessor macro 100# definition. This cannot be set within the flex description file itself 101# as stdio.h is included in the generated C code before any part of the 102# description. See fileno(3) and feature_test_macros(7). 103if test "x$ac_cv_c_compiler_gnu" = xyes ; then 104 FLFLAGS="$FLFLAGS -D_POSIX_C_SOURCE=1" 105fi 106AC_SUBST([FLFLAGS]) 107 108# Checks for ANSI C library functions (suggested by autoscan - fseeko and 109# stat are only required by fitshdr). 110AC_CHECK_LIB([m], [floor]) 111AC_FUNC_FSEEKO 112AC_FUNC_MALLOC 113AC_FUNC_REALLOC 114AC_FUNC_SETVBUF_REVERSED 115AC_FUNC_STAT 116AC_FUNC_VPRINTF 117AC_CHECK_FUNCS([floor memset pow setlocale sqrt strchr strstr]) 118 119# System libraries that may be required by WCSLIB itself. 120# SunOS, extra maths functions. 121AC_CHECK_LIB([sunmath], [cosd], [LIBS="-lsunmath $LIBS"], [], []) 122 123# See if we can find sincos(). 124AC_CHECK_FUNCS([sincos]) 125 126# Check the size and availability of integer data types. 127AC_CHECK_SIZEOF([int]) 128AC_CHECK_SIZEOF([long int]) 129AC_CHECK_SIZEOF([long long int]) 130 131# 64-bit integer data type; use long long int preferentially since that 132# accords with "%lld" formatting used in fitshdr.l, e.g. 133# int size_t long int long long int 134# --- ------ -------- ------------- 135# gcc x86: 32 32 32 64 136# gcc x86_64: 32 64 64 64 137if test "x$ac_cv_sizeof_long_long_int" = x8; then 138 AC_DEFINE([WCSLIB_INT64], [long long int], [64-bit integer data type.]) 139elif test "x$ac_cv_sizeof_long_int" = x8; then 140 AC_DEFINE([WCSLIB_INT64], [long int], [64-bit integer data type.]) 141elif test "x$ac_cv_sizeof_int" = x8; then 142 AC_DEFINE([WCSLIB_INT64], [int], [64-bit integer data type.]) 143fi 144 145# Does printf() have the z modifier for size_t type? Important for 64-bit. 146AC_MSG_CHECKING([for printf z format modifier for size_t type]) 147AC_RUN_IFELSE( 148 [AC_LANG_PROGRAM([AC_INCLUDES_DEFAULT], 149 [[char buf[64]; 150 if (sprintf(buf, "%zu", (size_t)1) != 1) 151 return 1; 152 else if (strcmp(buf, "1")) 153 return 2;]])], 154 AC_DEFINE([MODZ], ["z"], [printf format modifier for size_t type.]) 155 AC_MSG_RESULT(yes), 156 AC_DEFINE([MODZ], [""], [printf format modifier for size_t type.]) 157 AC_MSG_RESULT(no), 158 AC_DEFINE([MODZ], [""], [printf format modifier for size_t type.]) 159 AC_MSG_RESULT(assumed not) 160) 161 162 163# Starting values, may be augmented later. 164SUBDIRS="C" 165TSTDIRS="C" 166INSTDIR="C" 167 168 169# Ways of specifying the Fortran compiler, in order of precedence: 170# configure --enable-fortran=<compiler> 171# F77=<compiler> configure ...bash 172# 173# Ways of disabling Fortran: 174# configure --disable-fortran 175# configure --enable-fortran=no 176# F77=no configure ...bash 177AC_ARG_ENABLE([fortran], [AS_HELP_STRING([--enable-fortran=ARG], 178 [Fortran compiler to use])], []) 179AC_ARG_ENABLE([fortran], [AS_HELP_STRING([--disable-fortran], 180 [don't build the Fortran wrappers or PGSBOX])], []) 181if test "x$enable_fortran" != x -a "x$enable_fortran" != xyes ; then 182 F77="$enable_fortran" 183fi 184 185if test "x$F77" = xno ; then 186 F77= 187 188 AC_MSG_WARN([Compilation of Fortran wrappers and PGSBOX disabled.]) 189 190else 191 if test "x$F77" = x ; then 192 # Look for a Fortran compiler. 193 AC_PROG_F77([gfortran g77 f77 ifort xlf frt pgf77 fl32 af77 fort77 f90 \ 194 xlf90 pgf90 epcf90 f95 fort xlf95 lf95 g95]) 195 fi 196 197 if test "x$F77" = x; then 198 AC_MSG_WARN([ 199 ------------------------------------------------------------------ 200 Fortran compiler not found, will skip Fortran wrappers and PGSBOX. 201 ------------------------------------------------------------------]) 202 203 # Best guess at Fortran name mangling for use if a compiler does ever 204 # become available. 205 AC_DEFINE([F77_FUNC(name,NAME)], [name ## _]) 206 207 else 208 if test "x$ac_cv_f77_compiler_gnu" = xyes ; then 209 if test "x$F77" = xg77 -o "x$F77" = xf77 ; then 210 # Not recognized by gfortran. 211 FFLAGS="$FFLAGS -Wno-globals" 212 fi 213 fi 214 215 AC_MSG_CHECKING(whether $F77 accepts -I) 216 AC_LANG_PUSH(Fortran 77) 217 FFLAGS_save=$FFLAGS 218 FFLAGS=-I. 219 AC_COMPILE_IFELSE(AC_LANG_PROGRAM([], []), 220 [FFLAGS="$FFLAGS_save -I."; AC_MSG_RESULT(yes)], 221 [FFLAGS="$FFLAGS_save"; AC_MSG_RESULT(no)]) 222 AC_LANG_POP() 223 224 # Libraries required by the Fortran compiler itself (sets FLIBS). 225 # Required by utilities and test programs written in C that link to 226 # Fortran object modules such as pgsbox. 227 AC_F77_LIBRARY_LDFLAGS 228 229 # Tidy up FLIBS. 230 dirs= 231 libs= 232 for flib in $FLIBS 233 do 234 case "$flib" in 235 -L*) 236 dir=`echo "$flib" | sed -e 's/-L//'` 237 dir=-L`cd "$dir" && pwd` 238 dirs="$dirs $dir" 239 ;; 240 *) 241 libs="$libs $flib" 242 ;; 243 esac 244 done 245 246 dirs=`for dir in $dirs ; do echo "$dir" ; done | sort -u | xargs` 247 248 FLIBS="$dirs$libs" 249 250 # F77 name mangling (defines the F77_FUNC preprocessor macro). 251 AC_F77_WRAPPERS 252 253 SUBDIRS="C Fortran" 254 TSTDIRS="C Fortran" 255 INSTDIR="Fortran" 256 fi 257fi 258 259 260# System-dependent system libraries (for building the sharable library). 261#----------------------------------------------------------------------- 262# Darwin (contains stubs for long double). 263AC_CHECK_LIB([SystemStubs], [printf\$LDBLStub], [LIBS="$LIBS -lSystemStubs"], 264 [], []) 265 266 267# Library and installation utilities. 268#------------------------------------ 269# Static library generation. 270# Ensure "non-deterministic" archives are produced during the build process. 271ar rU conftest.a > /dev/null 2>&1 && ARFLAGS="U" 272rm -f conftest.a 273AC_SUBST([ARFLAGS]) 274AC_PROG_RANLIB 275 276# Shared library generation - gcc only. 277# Ways of disabling shared libraries: 278# configure --disable-shared 279# configure --enable-shared=no 280AC_ARG_ENABLE([shared], [AS_HELP_STRING([--disable-shared], 281 [don't build the WCS shared libraries])], []) 282 283SHRLIB= 284SONAME= 285SHRFLAGS= 286SHRLD= 287SHRSFX= 288SHRLN= 289 290if test "x$ac_cv_c_compiler_gnu" = xyes ; then 291 if test "x$enable_shared" = xno ; then 292 AC_MSG_WARN([Generation of WCS shared libraries disabled.]) 293 294 else 295 SHVER=`echo "$LIBVER" | sed -e 's/\..*$//'` 296 297 # Note that -fPIC is on by default for Macs, this just makes it obvious. 298 SHRFLAGS="-fPIC" 299 SHRLD="\$(CC) \$(SHRFLAGS)" 300 301 case "$host_os" in 302 darwin*) 303 SHRLIB="libwcs.$LIBVER.dylib" 304 SONAME="libwcs.$SHVER.dylib" 305 SHRLD="$SHRLD -dynamiclib -single_module" 306 SHRLD="$SHRLD -compatibility_version $SHVER -current_version $LIBVER -install_name \$(SONAME)" 307 SHRLN="libwcs.dylib" 308 309 case "$host_cpu" in 310 powerpc*) 311 # Switch off -fPIC (not applicable for PowerPC Macs). 312 CFLAGS="$CFLAGS -mdynamic-no-pic" 313 ;; 314 esac 315 ;; 316 *mingw*) 317 SHRLIB="libwcs.dll.$LIBVER" 318 SONAME="libwcs.dll.$SHVER" 319 SHRLD="$SHRLD -shared -Wl,-h\$(SONAME)" 320 SHRLN="libwcs.dll" 321 ;; 322 *) 323 # Covers Linux and Solaris at least. 324 SHRLIB="libwcs.so.$LIBVER" 325 SONAME="libwcs.so.$SHVER" 326 SHRLD="$SHRLD -shared -Wl,-h\$(SONAME)" 327 SHRLN="libwcs.so" 328 ;; 329 esac 330 fi 331fi 332 333AC_SUBST([SHRLIB]) 334AC_SUBST([SONAME]) 335AC_SUBST([SHRFLAGS]) 336AC_SUBST([SHRLD]) 337AC_SUBST([SHRSFX]) 338AC_SUBST([SHRLN]) 339 340# Installation utilities. 341AC_PROG_LN_S 342AC_PROG_INSTALL 343 344# Older versions of GNU make do not have the -O option, which only facilitates 345# legibility of the output from parallel builds (make -j). 346make --help | grep '\-O' >/dev/null 2>&1 && MAKEFLAGS="-Otarget" 347AC_SUBST([MAKEFLAGS]) 348 349AC_MSG_NOTICE([End of primary configuration. 350]) 351 352 353# The following are required to build utilities and test programs. 354# ---------------------------------------------------------------- 355AC_MSG_NOTICE([Looking for libraries etc. for utilities and test suite...]) 356 357# Check for other quasi-standard header files. 358AC_CHECK_HEADERS([unistd.h]) 359 360# Large file support. 361AC_FUNC_FSEEKO 362AC_SYS_LARGEFILE 363 364 365# Extra places to look for third-party libraries and header files. 366LIBDIRS= 367 368AC_ARG_WITH([cfitsio], [AS_HELP_STRING([--without-cfitsio], 369 [eschew CFITSIO])], []) 370if test "x$with_cfitsio" = xno ; then 371 AC_MSG_WARN([CFITSIO disabled.]) 372else 373 AC_ARG_WITH([cfitsiolib], [AS_HELP_STRING([--with-cfitsiolib=DIR], 374 [directory containing cfitsio library])], []) 375 if test "x$with_cfitsiolib" != x ; then 376 LIBDIRS="$LIBDIRS $with_cfitsiolib" 377 fi 378 379 AC_ARG_WITH([cfitsioinc], [AS_HELP_STRING([--with-cfitsioinc=DIR], 380 [directory containing cfitsio header files])], []) 381 if test "x$with_cfitsioinc" != x ; then 382 CFITSIO_INCDIRS="$with_cfitsioinc" 383 fi 384 385 CFITSIO_INCDIRS="$CFITSIO_INCDIRS \ 386 /usr/local/cfitsio/include \ 387 /local/cfitsio/include" 388 389 LIBDIRS="$LIBDIRS \ 390 /usr/local/cfitsio/lib \ 391 /local/cfitsio/lib" 392fi 393 394AC_ARG_WITH([pgplot], [AS_HELP_STRING([--without-pgplot], 395 [eschew PGPLOT])], []) 396if test "x$with_pgplot" = xno ; then 397 AC_MSG_WARN([PGPLOT disabled.]) 398else 399 AC_ARG_WITH([pgplotlib], [AS_HELP_STRING([--with-pgplotlib=DIR], 400 [directory containing pgplot library])], []) 401 if test "x$with_pgplotlib" != x ; then 402 LIBDIRS="$LIBDIRS $with_pgplotlib" 403 fi 404 405 AC_ARG_WITH([pgplotinc], [AS_HELP_STRING([--with-pgplotinc=DIR], 406 [directory containing pgplot header files])], []) 407 if test "x$with_pgplotinc" != x ; then 408 PGPLOT_INCDIRS="$with_pgplotinc" 409 fi 410 411 PGPLOT_INCDIRS="$PGPLOT_INCDIRS \ 412 /usr/local/pgplot/include \ 413 /local/pgplot/include" 414 415 LIBDIRS="$LIBDIRS \ 416 /usr/local/pgplot/lib \ 417 /local/pgplot/lib" 418fi 419 420 421if test "x$with_cfitsio" != xno -o \ 422 "x$with_pgplot" != xno ; then 423 LIBDIRS="$LIBDIRS \ 424 /usr/local/lib \ 425 /local/lib \ 426 /opt/local/lib \ 427 /opt/SUNWspro/lib \ 428 /sw/lib" 429 430 for LIBDIR in $LIBDIRS ; do 431 AC_CHECK_FILE([$LIBDIR], [LDFLAGS="$LDFLAGS -L$LIBDIR"], [continue]) 432 done 433 434 # Generic include directories. 435 INCDIRS="/usr/local/include \ 436 /local/include \ 437 /opt/local/include \ 438 /sw/include \ 439 /local \ 440 /usr/include" 441 442 443 # CFITSIO. 444 if test "x$with_cfitsio" != xno ; then 445 # Search for CFITSIO. 446 for INCDIR in $CFITSIO_INCDIRS $INCDIRS ; do 447 AC_CHECK_FILE([$INCDIR/cfitsio/fitsio.h], 448 [CFITSIOINC="-I$INCDIR/cfitsio"; break]) 449 AC_CHECK_FILE([$INCDIR/fitsio.h], [CFITSIOINC="-I$INCDIR"; break]) 450 done 451 452 AC_CHECK_LIB([socket], [recv], [CFITSIOLIB="-lsocket"], [], [$LIBS]) 453 AC_CHECK_LIB([cfitsio], [ffopen], [CFITSIOLIB="-lcfitsio $CFITSIOLIB"], [], 454 [$CFITSIOLIB $LIBS]) 455 456 if test "x$CFITSIOINC" = x -o "x$CFITSIOLIB" = x; then 457 AC_MSG_WARN([CFITSIO not found, skipping CFITSIO-dependent tests.]) 458 else 459 AC_MSG_NOTICE([CFITSIO appears to be available.]) 460 AC_DEFINE([HAVE_CFITSIO], [1], [Define to 1 if CFITSIO is available.]) 461 462 # Check for fits_read_wcstab, present in CFITSIO 3.004beta and later. 463 AC_CHECK_LIB([cfitsio], [fits_read_wcstab], [GETWCSTAB=], 464 [GETWCSTAB=getwcstab.o], [$CFITSIOLIB $LIBS]) 465 if test "x$GETWCSTAB" != x ; then 466 AC_MSG_WARN([fits_read_wcstab not found in CFITSIO, will use 467 getwcstab.c to compile test programs.]) 468 fi 469 fi 470 fi 471 472 # PGPLOT. 473 if test "x$F77" != x -a "x$with_pgplot" != xno ; then 474 # Search for PGPLOT. 475 for INCDIR in $PGPLOT_INCDIRS $INCDIRS ; do 476 AC_CHECK_FILE([$INCDIR/pgplot/cpgplot.h], 477 [PGPLOTINC="-I$INCDIR/pgplot"; break]) 478 AC_CHECK_FILE([$INCDIR/cpgplot.h], [PGPLOTINC="-I$INCDIR"; break]) 479 done 480 481 # FLIBS (found above via AC_F77_LIBRARY_LDFLAGS) only helps if PGPLOT was 482 # built using the same Fortran compiler that we are using here. 483 484 # PGPLOT compiled by the SUN Fortran compiler but linked with something 485 # else. 486 AC_CHECK_LIB([M77], [iand_], [PGPLOTLIB="-lM77 $PGPLOTLIB"], 487 [], [$PGPLOTLIB $LIBS]) 488 AC_CHECK_LIB([F77], [f77_init], [PGPLOTLIB="-lF77 $PGPLOTLIB"], 489 [], [$PGPLOTLIB $LIBS]) 490 491 if test "x$F77" != xg77; then 492 # For PGPLOT compiled with g77 but linked with something else. 493 AC_CHECK_LIB([frtbegin], [main], [PGPLOTLIB="-lfrtbegin $PGPLOTLIB"], 494 [], [$PGPLOTLIB $LIBS]) 495 AC_CHECK_LIB([g2c], [gerror_], [PGPLOTLIB="-lg2c $PGPLOTLIB"], 496 [], [$PGPLOTLIB $LIBS]) 497 fi 498 499 if test "x$F77" != xgfortran; then 500 # For PGPLOT compiled with gfortran but linked with something else. 501 # Note that if gfortran itself is driving the linker it can be harmful 502 # to add -lgfortran to the link list without also adding -lgfortranbegin. 503 # Doing so stops gfortran from adding -lgfortranbegin which is needed to 504 # resolve "main". 505 AC_CHECK_LIB([gfortran], [_gfortran_abort], 506 [PGPLOTLIB="-lgfortran $PGPLOTLIB"], [], 507 [$PGPLOTLIB $LIBS]) 508 fi 509 510 # Search for X11 includes and libraries. 511 AC_PATH_X 512 if test "x$no_x" = x; then 513 if test "x$ac_x_libraries" != x ; then 514 # Not needed for systems that keep the X11 libraries in /usr/lib. 515 LDFLAGS="$LDFLAGS -L$ac_x_libraries" 516 fi 517 PGPLOTLIB="-lX11 $PGPLOTLIB" 518 fi 519 520 # It is possible that other libraries may be required depending on what 521 # graphics drivers were installed with PGPLOT. 522 AC_CHECK_LIB([z], [deflate], [PGPLOTLIB="-lz $PGPLOTLIB"], 523 [], [$PGPLOTLIB $LIBS]) 524 AC_CHECK_LIB([png], [png_error], [PGPLOTLIB="-lpng $PGPLOTLIB"], 525 [], [$PGPLOTLIB $LIBS]) 526 AC_CHECK_LIB([pgplot], [pgbeg_], [PGPLOTLIB="-lpgplot $PGPLOTLIB"], 527 [], [$PGPLOTLIB $FLIBS $LIBS]) 528 AC_CHECK_LIB([cpgplot], [cpgbeg], [PGPLOTLIB="-lcpgplot $PGPLOTLIB"], 529 [PGPLOTLIB=], [$PGPLOTLIB $FLIBS $LIBS]) 530 531 # Only need the PGPLOT include file to build PGSBOX. 532 if test "x$PGPLOTINC" != x; then 533 SUBDIRS="$SUBDIRS pgsbox" 534 INSTDIR="pgsbox" 535 fi 536 537 # Also need the PGPLOT library to build pgtest and cpgtest. 538 if test "x$PGPLOTLIB" = x; then 539 AC_MSG_WARN([PGPLOT not found, skipping PGPLOT-dependent tests.]) 540 else 541 AC_MSG_NOTICE([PGPLOT appears to be available.]) 542 543 TSTDIRS="$TSTDIRS pgsbox" 544 fi 545 fi 546fi 547 548 549# Utilities are compiled last since they need the libraries. 550# Ways of disabling them: 551# configure --disable-utils 552# configure --enable-utils=no 553AC_ARG_ENABLE([utils], [AS_HELP_STRING([--disable-utils], 554 [don't build the WCS utilities])], []) 555if test "x$enable_utils" = xno ; then 556 AC_MSG_WARN([Compilation of WCS utilities disabled.]) 557else 558 SUBDIRS="$SUBDIRS utils" 559 INSTDIR="$INSTDIR utils" 560fi 561 562# Default observer coordinates for sundazel. 563if test -f "$HOME/.sundazelrc"; then 564 . "$HOME/.sundazelrc" 565fi 566 567if test "x$OBSLNG" = x; then 568 OBSLNG=0.0 569 OBSLAT=0.0 570 OBSTZ=0.0 571fi 572 573 574AC_SUBST([CFITSIOINC]) 575AC_SUBST([CFITSIOLIB]) 576AC_SUBST([GETWCSTAB]) 577 578AC_SUBST([PGPLOTINC]) 579AC_SUBST([PGPLOTLIB]) 580 581AC_SUBST([SUBDIRS]) 582AC_SUBST([TSTDIRS]) 583AC_SUBST([INSTDIR]) 584 585AC_SUBST([OBSLNG]) 586AC_SUBST([OBSLAT]) 587AC_SUBST([OBSTZ]) 588 589AC_MSG_NOTICE([End of auxiliary configuration. 590]) 591 592AC_SUBST([FLAVOUR]) 593 594 595# Do it. 596AC_MSG_NOTICE([Configuring files...]) 597AC_CONFIG_FILES([makedefs wcslib.pc]) 598AC_CONFIG_HEADERS([wcsconfig.h wcsconfig_f77.h wcsconfig_tests.h wcsconfig_utils.h]) 599AC_OUTPUT 600