Revision f1b816b7 configure.ac

b/configure.ac
91 91
AC_SUBST(XEN_CONFIG_DIR, $xen_config_dir)
92 92

  
93 93
# --with-os-search-path=...
94
# do a bit of black sed magic to for quoting of the strings in the list
95 94
AC_ARG_WITH([os-search-path],
96 95
  [AS_HELP_STRING([--with-os-search-path=LIST],
97 96
    [comma separated list of directories to]
98 97
    [ search for OS images (default is /srv/ganeti/os)]
99 98
  )],
100
  [os_search_path=`echo -n "$withval" | sed -e "s/\([[^,]]*\)/\1/g"`],
99
  [os_search_path="$withval"],
101 100
  [os_search_path="/srv/ganeti/os"])
102 101
AC_SUBST(OS_SEARCH_PATH, $os_search_path)
103 102

  
104 103
# --with-extstorage-search-path=...
105
# same black sed magic for quoting of the strings in the list
106 104
AC_ARG_WITH([extstorage-search-path],
107 105
  [AS_HELP_STRING([--with-extstorage-search-path=LIST],
108 106
    [comma separated list of directories to]
109 107
    [ search for External Storage Providers]
110 108
    [ (default is /srv/ganeti/extstorage)]
111 109
  )],
112
  [es_search_path=`echo -n "$withval" | sed -e "s/\([[^,]]*\)/\1/g"`],
110
  [es_search_path="$withval"],
113 111
  [es_search_path="/srv/ganeti/extstorage"])
114 112
AC_SUBST(ES_SEARCH_PATH, $es_search_path)
115 113

  
116 114
# --with-iallocator-search-path=...
117
# do a bit of black sed magic to for quoting of the strings in the list
118 115
AC_ARG_WITH([iallocator-search-path],
119 116
  [AS_HELP_STRING([--with-iallocator-search-path=LIST],
120 117
    [comma separated list of directories to]
121 118
    [ search for instance allocators (default is $libdir/ganeti/iallocators)]
122 119
  )],
123
  [iallocator_search_path=`echo -n "$withval" | sed -e "s/\([[^,]]*\)/\1/g"`],
120
  [iallocator_search_path="$withval"],
124 121
  [iallocator_search_path="$libdir/$PACKAGE_NAME/iallocators"])
125 122
AC_SUBST(IALLOCATOR_SEARCH_PATH, $iallocator_search_path)
126 123

  

Also available in: Unified diff