Rename source subdir from wayland to src
[profile/ivi/wayland.git] / configure.ac
index 34b8dbc..bac5a0f 100644 (file)
@@ -27,6 +27,14 @@ if test "x$GCC" = "xyes"; then
 fi
 AC_SUBST(GCC_CFLAGS)
 
+AC_ARG_ENABLE([scanner],
+              [AC_HELP_STRING([--disable-scanner],
+                              [Disable compilation of wayland-scannner])],
+              [],
+              [enable_scanner=yes])
+
+AM_CONDITIONAL(ENABLE_SCANNER, test "x$enable_scanner" = xyes)
+
 EXPAT_LIB=""
 AC_ARG_WITH(expat, [  --with-expat=<dir>      Use expat from here],
                   [ expat=$withval
@@ -40,7 +48,7 @@ AC_SUBST(EXPAT_LIBS)
 
 AC_CONFIG_FILES([Makefile
                 wayland-scanner.m4
-                wayland/Makefile
-                wayland/wayland-server.pc
-                wayland/wayland-client.pc])
+                src/Makefile
+                src/wayland-server.pc
+                src/wayland-client.pc])
 AC_OUTPUT