X-Git-Url: https://git.lttng.org/?p=lttng-ust.git;a=blobdiff_plain;f=m4%2Fae_in_git_repo.m4;fp=m4%2Fae_in_git_repo.m4;h=e1b277b038abcd0a2a32bf166f9bedb7f418bbab;hp=2e370fb50d4b54e0a0a6f184a30d41e8bc8f571f;hb=e03d7c66c57bf268b87296566a5160039f35ccfb;hpb=79f8dc6f50b20fb6b1d99f9bd97d70aa361bc6ad diff --git a/m4/ae_in_git_repo.m4 b/m4/ae_in_git_repo.m4 index 2e370fb5..e1b277b0 100644 --- a/m4/ae_in_git_repo.m4 +++ b/m4/ae_in_git_repo.m4 @@ -1,13 +1,21 @@ -# SPDX-License-Identifier: MIT +# SPDX-FileCopyrightText: 2021 Michael Jeanson # -# Copyright (C) 2021 Michael Jeanson +# SPDX-License-Identifier: GPL-2.0-or-later WITH LicenseRef-Autoconf-exception-macro # -# ae_in_git_repo.m4 -- Check if we are building from the git repo +# SYNOPSIS +# +# AE_IF_IN_GIT_REPO(ACTION-IF-TRUE, [ACTION-IF-FALSE]) +# +# DESCRIPTION +# +# Check if we are building from the git repository. # # The cache variable for this test is `ae_cv_in_git_repo`. # -# AE_IF_IN_GIT_REPO(ACTION-IF-TRUE, [ACTION-IF-FALSE]) # --------------------------------------------------------------------------- + +#serial 2 + AC_DEFUN([AE_IF_IN_GIT_REPO], [ AC_CACHE_VAL([ae_cv_in_git_repo], [