summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorGary Scavone <gary@music.mcgill.ca>2013-10-11 01:52:55 +0200
committerStephen Sinclair <sinclair@music.mcgill.ca>2013-10-11 01:52:55 +0200
commit504ebe4ba69765df5ca0da115690c29e52a44c6d (patch)
tree4b28492661a99b5b121d01c3de8d679c1761fbbe /configure
parentc3ceaf900358dbd7e2fe375d2114d658e27b29dc (diff)
Release 4.0.4 tarball4.0.4
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