list_exported_macros.sh: Avoid producing word "if"

.. as use of macro AX_CXX_COMPILE_STDCXX_11 would.
This commit is contained in:
Sebastian Pipping 2023-09-19 22:19:57 +02:00
parent 8192058e2a
commit 8c96dcad17

View file

@ -28,4 +28,4 @@
# OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
# USE OR OTHER DEALINGS IN THE SOFTWARE.
grep -Eo '(define|undef) [a-zA-Z0-9_]+' "${1}" | awk '{print $2}' | sort -u
grep -Eo '(define|undef) [a-zA-Z0-9_]+' "${1}" | awk '{print $2}' | grep -vw if | sort -u