Skip to content

Commit

Permalink
debug use_pipewire
Browse files Browse the repository at this point in the history
  • Loading branch information
mmitch committed Feb 1, 2024
1 parent 7c09456 commit 5ef7a49
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -697,6 +697,8 @@ setdefault use_i18n no
setdefault build_xgbsplay no
setdefault use_hardening no

echo "(1) USE_PIPEWIRE=$use_pipewire"

if [ "$use_pipewire" != no ]; then
remember_use pipewire

Expand Down Expand Up @@ -752,6 +754,7 @@ EOF
recheck_use pipewire
fi

echo "(2) USE_PIPEWIRE=$use_pipewire"

## enable a slightly more modern c dialect (C11 or C17)

Expand All @@ -764,6 +767,8 @@ else
fi
fi

echo "(3) USE_PIPEWIRE=$use_pipewire"

## check compiler features

if cc_has_flag "-Wdeclaration-after-statement"; then
Expand All @@ -779,6 +784,7 @@ if cc_has_flag "-Wswitch-unreachable"; then
append_nodupe CFLAGS "-Wswitch-unreachable"
fi

echo "(4) USE_PIPEWIRE=$use_pipewire"

## set variables we have no test for to default values if not set

Expand All @@ -805,6 +811,8 @@ setdefault use_vgm yes
setdefault use_wav yes
setdefault use_iodumper yes

echo "(5) USE_PIPEWIRE=$use_pipewire"

printoptional modules build
printoptional features use

Expand All @@ -821,6 +829,8 @@ EXTRA_LDFLAGS="$LDFLAGS"
echo "EXTRA_CFLAGS=$EXTRA_CFLAGS"
echo "EXTRA_LDFLAGS=$EXTRA_LDFLAGS"

echo "(6) USE_PIPEWIRE=$use_pipewire"

## generate pkg-config configuration
# can't be done in Makefile because $DESTDIR would show up in the paths

Expand Down Expand Up @@ -891,6 +901,8 @@ __EOF__
echo configured := yes
) > config.mk

echo "(7) USE_PIPEWIRE=$use_pipewire"

(
set +u # Allow uninitialised vars here
echo "#ifndef _CONFIG_H_"
Expand All @@ -917,10 +929,14 @@ __EOF__
echo "#endif"
) > config.h

echo "(8) USE_PIPEWIRE=$use_pipewire"

(
echo "s/%%%VERSION%%%/$VERSION/g"
) > config.sed

echo "(9) USE_PIPEWIRE=$use_pipewire"

# show configuration if verbose

if [ "$use_verbosebuild" = yes ]; then
Expand All @@ -933,6 +949,8 @@ if [ "$use_verbosebuild" = yes ]; then
done
fi

echo "(10) USE_PIPEWIRE=$use_pipewire"

## end

rm -rf "$TEMPDIR"
Expand Down

0 comments on commit 5ef7a49

Please sign in to comment.