meson: Fix typo in gsm header file name

This was wrong since commit c360ceea4d.

Also fix incorrect indentation (tab instead of spaces).

Found using hermetic builds with Nix:

    https://github.com/NixOS/nixpkgs/pull/54398#discussion_r280125735
This commit is contained in:
Niklas Hambüchen 2019-05-01 19:16:58 +02:00 committed by Matthew Waters
parent dd3a25b473
commit f089f2b896

View file

@ -5,7 +5,7 @@ endif
gsm_dep = cc.find_library('gsm', required : get_option('gsm'))
have_gsm_create = cc.has_header_symbol('gsm.h', 'gsm_create')
if not have_gsm_create
have_gsm_create = cc.has_header_symbol('gsm/smg.h', 'gsm_create')
have_gsm_create = cc.has_header_symbol('gsm/gsm.h', 'gsm_create')
if not have_gsm_create and get_option('gsm').enabled()
error('GSM plugin is enabled: found libgsm but no headers')
endif