]> git.ipfire.org Git - thirdparty/strongswan.git/commitdiff
charon-tkm: Abort if gprbuild binary is not found
authorReto Buerki <reet@codelabs.ch>
Thu, 28 Nov 2013 08:37:55 +0000 (09:37 +0100)
committerTobias Brunner <tobias@strongswan.org>
Wed, 4 Dec 2013 09:42:03 +0000 (10:42 +0100)
configure.ac

index a3fb7127429119c7c77b5e072380bf9b109212b8..34836d6b6502d59268a710889926441b7d7d6474 100644 (file)
@@ -939,6 +939,9 @@ CFLAGS="$CFLAGS -include `pwd`/config.h"
 
 if test x$tkm = xtrue; then
        AC_PATH_PROG([GPRBUILD], [gprbuild], [], [$PATH:/bin:/usr/bin:/usr/local/bin])
+       if test x$GPRBUILD = x; then
+               AC_MSG_ERROR([gprbuild not found])
+       fi
 fi
 
 if test x$coverage = xtrue; then