]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
configure: allow setting EFI_CC
authorMarc-Antoine Perennou <Marc-Antoine@Perennou.com>
Wed, 8 Apr 2015 20:33:53 +0000 (22:33 +0200)
committerDavid Herrmann <dh.herrmann@gmail.com>
Sat, 11 Apr 2015 10:43:47 +0000 (12:43 +0200)
configure.ac

index 79f6ddfca334dbe57845d5035d5541c4cf918b93..28cec8fb696bb459c112eb5e98418f84fda4d97c 100644 (file)
@@ -1149,8 +1149,7 @@ fi
 AM_CONDITIONAL(ENABLE_EFI, [test "x$have_efi" = "xyes"])
 
 # ------------------------------------------------------------------------------
-EFI_CC=gcc
-AC_SUBST([EFI_CC])
+AC_CHECK_TOOL(EFI_CC, gcc)
 
 EFI_ARCH=`echo $host | sed "s/\(-\).*$//"`