|
|
|
@ -42,7 +42,7 @@ |
|
|
|
|
1. The AC_INIT macro will be contained within the first 1024 characters |
|
|
|
|
of configure.ac |
|
|
|
|
2. The version string will be 3 integers separated by periods and will be |
|
|
|
|
surrounded by squre brackets, "[" and "]" (e.g. [1.0.1]). The first |
|
|
|
|
surrounded by square brackets, "[" and "]" (e.g. [1.0.1]). The first |
|
|
|
|
segment represents the major version, the second represents the minor |
|
|
|
|
version and the third represents the fix version. |
|
|
|
|
3. No ")" character exists between the opening "(" and closing ")" of |
|
|
|
@ -68,7 +68,7 @@ config_file.close() |
|
|
|
|
|
|
|
|
|
# Extract the version string from the AC_INIT macro |
|
|
|
|
# The following init_expression means: |
|
|
|
|
# Extract three integers separated by periods and surrounded by squre |
|
|
|
|
# Extract three integers separated by periods and surrounded by square |
|
|
|
|
# brackets(e.g. "[1.0.1]") between "AC_INIT(" and ")". Do not be greedy |
|
|
|
|
# (*? is the non-greedy flag) since that would pull in everything between |
|
|
|
|
# the first "(" and the last ")" in the file. |
|
|
|
|