Revision 298fe380 configure.ac

b/configure.ac
50 50
  [os_search_path="'/srv/ganeti/os'"])
51 51
AC_SUBST(OS_SEARCH_PATH, $os_search_path)
52 52

  
53
# --with-iallocator-search-path=...
54
# do a bit of black sed magic to for quoting of the strings in the list
55
AC_ARG_WITH([iallocator-search-path],
56
  [AS_HELP_STRING([--with-iallocator-search-path=LIST],
57
    [comma separated list of directories to]
58
    [ search for instance allocators (default is $libdir/ganeti/iallocators)]
59
  )],
60
  [iallocator_search_path=`echo -n "$withval" | sed -e "s/\([[^,]]*\)/'\1'/g"`],
61
  [iallocator_search_path="'$libdir/$PACKAGE_NAME/iallocators'"])
62
AC_SUBST(IALLOCATOR_SEARCH_PATH, $iallocator_search_path)
63

  
53 64
# --with-xen-kernel=...
54 65
AC_ARG_WITH([xen-kernel],
55 66
  [AS_HELP_STRING([--with-xen-kernel=PATH],

Also available in: Unified diff