diff options
author | Ryan Lortie <desrt@desrt.ca> | 2014-02-11 15:34:04 -0500 |
---|---|---|
committer | Ryan Lortie <desrt@desrt.ca> | 2014-02-11 15:35:15 -0500 |
commit | bd1ec7117a8acbf1f4acb163a82a10aacc7ac89f (patch) | |
tree | 939e6e75db4659cc74bad7fc82abf296a846f7df /vala.m4 | |
parent | aff8625e4ec24129294b1557ec6756e0abdfa5eb (diff) | |
download | vala-bd1ec7117a8acbf1f4acb163a82a10aacc7ac89f.tar.gz |
vala.m4: honour CC, CPPFLAGS, CFLAGS, LDFLAGS
These variables may be set to values that are required to build
executables. Make sure we honour them from vala.m4 when attempting to
check for packages.
https://bugzilla.gnome.org/show_bug.cgi?id=724176
Diffstat (limited to 'vala.m4')
-rw-r--r-- | vala.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -29,7 +29,7 @@ AC_DEFUN([_VALA_CHECK_COMPILE_WITH_ARGS], void main(){} _ACEOF - AS_IF([vala_error=`$VALAC $1 -q -o conftest$ac_exeext conftest.vala 2>&1`], + AS_IF([vala_error=`$VALAC $1 -q --cc="${CC} ${CPPFLAGS} ${CFLAGS} ${LDFLAGS}" -o conftest$ac_exeext conftest.vala 2>&1`], [$2], [$3]) ]) |