# show-buildconf.ps1
#
# One-off: dump the first 20 lines of the captured -buildconf output plus its
# total line count, to see its actual format (verify-binary.ps1 assumed a
# single "configuration: <flags>" line like -version uses; the "43/43
# missing" result suggests -buildconf's real format is different).
#
#   powershell -ExecutionPolicy Bypass -File scripts\show-buildconf.ps1

[CmdletBinding()]
param([string]$WorkRoot = 'C:\nnffb')

$path = Join-Path $WorkRoot 'manifests\ffmpeg-buildconf.txt'
if (-not (Test-Path $path)) { Write-Host "NOT FOUND: $path" -ForegroundColor Red; exit 1 }

$lines = Get-Content $path
Write-Host ("Total lines: {0}" -f $lines.Count)
Write-Host "=== First 20 lines ===" -ForegroundColor Cyan
$lines | Select-Object -First 20 | ForEach-Object { "[$_]" }
