]> git.proxmox.com Git - systemd.git/blob - configure
New upstream version 252.7
[systemd.git] / configure
1 #!/usr/bin/env bash
2 # SPDX-License-Identifier: LGPL-2.1-or-later
3 set -e
4
5 cflags="CFLAGS=${CFLAGS-}"
6 cxxflags="CXXFLAGS=${CXXFLAGS-}"
7 args=()
8
9 for arg in "$@"; do
10 case "$arg" in
11 CFLAGS=*)
12 cflags="$arg"
13 ;;
14 CXXFLAGS=*)
15 cxxflags="$arg"
16 ;;
17 *)
18 args+=("$arg")
19 esac
20 done
21
22 export "${cflags?}" "${cxxflags?}"
23 set -x
24 exec meson build "${args[@]}"