summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure8
1 files changed, 5 insertions, 3 deletions
diff --git a/configure b/configure
index 936dc90..ddff2b0 100755
--- a/configure
+++ b/configure
@@ -3611,7 +3611,7 @@ fi
echo "$as_me:$LINENO: result: $ac_cv_func_gettimeofday" >&5
echo "${ECHO_T}$ac_cv_func_gettimeofday" >&6
if test $ac_cv_func_gettimeofday = yes; then
- cflags=$cflags" -DHAVE_GETTIMEOFDAY"
+ CFLAGS=$CFLAGS" -DHAVE_GETTIMEOFDAY"
fi
@@ -3621,6 +3621,8 @@ if test $GXX = "yes" ; then
fi
+CFLAGS="$CFLAGS $cflags"
+
# Checks for package options and external software
ac_aux_dir=
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
@@ -3711,7 +3713,7 @@ case $host in
echo "${ECHO_T}using OSS" >&6
audio_apis=-D__LINUX_OSS__
- cflags=$cflags" -lossaudio"
+ CFLAGS=$CFLAGS" -lossaudio"
echo "$as_me:$LINENO: checking for pthread_create in -lpthread" >&5
echo $ECHO_N "checking for pthread_create in -lpthread... $ECHO_C" >&6
@@ -3961,7 +3963,7 @@ echo "$as_me: error: Jack support also requires the asound library!" >&2;}
{ (exit 1); exit 1; }; }
fi
- LIBS="`pkg-config --cflags --libs jack` $TEMP_LIBS -lasound"
+ LIBS="`pkg-config --CFLAGS --libs jack` $TEMP_LIBS -lasound"
audio_apis="-D__UNIX_JACK__"
fi