| @@ -1,14 +1,14 @@ | | | @@ -1,14 +1,14 @@ |
1 | # $NetBSD: autoconf.mk,v 1.18 2015/11/25 13:05:47 jperkin Exp $ | | 1 | # $NetBSD: autoconf.mk,v 1.19 2018/03/09 21:51:20 rillig Exp $ |
2 | # | | 2 | # |
3 | # Copyright (c) 2005 The NetBSD Foundation, Inc. | | 3 | # Copyright (c) 2005 The NetBSD Foundation, Inc. |
4 | # All rights reserved. | | 4 | # All rights reserved. |
5 | # | | 5 | # |
6 | # This code is derived from software contributed to The NetBSD Foundation | | 6 | # This code is derived from software contributed to The NetBSD Foundation |
7 | # by Johnny C. Lam. | | 7 | # by Johnny C. Lam. |
8 | # | | 8 | # |
9 | # Redistribution and use in source and binary forms, with or without | | 9 | # Redistribution and use in source and binary forms, with or without |
10 | # modification, are permitted provided that the following conditions | | 10 | # modification, are permitted provided that the following conditions |
11 | # are met: | | 11 | # are met: |
12 | # 1. Redistributions of source code must retain the above copyright | | 12 | # 1. Redistributions of source code must retain the above copyright |
13 | # notice, this list of conditions and the following disclaimer. | | 13 | # notice, this list of conditions and the following disclaimer. |
14 | # 2. Redistributions in binary form must reproduce the above copyright | | 14 | # 2. Redistributions in binary form must reproduce the above copyright |
| @@ -54,28 +54,34 @@ | | | @@ -54,28 +54,34 @@ |
54 | # by their usual, bare names. | | 54 | # by their usual, bare names. |
55 | # | | 55 | # |
56 | # If a particular minimum version of autoconf is required, then the | | 56 | # If a particular minimum version of autoconf is required, then the |
57 | # package Makefile can additionally set AUTOCONF_REQD to the desired | | 57 | # package Makefile can additionally set AUTOCONF_REQD to the desired |
58 | # version, e.g.: | | 58 | # version, e.g.: |
59 | # | | 59 | # |
60 | # AUTOCONF_REQD= 2.54 # use at least autoconf>=2.54 | | 60 | # AUTOCONF_REQD= 2.54 # use at least autoconf>=2.54 |
61 | # | | 61 | # |
62 | # To globally prevent any GNU autoconf handling, set the following | | 62 | # To globally prevent any GNU autoconf handling, set the following |
63 | # in the package Makefile: | | 63 | # in the package Makefile: |
64 | # | | 64 | # |
65 | # AUTOMAKE_OVERRIDE= no | | 65 | # AUTOMAKE_OVERRIDE= no |
66 | # | | 66 | # |
67 | # Keywords: autoconf autoreconf | | 67 | # Keywords: autoconf |
| | | 68 | |
| | | 69 | # If a package requires autoreconf, the package Makefile should contain |
| | | 70 | # this line: |
| | | 71 | # |
| | | 72 | # USE_TOOLS+= autoreconf autoconf automake |
68 | # | | 73 | # |
| | | 74 | # Keywords: autoreconf |
69 | | | 75 | |
70 | # Only allow one of "autoconf" and "autoconf213" in USE_TOOLS. | | 76 | # Only allow one of "autoconf" and "autoconf213" in USE_TOOLS. |
71 | .if !empty(USE_TOOLS:C/:.*//:Mautoconf) && \ | | 77 | .if !empty(USE_TOOLS:C/:.*//:Mautoconf) && \ |
72 | !empty(USE_TOOLS:C/:.*//:Mautoconf213) | | 78 | !empty(USE_TOOLS:C/:.*//:Mautoconf213) |
73 | PKG_FAIL_REASON+= "\`\`autoconf'' and \`\`autoconf213'' conflict in USE_TOOLS." | | 79 | PKG_FAIL_REASON+= "\`\`autoconf'' and \`\`autoconf213'' conflict in USE_TOOLS." |
74 | .endif | | 80 | .endif |
75 | | | 81 | |
76 | # This is an exhaustive list of all of the scripts supplied by GNU | | 82 | # This is an exhaustive list of all of the scripts supplied by GNU |
77 | # autoconf. | | 83 | # autoconf. |
78 | # | | 84 | # |
79 | _TOOLS_AC_NAMES= autoconf autoconf-2.13 | | 85 | _TOOLS_AC_NAMES= autoconf autoconf-2.13 |
80 | _TOOLS_AC_NAMES+= autoheader autoheader-2.13 | | 86 | _TOOLS_AC_NAMES+= autoheader autoheader-2.13 |
81 | _TOOLS_AC_NAMES+= autom4te | | 87 | _TOOLS_AC_NAMES+= autom4te |