summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorSebastian Dransfeld <sd@tango.flipp.net>2013-11-14 05:15:43 +0100
committerSebastian Dransfeld <sd@tango.flipp.net>2013-11-14 05:15:43 +0100
commit773320213f4d4636fa3f1a15476df468eeca15a4 (patch)
tree65acc8d5a12f31f69476da17edb24f9aa54e0d99 /m4
parentc82f926a0d87adb4db05847f1423974b91ae1c5a (diff)
downloadelementary-773320213f4d4636fa3f1a15476df468eeca15a4.tar.gz
quicklaunch: Add AC_LANG_SOURCE to source code
Fixes warning: configure.ac:217: warning: AC_LANG_CONFTEST: no AC_LANG_SOURCE call detected in body ../../lib/autoconf/lang.m4:194: AC_LANG_CONFTEST is expanded from... ../../lib/autoconf/general.m4:2662: _AC_LINK_IFELSE is expanded from... ../../lib/autoconf/general.m4:2679: AC_LINK_IFELSE is expanded from... m4/elm_quicklaunch.m4:9: ELM_QUICKLAUNCH is expanded from... configure.ac:217: the top level
Diffstat (limited to 'm4')
-rw-r--r--m4/elm_quicklaunch.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/elm_quicklaunch.m4 b/m4/elm_quicklaunch.m4
index 19fb4bed1..d50bd213b 100644
--- a/m4/elm_quicklaunch.m4
+++ b/m4/elm_quicklaunch.m4
@@ -15,7 +15,7 @@ old_CFLAGS="$CFLAGS"
LDFLAGS="$LDFLAGS -pie -rdynamic"
CFLAGS="$CFLAGS -fpie"
-AC_LINK_IFELSE([int main(){}],
+AC_LINK_IFELSE([AC_LANG_SOURCE([[int main(){}]])],
[AC_MSG_RESULT([yes])],
[LDFLAGS="$old_LDFLAGS"
CFLAGS="$old_CFLAGS"