Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/usr.bin/make tools/make/buildmake.sh compiles *.c, make sure...



details:   https://anonhg.NetBSD.org/src/rev/06d95dacd7df
branches:  trunk
changeset: 757688:06d95dacd7df
user:      sjg <sjg%NetBSD.org@localhost>
date:      Mon Sep 13 21:31:59 2010 +0000

description:
tools/make/buildmake.sh compiles *.c, make sure meta.c does nothing
unless USE_META is defined.

diffstat:

 usr.bin/make/meta.c |  3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diffs (17 lines):

diff -r cf5c0e0786c2 -r 06d95dacd7df usr.bin/make/meta.c
--- a/usr.bin/make/meta.c       Mon Sep 13 20:34:21 2010 +0000
+++ b/usr.bin/make/meta.c       Mon Sep 13 21:31:59 2010 +0000
@@ -28,6 +28,7 @@
  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
  */
+#if defined(USE_META)
 
 #ifdef HAVE_CONFIG_H
 # include "config.h"
@@ -957,3 +958,5 @@
     }
     fclose(fp);
 }
+
+#endif /* USE_META */



Home | Main Index | Thread Index | Old Index