Skip to content

modernize autoconf gsl.m4 #96

Description

@ferdymercury

To avoid warnings when calling autoreconf, it would be beneficial to modernize https://github.com/ampl/gsl/blob/master/gsl.m4

by changing:

AC_TRY_RUN([program], [action-if-true], [action-if-false])
with
AC_RUN_IFELSE([AC_LANG_SOURCE([[program]])], [action-if-true], [action-if-false])

and

AC_TRY_LINK([includes], [function-body], [action-if-true], [action-if-false])
with
AC_LINK_IFELSE([AC_LANG_PROGRAM([[includes]], [[function-body]])], [action-if-true], [action-if-false])

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions