-AC_ARG_WITH(med,
- [ --with-med=DIR root directory path of MED installation ],
- MED_DIR="$withval",MED_DIR="")
-
-if test "x${MED_DIR}" == "x" ; then
- AC_MSG_RESULT(for \${MED_ROOT_DIR}: ${MED_ROOT_DIR})
-# no --with-med-dir option used
- if test "x${MED_ROOT_DIR}" != "x" ; then
-
- # MED_ROOT_DIR environment variable defined
- MED_DIR=${MED_ROOT_DIR}
+AC_ARG_WITH(fields,
+ [ --with-fields=DIR root directory path of Fields installation ],
+ FIELDS_DIR="$withval",FIELDS_DIR="")