Revision 7c3d51d4 configure.ac

b/configure.ac
23 23
  [export_dir="/srv/ganeti/export"])
24 24
AC_SUBST(EXPORT_DIR, $export_dir)
25 25

  
26
# --with-os-search-path=...
27
# do a bit of black sed magic to for quoting of the strings in the list
28
AC_ARG_WITH([os-search-path],
29
  [AS_HELP_STRING([--with-os-search-path=LIST],
30
    [comma separated list of directories to search for OS images (default is /srv/ganeti/os)]
31
  )],
32
  [os_search_path=`echo -n "$withval" | sed -e "s/\([[^,]]*\)/'\1'/g"`],
33
  [os_search_path="'/srv/ganeti/os'"])
34
AC_SUBST(OS_SEARCH_PATH, $os_search_path)
35

  
26 36
# Check common programs
27 37
AC_PROG_INSTALL
28 38

  

Also available in: Unified diff