Make --with-neon more strict.
authorRalf Corsépius <corsepiu@fedoraproject.org>
Tue, 4 Sep 2007 10:01:54 +0000 (12:01 +0200)
committerRalf Corsépius <corsepiu@fedoraproject.org>
Tue, 4 Sep 2007 10:01:54 +0000 (12:01 +0200)
configure.ac

index dd9bcce..87057c4 100644 (file)
@@ -452,7 +452,11 @@ AS_IF([test "$with_neon" = yes],[
       WITH_NEON_INCLUDE=
       WITH_NEON_LIB="-lneon"
       AC_DEFINE(WITH_NEON,1,[Build with neon support?])
+    ],[
+      AC_MSG_ERROR([--with-neon given, but required library libneon not found])
     ])
+  ],[
+    AC_MSG_ERROR([--with-neon given, but required header neon/ne_session.h not found])
   ])
 ])
 AC_SUBST(WITH_NEON_INCLUDE)