+# --with-file-storage-dir=...
+AC_ARG_WITH([file-storage-dir],
+ [AS_HELP_STRING([--with-file-storage-dir=PATH],
+ [directory to store files for file-based backend]
+ [ (default is /srv/ganeti/file-storage)]
+ )],
+ [file_storage_dir="$withval"],
+ [file_storage_dir="/srv/ganeti/file-storage"])
+AC_SUBST(FILE_STORAGE_DIR, $file_storage_dir)
+
+# --with-kvm-path=...
+AC_ARG_WITH([kvm-path],
+ [AS_HELP_STRING([--with-kvm-path=PATH],
+ [absolute path to the kvm binary]
+ [ (default is /usr/bin/kvm)]
+ )],
+ [kvm_path="$withval"],
+ [kvm_path="/usr/bin/kvm"])
+AC_SUBST(KVM_PATH, $kvm_path)
+
+# --with-kvm-migration-port=...
+AC_ARG_WITH([kvm-migration-port],
+ [AS_HELP_STRING([--with-kvm-migration-port=PORT],
+ [tcp port used for kvm instance live migration]
+ [ (default is 8102)]
+ )],
+ [kvm_migration_port="$withval"],
+ [kvm_migration_port="8102"])
+AC_SUBST(KVM_MIGRATION_PORT, $kvm_migration_port)
+
+# --with-socat-path=...
+AC_ARG_WITH([socat-path],
+ [AS_HELP_STRING([--with-socat-path=PATH],
+ [absolute path to the socat binary]
+ [ (default is /usr/bin/socat)]
+ )],
+ [socat_path="$withval"],
+ [socat_path="/usr/bin/socat"])
+AC_SUBST(SOCAT_PATH, $socat_path)
+