Re #2059 (misc): Define missing CPPFLAGS in the aconfigure. Thanks to Alexander

Traud for the patch.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5796 74dad513-b988-da41-8d7b-12977e46ad98
This commit is contained in:
Riza Sulistyo 2018-05-29 02:49:32 +00:00
parent 36f1782ec8
commit 90ecb626c8
2 changed files with 10 additions and 4 deletions

View File

@ -7904,6 +7904,7 @@ else
if test "x$with_ssl" != "xno" -a "x$with_ssl" != "x"; then
CFLAGS="$CFLAGS -I$with_ssl/include"
CPPFLAGS="$CPPFLAGS -I$with_ssl/include"
LDFLAGS="$LDFLAGS -L$with_ssl/lib"
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Using SSL prefix... $with_ssl" >&5
$as_echo "Using SSL prefix... $with_ssl" >&6; }
@ -8282,12 +8283,14 @@ else
$as_echo "checking for OpenCORE AMR installations.." >&6; }
if test "x$with_opencore_amr" != "xno" -a "x$with_opencore_amr" != "x"; then
CFLAGS="$CFLAGS -I$with_opencore_amr/include"
CPPFLAGS="$CPPFLAGS -I$with_opencore_amr/include"
LDFLAGS="$LDFLAGS -L$with_opencore_amr/lib"
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Using OpenCORE AMR prefix... $with_opencore_amr" >&5
$as_echo "Using OpenCORE AMR prefix... $with_opencore_amr" >&6; }
fi
if test "x$with_opencore_amrwbenc" != "xno" -a "x$with_opencore_amrwbenc" != "x"; then
CFLAGS="$CFLAGS -I$with_opencore_amrwbenc/include"
CPPFLAGS="$CPPFLAGS -I$with_opencore_amrwbenc/include"
LDFLAGS="$LDFLAGS -L$with_opencore_amrwbenc/lib"
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Using OpenCORE AMRWB-enc prefix... $with_opencore_amrwbenc" >&5
$as_echo "Using OpenCORE AMRWB-enc prefix... $with_opencore_amrwbenc" >&6; }
@ -8493,7 +8496,7 @@ else
$as_echo "checking for SILK installations.." >&6; }
if test "x$with_silk" != "xno" -a "x$with_silk" != "x"; then
CFLAGS="$CFLAGS -I$with_silk/interface"
CPPFLAGS="$CPPFLAGS -I$with_silk/interface"
CPPFLAGS="$CPPFLAGS -I$with_silk/interface"
LDFLAGS="$LDFLAGS -L$with_silk"
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Using SILK prefix... $with_silk" >&5
$as_echo "Using SILK prefix... $with_silk" >&6; }
@ -8592,7 +8595,7 @@ else
$as_echo "checking for OPUS installations.." >&6; }
if test "x$with_opus" != "xno" -a "x$with_opus" != "x"; then
CFLAGS="$CFLAGS -I$with_opus/include"
CPPFLAGS="$CPPFLAGS -I$with_opus/include"
CPPFLAGS="$CPPFLAGS -I$with_opus/include"
LDFLAGS="$LDFLAGS -L$with_opus/lib"
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: Using OPUS prefix... $with_opus" >&5
$as_echo "Using OPUS prefix... $with_opus" >&6; }

View File

@ -1583,6 +1583,7 @@ AC_ARG_ENABLE(ssl,
[
if test "x$with_ssl" != "xno" -a "x$with_ssl" != "x"; then
CFLAGS="$CFLAGS -I$with_ssl/include"
CPPFLAGS="$CPPFLAGS -I$with_ssl/include"
LDFLAGS="$LDFLAGS -L$with_ssl/lib"
AC_MSG_RESULT([Using SSL prefix... $with_ssl])
fi
@ -1722,11 +1723,13 @@ AC_ARG_ENABLE(opencore_amr,
AC_MSG_RESULT([checking for OpenCORE AMR installations..])
if test "x$with_opencore_amr" != "xno" -a "x$with_opencore_amr" != "x"; then
CFLAGS="$CFLAGS -I$with_opencore_amr/include"
CPPFLAGS="$CPPFLAGS -I$with_opencore_amr/include"
LDFLAGS="$LDFLAGS -L$with_opencore_amr/lib"
AC_MSG_RESULT([Using OpenCORE AMR prefix... $with_opencore_amr])
fi
if test "x$with_opencore_amrwbenc" != "xno" -a "x$with_opencore_amrwbenc" != "x"; then
CFLAGS="$CFLAGS -I$with_opencore_amrwbenc/include"
CPPFLAGS="$CPPFLAGS -I$with_opencore_amrwbenc/include"
LDFLAGS="$LDFLAGS -L$with_opencore_amrwbenc/lib"
AC_MSG_RESULT([Using OpenCORE AMRWB-enc prefix... $with_opencore_amrwbenc])
fi
@ -1789,7 +1792,7 @@ AC_ARG_ENABLE(silk,
AC_MSG_RESULT([checking for SILK installations..])
if test "x$with_silk" != "xno" -a "x$with_silk" != "x"; then
CFLAGS="$CFLAGS -I$with_silk/interface"
CPPFLAGS="$CPPFLAGS -I$with_silk/interface"
CPPFLAGS="$CPPFLAGS -I$with_silk/interface"
LDFLAGS="$LDFLAGS -L$with_silk"
AC_MSG_RESULT([Using SILK prefix... $with_silk])
fi
@ -1836,7 +1839,7 @@ AC_ARG_ENABLE(opus,
AC_MSG_RESULT([checking for OPUS installations..])
if test "x$with_opus" != "xno" -a "x$with_opus" != "x"; then
CFLAGS="$CFLAGS -I$with_opus/include"
CPPFLAGS="$CPPFLAGS -I$with_opus/include"
CPPFLAGS="$CPPFLAGS -I$with_opus/include"
LDFLAGS="$LDFLAGS -L$with_opus/lib"
AC_MSG_RESULT([Using OPUS prefix... $with_opus])
fi