Make it possible to build in a separate directory
[libguestfs.git] / src / generator.ml
index 5c9e1c3..e86fce1 100755 (executable)
@@ -8607,7 +8607,7 @@ let output_to filename =
 let () =
   check_functions ();
 
-  if not (Sys.file_exists "configure.ac") then (
+  if not (Sys.file_exists "config.status") then (
     eprintf "\
 You are probably running this from the wrong directory.
 Run it from the top source directory using the command