ax_fc_check_define

Synopsis

AX_FC_CHECK_DEFINE([symbol], [ACTION-IF-FOUND], [ACTION-IF-NOT])

Description

This macro checks to see if the Fortran pre-processor has a symbol defined.

Consider a usage like:

  AC_FC_PP_DEFINE()
  AX_FC_CHECK_DEFINE(__BIGGEST_ALIGNMENT__, [],
                     AX_APPEND_FLAG([${FC_DEFINE}__BIGGEST_ALIGNMENT__=64],
                                    [FCFLAGS]))

Source Code

Download the latest version of ax_fc_check_define.m4 or browse the macro’s revision history.

License

Copyright © 2016 Timothy Brown 

Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. This file is offered as-is, without any warranty.