aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2010-05-08 02:40:01 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2010-05-08 02:40:01 +0000
commitc5c5d512610a1d6290e3248d8f5b6a9684e9158c (patch)
tree290b4005f4cba562e838e3330281ddae30df1234 /configure
parentb8e93fda2bb16ecc1571a9f631932336a9b0a4a5 (diff)
Use CPPFLAGS to pass PTHREAD_CFLAGS for vpb only
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@262048 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 2 insertions, 4 deletions
diff --git a/configure b/configure
index ae181e330..708fb92a9 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
#! /bin/sh
-# From configure.ac Revision: 259848 .
+# From configure.ac Revision: 261913 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.61 for asterisk 1.6.
#
@@ -44659,7 +44659,6 @@ if test "${USE_VPB}" != "no"; then
{ echo "$as_me:$LINENO: checking for vpb_open in -lvpb" >&5
echo $ECHO_N "checking for vpb_open in -lvpb... $ECHO_C" >&6; }
saved_libs="${LIBS}"
- saved_cflags="${CFLAGS}"
saved_cppflags="${CPPFLAGS}"
if test "x${VPB_DIR}" != "x"; then
if test -d ${VPB_DIR}/lib; then
@@ -44671,7 +44670,7 @@ echo $ECHO_N "checking for vpb_open in -lvpb... $ECHO_C" >&6; }
CPPFLAGS="${CPPFLAGS} -I${VPB_DIR}/include"
fi
LIBS="${PTHREAD_LIBS} ${LIBS} -lvpb"
- CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
+ CPPFLAGS="${CPPFLAGS} ${PTHREAD_CFLAGS}"
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
@@ -44724,7 +44723,6 @@ fi
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
conftest$ac_exeext conftest.$ac_ext
- CFLAGS="${saved_cflags}"
LIBS="${saved_libs}"
CPPFLAGS="${saved_cppflags}"
if test "${ac_cv_lib_vpb_vpb_open}" = "yes"; then