198N/A# The contents of this file are subject to the terms of the 198N/A# Common Development and Distribution License (the "License"). 198N/A# You may not use this file except in compliance with the License. 198N/A# See the License for the specific language governing permissions 198N/A# and limitations under the License. 198N/A# When distributing Covered Code, include this CDDL HEADER in each 198N/A# If applicable, add the following below this CDDL HEADER, with the 198N/A# fields enclosed by brackets "[]" replaced with your own identifying 198N/A# information: Portions Copyright [yyyy] [name of copyright owner] 5425N/A# Copyright (c) 2011, 2016, Oracle and/or its affiliates. All rights reserved. 4194N/A# COMPONENT_SRC* is autodefined by the prep-{SCM} Makefile fragment 7047N/A# Test only the terminal variant. 7047N/A# Studio 12.3 and 12.4 allow unknown __attribute__s, but complain about them, 7047N/A# making the build pretty loud about unknown "unused" attributes. If we make 7047N/A# it an error, configure will turn off its use. See bug 20230791. 7047N/A# Make sure we use a 64-bit, multithreaded perl 7047N/A# Vim's configure script looks for a "python3" executable, per PEP 394 198N/A# We build two variants: with and without X support. 198N/A# Vim's build is too smart for itself and configure can't run outside of a 7047N/A# For the GUI, install only the executable itself. 198N/A nawk '/begin of license/ {p=1; getline; next} /end of license/ {p=0} p == 1 {print}' $< > $@