File: Version.base.m4

package info (click to toggle)
mpich 3.3-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 131,836 kB
  • sloc: ansic: 975,868; cpp: 57,437; f90: 53,762; perl: 19,562; xml: 12,464; sh: 12,303; fortran: 7,875; makefile: 7,078; ruby: 126; java: 100; python: 98; lisp: 19; php: 8; sed: 4
file content (27 lines) | stat: -rw-r--r-- 1,011 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
dnl
dnl this m4 file expects to be processed with "autom4te -l M4sugar"
dnl 
m4_init

dnl get the real version values
m4_include([maint/version.m4])dnl

dnl The m4sugar langauage switches the default diversion to "KILL", and causes
dnl all normal output to be thrown away.  We switch to the default (0) diversion
dnl to restore output.
m4_divert_push([])dnl
dnl
dnl now dump out a shell script header for those looking to change the version string
# This shell script is no longer the canonical version number script, but rather
# a byproduct of running ./maint/updatefiles using maint/Version.base.m4 as
# input.  The real version info is contained in maint/version.m4 instead.  It is
# intentionally not managed by the makefile system and may not be up to date at
# all times w.r.t. the version.m4 file.

dnl now provide shell versions so that simple scripts can still use
dnl $MPICH_VERSION as before
MPICH_VERSION=MPICH_VERSION_m4
export MPICH_VERSION

dnl balance our pushed diversion
m4_divert_pop([])dnl