VirtualBox

source: kBuild/trunk/src/grep/m4/version-etc.m4

Last change on this file was 3529, checked in by bird, 3 years ago

Imported grep 3.7 from grep-3.7.tar.gz (sha256: c22b0cf2d4f6bbe599c902387e8058990e1eee99aef333a203829e5fd3dbb342), applying minimal auto-props.

  • Property svn:eol-style set to LF
File size: 1.1 KB
Line 
1# version-etc.m4 serial 1
2# Copyright (C) 2009-2021 Free Software Foundation, Inc.
3# This file is free software; the Free Software Foundation
4# gives unlimited permission to copy and/or distribute it,
5# with or without modifications, as long as this notice is preserved.
6
7dnl $1 - configure flag and define name
8dnl $2 - human readable description
9m4_define([gl_VERSION_ETC_FLAG],
10[dnl
11 AC_ARG_WITH([$1], [AS_HELP_STRING([--with-$1], [$2])],
12 [dnl
13 case $withval in
14 yes|no) ;;
15 *) AC_DEFINE_UNQUOTED(AS_TR_CPP([PACKAGE_$1]), ["$withval"], [$2]) ;;
16 esac
17 ])
18])
19
20AC_DEFUN([gl_VERSION_ETC],
21[dnl
22 gl_VERSION_ETC_FLAG([packager],
23 [String identifying the packager of this software])
24 gl_VERSION_ETC_FLAG([packager-version],
25 [Packager-specific version information])
26 gl_VERSION_ETC_FLAG([packager-bug-reports],
27 [Packager info for bug reports (URL/e-mail/...)])
28 if test "X$with_packager" = "X" && \
29 test "X$with_packager_version$with_packager_bug_reports" != "X"
30 then
31 AC_MSG_ERROR([The --with-packager-{bug-reports,version} options require --with-packager])
32 fi
33])
Note: See TracBrowser for help on using the repository browser.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette