configure.ac: only create interface/Makefile if user has clang
authorSven Verdoolaege <skimo@kotnet.org>
Fri, 25 Nov 2011 10:00:17 +0000 (11:00 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Fri, 25 Nov 2011 10:00:17 +0000 (11:00 +0100)
This allows users without clang to perform a "make dist".

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
configure.ac

index f5aaaa1..f8683dd 100644 (file)
@@ -165,7 +165,9 @@ AC_CONFIG_HEADERS(isl_config.h)
 AC_CONFIG_HEADERS(include/isl/config.h)
 AC_CONFIG_FILES(Makefile)
 AC_CONFIG_FILES(doc/Makefile)
-AC_CONFIG_FILES(interface/Makefile)
+if test $with_clang = system; then
+       AC_CONFIG_FILES(interface/Makefile)
+fi
 AC_CONFIG_FILES([bound_test.sh], [chmod +x bound_test.sh])
 AC_CONFIG_FILES([pip_test.sh], [chmod +x pip_test.sh])
 AC_CONFIG_COMMANDS_POST([