blob: 16a50a26a3a7ed6d0e7c7ec6a3dd8c957796e56b [file] [log] [blame]
# Special processing of paths depending on whether --prefix,
# --sysconfdir or --localstatedir arguments were given.
AC_DEFUN([ACX_PREFIXHACK],[
case "$prefix" in
NONE)
case "$sysconfdir" in
'${prefix}/etc')
sysconfdir=/etc
ac_configure_args="$ac_configure_args --sysconfdir=$sysconfdir"
AC_MSG_NOTICE([sysconfdir set to $sysconfdir])
;;
esac
case "$localstatedir" in
'${prefix}/var')
localstatedir=/var
ac_configure_args="$ac_configure_args --localstatedir=$localstatedir"
AC_MSG_NOTICE([localstate set to $localstatedir])
;;
esac
;;
esac
])